Quarkus MP-JWT: how to generate the key pair? - keytool

I'm trying to work around the RBAC authorization example presented here: https://quarkus.io/guides/security-jwt#generate-jwt-tokens. The code of the GenerateToken class is almost identical to one in the example, I just removed the claims:
public class GenerateToken
{
public static void main(String[] args)
{
String token = Jwt.issuer("CN=me, OU=quarkus, O=quarkus, C=FR").upn("me").groups(new HashSet<>(Arrays.asList("User", "Admin"))).sign();
log.info (">>> GenerateToken.main(): Token is {}", token);
}
}
Now I need to generate the private and public key .pem files. I wrote the following script:
keytool -genkey -keyalg RSA -keystore ./jks/selfsigned.jks -keysize 2048 -dname "CN=me,OU=quarkus,O=quarkus,C=FR"
keytool -exportcert -keystore ./jks/selfsigned.jks -rfc -file src/main/resources/META-INF/resources/public-key.pem
keytool -importkeystore -srckeystore ./jks/selfsigned.jks -destkeystore ./jks/selfsigned.p12 -srcstoretype jks -deststoretype pkcs12
openssl pkcs12 -in ./jks/selfsigned.p12 -nodes -nocerts -out src/test/resources/private-key.pem
The private-key.pem and public-key.pem files are generated correctly as far as I can tell. But running the GenerateToken class raises the exception below:
mvn exec:java -Dexec.classpathScope=test -Dsmallrye.jwt.sign.key-location=private-key.pem
[INFO] Scanning for projects...
...
[INFO] --- exec-maven-plugin:1.6.0:java (default-cli) # eclipse-microprofile ---
[WARNING]
java.lang.NullPointerException
at io.smallrye.jwt.build.impl.JwtSignatureImpl.keyAlgorithm (JwtSignatureImpl.java:186)
at io.smallrye.jwt.build.impl.JwtSignatureImpl.signInternal (JwtSignatureImpl.java:150)
at io.smallrye.jwt.build.impl.JwtSignatureImpl.sign (JwtSignatureImpl.java:72)
at ... GenerateToken.main (GenerateToken.java:14)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:282)
at java.lang.Thread.run (Thread.java:834)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.572 s
[INFO] Finished at: 2020-09-19T18:10:50+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project eclipse-microprofile: An exception occured while executing the Java class. null: NullPointerException -> [Help 1]
Running the original example, with the provided publicKey.pem and privateKey.pem, works as expected of course. What am I doing wrong here ?
Many thanks in advance.
Seymour GLASS

I'm answering my own question. The keytool doesn't seem to work for some reason with MP-JWT but openssl does. Hence, instead of the script above, the following command will work as expected:
openssl req -x509 -newkey rsa:2048 -nodes -keyout src/test/resources/private-key.pem -out src/main/resources/META-INF/resources/public-key.pem -days 365 -subj "/C=FR/O=quarkus/CN=me"
This will create a new self-signed certificate and extract its public key in the file src/main/resources/META-INF/resources/public-key.pem and the private one in src/test/resources/private-key.pem. Now, running mvn exec:java will work:
mvn exec:java -Dexec.mainClass=org.acme.security.jwt.GenerateToken -Dexec.classpathScope=test -Dsmallrye.jwt.sign.key-location=private-key.pem
[INFO] Scanning for projects...
[INFO]
[INFO] ----< fr.simplex-software.aws.lambda.quarkus:eclipse-microprofile >-----
[INFO] Building eclipse-microprofile 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- exec-maven-plugin:1.6.0:java (default-cli) # eclipse-microprofile ---
sept. 21, 2020 5:10:24 PM fr.simplex_software.aws.lambda.quarkus.GenerateToken main
INFO: >>> GenerateToken.main(): Token is eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJDTj1uZHVtaW5pbCwgTz1TaW1wbGV4U29mdHdhcmUsIEM9RlIiLCJ1cG4iOiJuZHVtaW5pbCIsImdyb3VwcyI6WyJVc2VyIiwiQWRtaW4iXSwiaWF0IjoxNjAwNzAxMDIzLCJleHAiOjE2MDA3MDEzMjMsImp0aSI6Ik91U0kzM19PSVVYbkJCLWpkTjZyUmcifQ.L1RbrJ89nbaE2_xfiDaaVZ5Y00n8U3W5SFUhuwb6sgFaSXExFhziPYjhsqTZO5Rv0DRiz48GkmveP70c5EShS4gNuq8fw1ifvzUF4001oY4Pkgs-ZDZyTmjgWr9GElVr0nOGBhFE9qLMbCF9YcJt-dUgq0JzK93gj3BKi9wWpzFSPRdIZn9f6Xs-FPL7TyNwoHYEm4UYHY5AdxE4lsw0BbGCIgUUKZEO8iFsuOiEUvgosYiIwGdPC-16kOC-xINq2ObzPdHOZixEZGh9xb3tYFALxfxKX8UznckiMbXwc36qQ6WorJA1mPPuyMCKjE310rZzSx9fDiaO0-wGDAkq0A
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.768 s
[INFO] Finished at: 2020-09-21T17:10:24+02:00
[INFO] ------------------------------------------------------------------------

Related

elastic beanstalk error when use sh ./platform/hooks/prebuild : no such file or directory

I'm trying to deploy simple front-end web by elastic beanstalk.
When I deploy my app by eb deploy or eb create --elb-type application --instance-type t3.micro, There are an error when executing an sh that I add to prevent Out Of Memory.
2022/12/10 08:20:43.618277 [INFO] Executing instruction: StageApplication
2022/12/10 08:20:43.620012 [INFO] extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/
2022/12/10 08:20:43.620027 [INFO] Running command /bin/sh -c /usr/bin/unzip -q -o /opt/elasticbeanstalk/deployment/app_source_bundle -d /var/app/staging/
2022/12/10 08:20:43.646596 [INFO] finished extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/ successfully
2022/12/10 08:20:43.647365 [INFO] Executing instruction: RunAppDeployPreBuildHooks
2022/12/10 08:20:43.647379 [INFO] Executing platform hooks in .platform/hooks/prebuild/
2022/12/10 08:20:43.647409 [INFO] Following scripts will be executed in order: [00_test.sh 01_configure_swap_space.sh]
2022/12/10 08:20:43.647413 [INFO] Try add execution permission
2022/12/10 08:20:43.647418 [INFO] Adding execute mode to file, original mode is 420
2022/12/10 08:20:43.647428 [INFO] Running script: .platform/hooks/prebuild/00_test.sh
2022/12/10 08:20:43.647663 [ERROR] An error occurred during execution of command [app-deploy] - [RunAppDeployPreBuildHooks]. Stop running the command. Error: Command .platform/hooks/prebuild/00_test.sh failed with error fork/exec .platform/hooks/prebuild/00_test.sh: no such file or directory
2022/12/10 08:20:43.647668 [INFO] Executing cleanup logic
2022/12/10 08:20:43.647752 [INFO] CommandService Response: {"status":"FAILURE","api_version":"1.0","results":[{"status":"FAILURE","msg":"Engine execution has encountered an error.","returncode":1,"events":[{"msg":"Instance deployment failed. For details, see 'eb-engine.log'.","timestamp":1670660443647,"severity":"ERROR"}]}]}
2022/12/10 08:20:43.648454 [INFO] Platform Engine finished execution on command: app-deploy
I created an 00_test.sh echoing simple statement in exactly same location and chomd 777 to them. But it still doesn't work.
Some post(/.platform/hooks/': No such file or directory when deploying Django App to AWS Elastic Beanstalk) said it depends on OS, so I also tried to this all process with in vscode.
If someone who experienced same situation, want to know why this happened and solution.

Salesforce test suit failing in azure devops release pipeline

My azure release pipeline is working fine when I run individual salesforce test suit image 1 attached. But when I combine multiple salesforce test suit into under "variables" section in azure release pipeline, it getting failed image 2 attached
Logs image attached for the reference [Note - XXX is mentioned to hide the sensitive items) image 3 attached. Version are mentioned clearly in pom.xml so no issue there. Any help on this highly appreciable.
Log added here as requested by Dan in comments section.
2021-09-22T12:46:11.7887285Z Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
2021-09-22T12:46:11.7887560Z
2021-09-22T12:46:11.8032623Z [INFO] ------------------------------------------------------------------------
2021-09-22T12:46:11.8033084Z [INFO] Reactor Summary:
2021-09-22T12:46:11.8033498Z [INFO]
2021-09-22T12:46:11.8033912Z [INFO] xxxx.salesforce.regression 1.0 ..................... SUCCESS [ 1.050 s]
2021-09-22T12:46:11.8041862Z [INFO] xxxx.regression.core 0.0.1-SNAPSHOT ................ SUCCESS [ 1.425 s]
2021-09-22T12:46:11.8047350Z [INFO] xxxx.salesforce.regression.api 0.0.1-SNAPSHOT ...... SUCCESS [ 6.110 s]
2021-09-22T12:46:11.8049728Z [INFO] xxxx.salesforce.regression.framework 0.0.1-SNAPSHOT SUCCESS [ 17.345 s]
2021-09-22T12:46:11.8055798Z [INFO] xxxx.salesforce.regression.script 0.0.1-SNAPSHOT ... FAILURE [01:17 min]
2021-09-22T12:46:11.8060546Z [INFO] ------------------------------------------------------------------------
2021-09-22T12:46:11.8061249Z [INFO] BUILD FAILURE
2021-09-22T12:46:11.8068152Z [INFO] ------------------------------------------------------------------------
2021-09-22T12:46:11.8072043Z [INFO] Total time: 01:43 min
2021-09-22T12:46:11.8077042Z [INFO] Finished at: 2021-09-22T08:46:11-04:00
2021-09-22T12:46:11.8079514Z [INFO] ------------------------------------------------------------------------
2021-09-22T12:46:11.8121567Z [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project xxxx.salesforce.regression.script:
Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: There was an error in the forked process
2021-09-22T12:46:11.8123247Z [ERROR] java.lang.RuntimeException: Unable to load category: RegressionBrokerCommunityCensusScripts
2021-09-22T12:46:11.8132417Z [ERROR] at org.apache.maven.surefire.group.match.SingleGroupMatcher.loadGroupClasses(SingleGroupMatcher.java:139)
2021-09-22T12:46:11.8135200Z [ERROR] at org.apache.maven.surefire.group.match.JoinGroupMatcher.loadGroupClasses(JoinGroupMatcher.java:49)
2021-09-22T12:46:11.8139427Z [ERROR] at org.apache.maven.surefire.common.junit48.FilterFactory.createGroupFilter(FilterFactory.java:100)
2021-09-22T12:46:11.8144812Z [ERROR] at org.apache.maven.surefire.junitcore.JUnitCoreProvider.createJUnit48Filter(JUnitCoreProvider.java:279)
2021-09-22T12:46:11.8169178Z [ERROR] at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:130)
2021-09-22T12:46:11.8170407Z [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
2021-09-22T12:46:11.8171319Z [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
2021-09-22T12:46:11.8171999Z [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
2021-09-22T12:46:11.8176714Z [ERROR] Caused by: java.lang.ClassNotFoundException: RegressionBrokerCommunityCensusScripts
2021-09-22T12:46:11.8177403Z [ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
2021-09-22T12:46:11.8191357Z [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
2021-09-22T12:46:11.8191846Z [ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
2021-09-22T12:46:11.8210436Z [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
2021-09-22T12:46:11.8212191Z [ERROR] at org.apache.maven.surefire.group.match.SingleGroupMatcher.loadGroupClasses(SingleGroupMatcher.java:135)
2021-09-22T12:46:11.8212992Z [ERROR] ... 7 more
2021-09-22T12:46:11.8213257Z [ERROR]
2021-09-22T12:46:11.8213629Z [ERROR] -> [Help 1]
2021-09-22T12:46:11.8214006Z [ERROR]
2021-09-22T12:46:11.8214686Z [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
2021-09-22T12:46:11.8215594Z [ERROR] Re-run Maven using the -X switch to enable full debug logging.
2021-09-22T12:46:11.8216175Z [ERROR]
2021-09-22T12:46:11.8218205Z [ERROR] For more information about the errors and possible solutions, please read the following articles:
2021-09-22T12:46:11.8219550Z [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
2021-09-22T12:46:11.8220244Z [ERROR]
2021-09-22T12:46:11.8221416Z [ERROR] After correcting the problems, you can resume the build with the command
2021-09-22T12:46:11.8224889Z [ERROR] mvn <args> -rf :xxxx.salesforce.regression.script
2021-09-22T12:46:12.1235561Z The process 'D:\Tools\apache-maven-3.6.3\bin\mvn.cmd' failed with exit code 1
2021-09-22T12:46:12.1239927Z Could not retrieve code analysis results - Maven run failed.
2021-09-22T12:46:13.8305598Z No test result files matching D:\agents\A5\_wk\r4\a\**\surefire-reports\TEST-*.xml were found, so publishing JUnit test results is being skipped.
2021-09-22T12:46:13.8351432Z ##[error]Build failed.

How to publish scala module in sonatype and maven?

I have been trying publish module to sonatype but I am getting this exception--
[error] java.io.FileNotFoundException: /home/johnny/.sbt/gpg/secring.asc (No such file or directory)
[error] at java.io.FileInputStream.open0(Native Method)
[error] at java.io.FileInputStream.open(FileInputStream.java:195)
[error] at java.io.FileInputStream.<init>(FileInputStream.java:138)
[error] at com.jsuereth.pgp.StreamingLoadable.loadFromFile(StreamingLoadable.scala:11)
[error] at com.jsuereth.pgp.StreamingLoadable.loadFromFile$(StreamingLoadable.scala:11)
[error] at com.jsuereth.pgp.SecretKeyRing$.loadFromFile(SecretKeyRing.scala:45)
[error] at com.jsuereth.pgp.PGP$.loadSecretKeyRing(package.scala:31)
[error] at com.jsuereth.pgp.cli.PgpStaticContext.secretKeyRing(context.scala:27)
[error] at com.jsuereth.pgp.cli.PgpStaticContext.secretKeyRing$(context.scala:27)
[error] at com.typesafe.sbt.pgp.SbtPgpStaticContext.secretKeyRing(SbtPgpCommandContext.scala:9)
[error] at com.jsuereth.pgp.cli.DelegatingPgpStaticContext.secretKeyRing(context.scala:34)
[error] at com.jsuereth.pgp.cli.DelegatingPgpStaticContext.secretKeyRing$(context.scala:34)
[error] at com.typesafe.sbt.pgp.SbtPgpCommandContext.secretKeyRing(SbtPgpCommandContext.scala:14)
[error] at com.typesafe.sbt.pgp.BouncyCastlePgpSigner.$anonfun$keyId$1(PgpSigner.scala:37)
[error] at scala.runtime.java8.JFunction0$mcJ$sp.apply(JFunction0$mcJ$sp.java:12)
[error] at scala.Option.getOrElse(Option.scala:121)
[error] at com.typesafe.sbt.pgp.BouncyCastlePgpSigner.<init>(PgpSigner.scala:37)
[error] at com.typesafe.sbt.pgp.PgpSettings$.$anonfun$bcPgpSigner$1(PgpSettings.scala:111)
[error] at scala.Function1.$anonfun$compose$1(Function1.scala:44)
[error] at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:40)
[error] at sbt.std.Transform$$anon$4.work(System.scala:67)
[error] at sbt.Execute.$anonfun$submit$2(Execute.scala:269)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
[error] at sbt.Execute.work(Execute.scala:278)
[error] at sbt.Execute.$anonfun$submit$1(Execute.scala:269)
[error] at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178)
[error] at sbt.CompletionService$$anon$2.call(CompletionService.scala:37)
[error] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[error] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[error] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[error] at java.lang.Thread.run(Thread.java:748)
[error] (Global / pgpSigner) java.io.FileNotFoundException: /home/johnny/.sbt/gpg/secring.asc (No such file or directory)
[error] Total time: 1 s, completed Jul 17, 2019 2:46:54 PM
I have tried many ways and and plugin setup instructions but getting different short of exceptions.
You can do this by this way:
check $ gpg --version
If do not have, install gnupg.
Then run $ gpg --gen-key to generate key.
set realm , set mail address, set the passphrase
Key generation completed
check by $ gpg --list-keys
you will get this type result-
pub rsa4096 2018-08-22 [SC]
1234517530FB96F147C6A146A326F592D39AAAAA
uid [ultimate] your name <you#example.com>
sub rsa4096 2018-08-22 [E]
Now use this command to get public key block
$ gpg -a --export 1234517530FB96F147C6A146A326F592D39AAAAA
Copy the whole text-
-----BEGIN PGP PUBLIC KEY BLOCK-----
to
-----END PGP PUBLIC KEY BLOCK-----
Submit it pgp key servers, Wait some hours.
4.1 export secring.asc file to any location of your computer.
write this command
$ gpg -a --export-secret-keys > /home/johnny/secring.asc
4.2 Copy this file and place it to this location
~/.sbt/gpg/secring.asc
Now you will have to set up sbt-pgp plugin
To this ~/.sbt/1.0/plugins/gpg.sbt file to enable it globally for SBT projects add this line- (if the gpg.sbt file does not exist create this there)
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.1")
Go to /home/$username/.gnugp folder, if you see pubring.kpx file but not secring.gpg file, you do not need to add useGpg := true line in your module's build.sbt file. If secring.gpg file exists add useGpg := true in your module's build.sbt file.
6.1 run this command on your terminal to find out the gpg executable file in your machine
$ dpkg --listfiles gpg
/.
/usr
/usr/bin
/usr/bin/gpg
/usr/share
/usr/share/doc
/usr/share/doc/gpg
/usr/share/doc/gpg/copyright
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/gpg.1.gz
/usr/share/doc/gpg/NEWS.Debian.gz
/usr/share/doc/gpg/changelog.Debian.gz
6.2 add this to ~/.sbt/gpg.sbt file
gpgCommand := "/user/bin/gpg"
6.3 If in your /home/$username/.gnugp folder you have secring.gpg file you will have to add this to ~/.sbt/gpg.sbt file by
pgpSecretRing := file("/path/to/my/secring.gpg")
For more information visit this link
Now create this file ~/.sbt/1.0/sonatype.sbt
just add this line to the file
credentials += Credentials(Path.userHome / ".sbt" / "sonatype_credential")
7.1 Create JIRA account by this link
7.2 By create button create an issue for opening your repository in sonatype
7.3 Create github repository or use your module related repository in issue creation form.
you will get idea about your form from this pic
7.4 Create a another repository with your issue's OSSRH-XXXXX string like this-
githubusername/OSSRH-xxxx . To verify your repository
You will have to wait some minutes to be approved. If your repo is approved you will get a mail.
Now create this file ~/.sbt/sonatype_credential, just add this line and in pass and username - set your JIRA password and username respectively.
realm=Sonatype Nexus Repository Manager
host=oss.sonatype.org
user=username
password=password
in your module's build.sbt file set this configuration---
ThisBuild / organization := "com.example.project2"
ThisBuild / organizationName := "example"
ThisBuild / organizationHomepage := Some(url("http://example.com/"))
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/your-account/your-project"),
"scm:git#github.com:your-account/your-project.git"
)
)
ThisBuild / developers := List(
Developer(
id = "Your identifier",
name = "Your Name",
email = "your#email",
url = url("http://your.url")
)
)
ThisBuild / description := "Some descripiton about your project."
ThisBuild / licenses := List("Apache 2" -> new URL("http://www.apache.org /licenses/LICENSE-2.0.txt"))
ThisBuild / homepage := Some(url("https://github.com/example/project"))
// Remove all additional repository other than Maven Central from POM
ThisBuild / pomIncludeRepository := { _ => false }
ThisBuild / publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots")
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
ThisBuild / publishMavenStyle := true
Now run publishSigned
on your sbt project.
Now you can check your upload by this link
https://oss.sonatype.org/content/repositories/snapshots/com/github/$yourgitUserName/$repoName
or login https://oss.sonatype.org/ and search by your module name

Serenity BDD Timeout Error

I am running Serenity Jbehave Scripts with example table with 19 rows of values but the script is executing only 7 rows which are present in the example table and giving exception as below when executing the 8th row
The Stack trace from console is :
Example: {workspaceName=admin, menuName=Admin, menuOption=Parameter Maintenance, portletTitle=Parameter Maintenance}
Given login to CMS as colinw and colinw
Then I Navigate to admin Workspace
When I Select Parameter Maintenance Option from Admin Menu
Then I Verify Portlet Parameter Maintenance is Displayed
Then I Close the Portlet Parameter Maintenance
Then logout from CMS
Example: {workspaceName=admin, menuName=Admin, menuOption=Product Maintenance, portletTitle=Product Type}
Story stories/smoke/ShakeDownScript.story duration of 301 seconds has exceeded timeout of 300 seconds
(AfterStories)
[pool-2-thread-1] INFO net.thucydides.core.webdriver.SystemPropertiesConfiguration - project.build.directory : null
[pool-2-thread-1] INFO net.thucydides.core.webdriver.SystemPropertiesConfiguration - project.reporting.OutputDirectory : null
[pool-2-thread-1] INFO net.thucydides.core.webdriver.SystemPropertiesConfiguration - OutputDirectory : C:\WCG Automation\CMS\CMS_Automation\target\site\serenity
Given login to CMS as colinw and colinw
Then I Navigate to admin Workspace
Generating reports view to 'C:\WCG Automation\CMS\CMS_Automation\target\jbehave' using formats '[stats, console, html, xml, serenityreporter, junitscenarioreporter]' and view properties '{decorateNonHtml=true}'
Reports view generated with 0 stories (of which 0 pending) containing 0 scenarios (of which 0 pending)
Tests run: 47, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 313.246 sec <<< FAILURE! - in wcg.cms.CMSTestSuite
wcg.cms.CMSTestSuite Time elapsed: 3.651 sec <<< ERROR!
java.lang.RuntimeException:org.jbehave.core.embedder.Embedder$RunningStoriesFailed: Failures in running stories:
stories/smoke/ShakeDownScript.story: java.util.concurrent.CancellationException
at org.jbehave.core.embedder.Embedder$ThrowingRunningStoriesFailed.handleFailures(Embedder.java:553)
at org.jbehave.core.embedder.Embedder.handleFailures(Embedder.java:238)
at org.jbehave.core.embedder.Embedder.runStoriesAsPaths(Embedder.java:216)
at net.serenitybdd.jbehave.embedders.ExtendedEmbedder.runStoriesAsPaths(ExtendedEmbedder.java:60)
at net.serenitybdd.jbehave.runners.SerenityReportingRunner.run(SerenityReportingRunner.java:175)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
Results :
Tests in error:
JUnit4Provider.invoke:128->executeTestSet:153->executeWithRerun:173->execute:283 ยป Runtime
Tests run: 47, Failures: 0, Errors: 1, Skipped: 0
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent! The file encoding for reports output files should be provided by the POM property ${project.reporting.outputEncoding}.
[INFO]
[INFO] --- serenity-maven-plugin:1.1.36:aggregate (serenity-reports) # CMS_Automation ---
[INFO] LOADING LOCAL PROPERTIES FROM C:\WCG Automation\CMS\CMS_Automation\serenity.properties
[INFO] LOADING LOCAL PROPERTIES FROM C:\WCG Automation\CMS\CMS_Automation\serenity.properties
[INFO] LOADING LOCAL PROPERTIES FROM C:\WCG Automation\CMS\CMS_Automation\serenity.properties
[INFO] webdriver.base.url=http://nssrvdfsdev01/calms2cms/
[INFO] serenity.project.name=Automation Testing
[INFO] webdriver.timeouts.implicitlywait=60000
[INFO] project.build.directory : C:\WCG Automation\CMS\CMS_Automation
[INFO] project.reporting.OutputDirectory : null
[INFO] OutputDirectory : C:\WCG Automation\CMS\CMS_Automation\target\site\serenity
[INFO] current_project.base.dir: C:\WCG Automation\CMS\CMS_Automation
Generating HTML Story Reports from C:\WCG Automation\CMS\CMS_Automation\target\site\serenity
Generating HTML Story Reports to C:\WCG Automation\CMS\CMS_Automation\target\site\serenity
[INFO] project.build.directory : C:\WCG Automation\CMS\CMS_Automation
[INFO] project.reporting.OutputDirectory : null
[INFO] OutputDirectory : C:\WCG Automation\CMS\CMS_Automation\target\site\serenity
Merging requirements = [Requirement{name='Smoke', type='feature' parent = 'null', cardNumber='null'}]
Merging requirements = []
Merged requirements set = [Requirement{name='Smoke', type='feature' parent = 'null', cardNumber='null'}]
[INFO] REPORTS GENERATED IN C:\WCG Automation\CMS\CMS_Automation\target\site\serenity
[INFO] REPORT HOME PAGE: C:\WCG Automation\CMS\CMS_Automation\target\site\serenity\index.html
[INFO] Generating release reports for: []
GENERATE CUSTOM REPORTS
[INFO]
[INFO] --- maven-failsafe-plugin:2.18.1:verify (default) # CMS_Automation ---
[INFO] Failsafe report directory: C:\WCG Automation\CMS\CMS_Automation\target\failsafe-reports
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent! The file encoding for reports output files should be provided by the POM property ${project.reporting.outputEncoding}.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Sample Serenity project using JBehave and WebDriver
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:25 min
[INFO] Finished at: 2016-08-22T17:26:18+05:30
[INFO] Final Memory: 37M/416M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.18.1:verify (default) on project CMS_Automation: There are test failures.
[ERROR]
[ERROR] Please refer to C:\WCG Automation\CMS\CMS_Automation\target\failsafe-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
it appears that story execution is exceeding the timeout of 300 seconds . is there any way so that we can reset the 300 seconds to 600 seconds in the framework
The solution is quite simple.
I found a related question and answer here.
You can either run the tests with an extra argument like:
mvn clean verify -DstoryTimeoutInSecs=600
Or put a property in the serenity.properties file (which should be in the root of your project if you have it) like this:
story.timeout.in.secs=600

Failed to execute goal jbpm-console-ng-showcase error=206 filename or extension is too long

i am trying to develop jbpm6 using maven..i am using maven 3.0.5 version in windows platform.i used https://github.com/droolsjbpm/jbpm-console-ng link to get the source code.when i try to "mvn clean install" in most of modules in my project they build successfully.
but in one module i have problems face...
when i try to "mvn clean install" it, it gives below error,
[INFO] --- gwt-maven-plugin:2.5.0:compile (gwt-compile) # jbpm-console-ng-showcase ---
[WARNING] Declared compileSourcesArtifact was not found in project dependencies org.drools:drools-wb-workitems-editor-api:jar
[WARNING] Declared compileSourcesArtifact was not found in project dependencies org.drools:drools-wb-workitems-editor-client:jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 29.465s
[INFO] Finished at: Wed Apr 30 12:48:31 IST 2014
[INFO] Final Memory: 66M/474M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.5.0:compile (gwt-compile) on project jbpm-console-ng-showcase: Failed to execute command line :
[ERROR] [-Xmx2048m, -XX:MaxPermSize=256m, -Djetty.custom.sys.classes=bitronix;javax.transaction, -Dorg.kie.demo=true, -Dorg.kie.clean.onstartup=true, -classpath, C:\Users\AKILA\.m2\repository\com\google\gwt\gwt-user\2.5.0\gwt-user-2.5.0.jar;C:\Users\AKILA\.m2\repository\com\google\gwt\gwt-dev\2.5.0\
gwt-dev-2.5.0.jar;C:\Users\AKILA\workspace\jbpm-console-ng-r6.0.1.Final\jbpm-console-ng-showcase\target\classes;C:\Users\AKILA\workspace\jbpm-console-ng-r6.0.1.Final\jbpm-console-ng-showcase\src\main\java;C:\Users\AKILA\workspace\jbpm-console-ng-r6.0.1.Final\jbpm-console-ng-showcase\src\main\resourc
es;C:\Users\AKILA\.m2\repository\org\kie\kie-ci\6.0.1.Final\kie-ci-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\drools\drools-core\6.0.1.Final\drools-core-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\drools\drools-compiler\6.0.1.Final\drools-compiler-6.0.1.Final.jar;C:\Users\AKILA\.m2\repo
sitory\org\antlr\antlr-runtime\3.5\antlr-runtime-3.5.jar;C:\Users\AKILA\.m2\repository\org\eclipse\jdt\core\compiler\ecj\3.7.2\ecj-3.7.2.jar;C:\Users\AKILA\.m2\repository\org\apache\maven\maven-core\3.0.5\maven-core-3.0.5.jar;C:\Users\AKILA\.m2\repository\org\apache\maven\maven-settings\3.0.5\maven-
settings-3.0.5.jar;C:\Users\AKILA\.m2\repository\org\apache\maven\maven-settings-builder\3.0.5\maven-settings-builder-3.0.5.jar;C:\Users\AKILA\.m2\repository\org\apache\maven\maven-repository-metadata\3.0.5\maven-repository-metadata-3.0.5.jar;C:\Users\AKILA\.m2\repository\org\apache\maven\maven-arti
let\jse\org.restlet\2.1.4\org.restlet-2.1.4.jar;C:\Users\AKILA\.m2\repository\org\uberfire\uberfire-commons\0.3.1.Final\uberfire-commons-0.3.1.Final.jar;C:\Users\AKILA
\.m2\repository\org\jboss\errai\errai-jboss-as-support\2.4.3.Final\errai-jboss-as-support-2.4.3.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\errai\errai-bus\2.4.3.Final\errai-bus-2.4.3.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\errai\errai-config\2.4.3.Final\errai-config-2.4.3.Final.jar;
C:\Users\AKILA\.m2\repository\org\jboss\errai\errai-marshalling\2.4.3.Final\errai-marshalling-2.4.3.Final.jar;C:\Users\AKILA\.m2\repository\com\google\inject\guice\3.0\guice-3.0.jar;C:\Users\AKILA\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;C:\Users\AKILA\.m2\repository\org\javass
ist\javassist\3.15.0-GA\javassist-3.15.0-GA.jar;C:\Users\AKILA\.m2\repository\org\jboss\errai\io\netty\netty\4.0.0.Alpha1.errai.r1\netty-4.0.0.Alpha1.errai.r1.jar;C:\Users\AKILA\.m2\repository\com\google\guava\guava\13.0.1\guava-13.0.1.jar;C:\Users\AKILA\.m2\repository\org\jgroups\jgroups\3.2.10.Fin
al\jgroups-3.2.10.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\errai\errai-ioc\2.4.3.Final\errai-ioc-2.4.3.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\errai\errai-codegen\2.4.3.Final\errai-codegen-2.4.3.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\errai\errai-codegen-gwt\2.4.3.Final\
errai-codegen-gwt-2.4.3.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\errai\errai-cdi-client\2.4.3.Final\errai-cdi-client-2.4.3.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\errai\errai-ioc-bus-support\2.4.3.Final\errai-ioc-bus-support-2.4.3.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\
errai\errai-javax-enterprise\2.4.3.Final\errai-javax-enterprise-2.4.3.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\errai\errai-weld-integration\2.4.3.Final\errai-weld-integration-2.4.3.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\errai\errai-cdi-jetty\2.4.3.Final\errai-cdi-jetty-2.4.3.Fina
l.jar;C:\Users\AKILA\.m2\repository\org\jboss\errai\errai-ui\2.4.3.Final\errai-ui-2.4.3.Final.jar;C:\Users\AKILA\.m2\repository\org\jsoup\jsoup\1.7.1\jsoup-1.7.1.jar;C:\Users\AKILA\.m2\repository\org\apache\stanbol\org.apache.stanbol.enhancer.engines.htmlextractor\0.10.0\org.apache.stanbol.enhancer.
engines.htmlextractor-0.10.0.jar;C:\Users\AKILA\.m2\repository\org\apache\clerezza\rdf.core\0.12-incubating\rdf.core-0.12-incubating.jar;C:\Users\AKILA\.m2\repository\org\apache\clerezza\utils\0.1-incubating\utils-0.1-incubating.jar;C:\Users\AKILA\.m2\repository\org\apache\httpcomponents\httpcore\4.
1\httpcore-4.1.jar;C:\Users\AKILA\.m2\repository\org\wymiwyg\wymiwyg-commons-core\0.7.6\wymiwyg-commons-core-0.7.6.jar;C:\Users\AKILA\.m2\repository\commons-logging\commons-logging-api\1.1\commons-logging-api-1.1.jar;C:\Users\AKILA\.m2\repository\org\lesscss\lesscss\1.3.3\lesscss-1.3.3.jar;C:\Users\
AKILA\.m2\repository\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar;C:\Users\AKILA\.m2\repository\org\mozilla\rhino\1.7R4\rhino-1.7R4.jar;C:\Users\AKILA\.m2\repository\org\jboss\errai\errai-data-binding\2.4.3.Final\errai-data-binding-2.4.3.Final.jar;C:\Users\AKILA\.m2\repository\com\goog
le\guava\guava-gwt\14.0.1\guava-gwt-14.0.1.jar;C:\Users\AKILA\.m2\repository\com\h2database\h2\1.3.168\h2-1.3.168.jar;C:\Users\AKILA\.m2\repository\org\hibernate\hibernate-entitymanager\4.2.0.SP1\hibernate-entitymanager-4.2.0.SP1.jar;C:\Users\AKILA\.m2\repository\org\jboss\logging\jboss-logging\3.1.
2.GA\jboss-logging-3.1.2.GA.jar;C:\Users\AKILA\.m2\repository\org\jboss\spec\javax\transaction\jboss-transaction-api_1.1_spec\1.0.1.Final\jboss-transaction-api_1.1_spec-1.0.1.Final.jar;C:\Users\AKILA\.m2\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;C:\Users\AKILA\.m2\repository\org\hibernate\common\
hibernate-commons-annotations\4.0.1.Final\hibernate-commons-annotations-4.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\hibernate\hibernate-core\4.2.0.SP1\hibernate-core-4.2.0.SP1.jar;C:\Users\AKILA\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\AKILA\.m2\repository\org\hibernate\hibern
ate-validator\4.3.1.Final\hibernate-validator-4.3.1.Final.jar;C:\Users\AKILA\.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA.jar;C:\Users\AKILA\.m2\repository\org\mortbay\jetty\jetty\6.1.25\jetty-6.1.25.jar;C:\Users\AKILA\.m2\repository\org\mortbay\jetty\jetty-util\6.
1.25\jetty-util-6.1.25.jar;C:\Users\AKILA\.m2\repository\org\mortbay\jetty\servlet-api\2.5-20081211\servlet-api-2.5-20081211.jar;C:\Users\AKILA\.m2\repository\org\mortbay\jetty\jetty-plus\6.1.25\jetty-plus-6.1.25.jar;C:\Users\AKILA\.m2\repository\org\mortbay\jetty\jetty-naming\6.1.25\jetty-naming-6.
1.25.jar;C:\Users\AKILA\.m2\repository\org\jboss\weld\se\weld-se-core\1.1.13.Final\weld-se-core-1.1.13.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\weld\weld-spi\1.1.Final\weld-spi-1.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\weld\weld-api\1.1.Final\weld-api-1.1.Final.jar;C:\Users\AKIL
A\.m2\repository\org\jboss\weld\weld-core\1.1.13.Final\weld-core-1.1.13.Final.jar;C:\Users\AKILA\.m2\repository\org\slf4j\slf4j-ext\1.7.2\slf4j-ext-1.7.2.jar;C:\Users\AKILA\.m2\repository\ch\qos\cal10n\cal10n-api\0.7.4\cal10n-api-0.7.4.jar;C:\Users\AKILA\.m2\repository\javax\el\el-api\2.2\el-api-2.2
.jar;C:\Users\AKILA\.m2\repository\org\jboss\weld\servlet\weld-servlet-core\1.1.13.Final\weld-servlet-core-1.1.13.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\solder\solder-impl\3.2.1.Final\solder-impl-3.2.1.Final.jar;C:\Users\AKILA\.m2\repository\org\hamcrest\hamcrest-core\1.3.RC2\hamcrest-cor
e-1.3.RC2.jar;C:\Users\AKILA\.m2\repository\org\jboss\solder\solder-logging\3.2.1.Final\solder-logging-3.2.1.Final.jar;C:\Users\AKILA\.m2\repository\com\google\gwt\gwt-user\2.5.0\gwt-user-2.5.0.jar;C:\Users\AKILA\.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA-sources
.jar;C:\Users\AKILA\.m2\repository\org\osgi\org.osgi.core\4.2.0\org.osgi.core-4.2.0.jar;C:\Users\AKILA\.m2\repository\com\sun\xml\bind\jaxb-impl\2.2.5\jaxb-impl-2.2.5.jar;C:\Users\AKILA\.m2\repository\com\sun\xml\bind\jaxb-xjc\2.2.5\jaxb-xjc-2.2.5.jar;C:\Users\AKILA\.m2\repository\javax\transaction\
jta\1.1\jta-1.1.jar;C:\Users\AKILA\.m2\repository\org\codehaus\btm\btm\2.1.4\btm-2.1.4.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-shared-services\6.0.1.Final\jbpm-shared-services-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\drools\drools-persistence-jpa\6.0.1.Final\drools-persistence-jpa-6
.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-bpmn2-emfextmodel\6.0.1.Final\jbpm-bpmn2-emfextmodel-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\eclipse\emf\org.eclipse.emf.common\2.6.0.v20100614-1136\org.eclipse.emf.common-2.6.0.v20100614-1136.jar;C:\Users\AKILA\.m2\repository\org\
eclipse\emf\org.eclipse.emf.ecore\2.6.0.v20100614-1136\org.eclipse.emf.ecore-2.6.0.v20100614-1136.jar;C:\Users\AKILA\.m2\repository\org\eclipse\emf\org.eclipse.emf.ecore.xmi\2.5.0.v20100521-1846\org.eclipse.emf.ecore.xmi-2.5.0.v20100521-1846.jar;C:\Users\AKILA\.m2\repository\org\eclipse\org.eclipse.
bpmn2\0.7.3\org.eclipse.bpmn2-0.7.3.jar;C:\Users\AKILA\.m2\repository\org\kie\remote\kie-services-remote\6.0.1.Final\kie-services-remote-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\remote\kie-services-client\6.0.1.Final\kie-services-client-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\java
x\jms\jms\1.1\jms-1.1.jar;C:\Users\AKILA\.m2\repository\org\jboss\spec\javax\servlet\jboss-servlet-api_3.0_spec\1.0.2.Final\jboss-servlet-api_3.0_spec-1.0.2.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\resteasy\resteasy-jaxrs\2.3.6.Final\resteasy-jaxrs-2.3.6.Final.jar;C:\Users\AKILA\.m2\reposit
ory\org\scannotation\scannotation\1.0.3\scannotation-1.0.3.jar;C:\Users\AKILA\.m2\repository\javassist\javassist\3.12.1.GA\javassist-3.12.1.GA.jar;C:\Users\AKILA\.m2\repository\org\apache\httpcomponents\httpclient\4.2.1\httpclient-4.2.1.jar;C:\Users\AKILA\.m2\repository\net\jcip\jcip-annotations\1.0
\jcip-annotations-1.0.jar;C:\Users\AKILA\.m2\repository\org\jboss\resteasy\resteasy-jaxb-provider\2.3.6.Final\resteasy-jaxb-provider-2.3.6.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\resteasy\resteasy-jackson-provider\2.3.6.Final\resteasy-jackson-provider-2.3.6.Final.jar;C:\Users\AKILA\.m2\rep
ository\org\codehaus\jackson\jackson-jaxrs\1.9.9\jackson-jaxrs-1.9.9.jar;C:\Users\AKILA\.m2\repository\org\codehaus\jackson\jackson-xc\1.9.9\jackson-xc-1.9.9.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-audit\6.0.1.Final\jbpm-audit-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\resteasy\
jaxrs-api\2.3.6.Final\jaxrs-api-2.3.6.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\resteasy\resteasy-jettison-provider\2.3.6.Final\resteasy-jettison-provider-2.3.6.Final.jar;C:\Users\AKILA\.m2\repository\org\codehaus\jettison\jettison\1.3.1\jettison-1.3.1.jar;C:\Users\AKILA\.m2\repository\org\j
boss\spec\javax\ejb\jboss-ejb-api_3.1_spec\1.0.2.Final\jboss-ejb-api_3.1_spec-1.0.2.Final.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-services-api\6.0.1.Final\guvnor-services-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-m2repo-editor-api\6.0.1.Final\guvnor-m2repo-edito
r-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-m2repo-editor-client\6.0.1.Final\guvnor-m2repo-editor-client-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-m2repo-editor-backend\6.0.1.Final\guvnor-m2repo-editor-backend-6.0.1.Final.jar;C:\Users\AKILA\.m2\reposit
ory\org\guvnor\guvnor-project-api\6.0.1.Final\guvnor-project-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\drools\drools-workbench-models-datamodel-api\6.0.1.Final\drools-workbench-models-datamodel-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-project-backend\6.0.1.Fina
l\guvnor-project-backend-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-services-backend\6.0.1.Final\guvnor-services-backend-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-workingset-api\6.0.1.Final\guvnor-workingset-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository
\org\guvnor\guvnor-workingset-client\6.0.1.Final\guvnor-workingset-client-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-project-builder\6.0.1.Final\guvnor-project-builder-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\com\google\protobuf\protobuf-java\2.5.0\protobuf-java-2.5.0.jar;C
:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-project-explorer-backend\6.0.1.Final\kie-wb-common-project-explorer-backend-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-project-explorer-api\6.0.1.Final\kie-wb-common-project-explorer-api-6
.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-project-explorer-client\6.0.1.Final\kie-wb-common-project-explorer-client-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-project-editor-client\6.0.1.Final\kie-wb-common-project
-editor-client-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-project-editor-api\6.0.1.Final\kie-wb-common-project-editor-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\widgets\kie-wb-view-source-widget\6.0.1.Final\kie-wb-view-source-widget
-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-default-editor-api\6.0.1.Final\kie-wb-common-default-editor-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-default-editor-client\6.0.1.Final\kie-wb-common-default-editor-
client-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-project-editor-backend\6.0.1.Final\kie-wb-common-project-editor-backend-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-project-imports-editor-client\6.0.1.Final\kie-wb-
common-project-imports-editor-client-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-project-imports-editor-api\6.0.1.Final\kie-wb-common-project-imports-editor-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\services\kie-wb-common-datamodel-
api\6.0.1.Final\kie-wb-common-datamodel-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\services\kie-wb-common-security\6.0.1.Final\kie-wb-common-security-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\widgets\kie-wb-common-ui\6.0.1.Final\kie-wb-common-ui-6.0.1.F
inal.jar;C:\Users\AKILA\.m2\repository\org\drools\drools-workbench-models-commons\6.0.1.Final\drools-workbench-models-commons-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\services\kie-wb-common-datamodel-backend\6.0.1.Final\kie-wb-common-datamodel-backend-6.0.1.Final.jar;C:\Users\
AKILA\.m2\repository\org\kie\workbench\services\kie-wb-common-services-api\6.0.1.Final\kie-wb-common-services-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\services\kie-wb-common-services-backend\6.0.1.Final\kie-wb-common-services-backend-6.0.1.Final.jar;C:\Users\AKILA\.m2\repo
sitory\org\kie\workbench\widgets\kie-wb-metadata-widget\6.0.1.Final\kie-wb-metadata-widget-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\widgets\kie-wb-config-resource-widget\6.0.1.Final\kie-wb-config-resource-widget-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-conso
le-ng-dashboard-client\6.0.1.Final\jbpm-console-ng-dashboard-client-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-console-ng-dashboard-backend\6.0.1.Final\jbpm-console-ng-dashboard-backend-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-console-ng-dashboard-api\6.0.1.Final\
jbpm-console-ng-dashboard-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-app\6.0.1.Final\jbpm-form-modeler-app-6.0.1.Final.war;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-renderer-api\6.0.1.Final\jbpm-form-modeler-renderer-api-6.0.1.Final.jar;C:\Users\AKILA
\.m2\repository\org\jbpm\jbpm-form-modeler-renderer-client\6.0.1.Final\jbpm-form-modeler-renderer-client-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-renderer-backend\6.0.1.Final\jbpm-form-modeler-renderer-backend-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbp
m-form-modeler-editor-api\6.0.1.Final\jbpm-form-modeler-editor-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-editor-client\6.0.1.Final\jbpm-form-modeler-editor-client-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-editor-backend\6.0.1.Final\jb
pm-form-modeler-editor-backend-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\services\kie-wb-common-data-modeller-core\6.0.1.Final\kie-wb-common-data-modeller-core-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-form-provider\6.0.1.Final\jbpm-form-modeler-f
orm-provider-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-data-modeller-api\6.0.1.Final\kie-wb-common-data-modeller-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-data-modeller-backend\6.0.1.Final\kie-wb-common-data-
modeller-backend-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-data-modeller-client\6.0.1.Final\kie-wb-common-data-modeller-client-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-data-modeler\6.0.1.Final\jbpm-form-modeler-data-modeler-
6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-service-core\6.0.1.Final\jbpm-form-modeler-service-core-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-common\6.0.1.Final\jbpm-form-modeler-common-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\net\sf\o
pencsv\opencsv\2.3\opencsv-2.3.jar;C:\Users\AKILA\.m2\repository\commons-jxpath\commons-jxpath\1.3\commons-jxpath-1.3.jar;C:\Users\AKILA\.m2\repository\org\beanshell\bsh\1.3.0\bsh-1.3.0.jar;C:\Users\AKILA\.m2\repository\org\jboss\spec\javax\servlet\jsp\jboss-jsp-api_2.2_spec\1.0.1.Final\jboss-jsp-ap
i_2.2_spec-1.0.1.Final.jar;C:\Users\AKILA\.m2\repository\javax\servlet\jstl\1.2\jstl-1.2.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-m2repo-editor-api\6.0.1.Final\guvnor-m2repo-editor-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-m2repo-editor-client\6.0.1.Final
\guvnor-m2repo-editor-client-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-workingset-api\6.0.1.Final\guvnor-workingset-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-workingset-client\6.0.1.Final\guvnor-workingset-client-6.0.1.Final-sources.jar
;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-services-api\6.0.1.Final\guvnor-services-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-project-api\6.0.1.Final\guvnor-project-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-comm
on-project-editor-api\6.0.1.Final\kie-wb-common-project-editor-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-project-editor-client\6.0.1.Final\kie-wb-common-project-editor-client-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\kie\workben
ch\screens\kie-wb-common-project-imports-editor-api\6.0.1.Final\kie-wb-common-project-imports-editor-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-project-imports-editor-client\6.0.1.Final\kie-wb-common-project-imports-editor-client-6.0.1.Final-sou
rces.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-project-explorer-api\6.0.1.Final\kie-wb-common-project-explorer-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-project-explorer-client\6.0.1.Final\kie-wb-common-project-e
xplorer-client-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\widgets\kie-wb-common-ui\6.0.1.Final\kie-wb-common-ui-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\widgets\kie-wb-view-source-widget\6.0.1.Final\kie-wb-view-source-widget-6.0.1.Final-sou
rces.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\widgets\kie-wb-metadata-widget\6.0.1.Final\kie-wb-metadata-widget-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\widgets\kie-wb-config-resource-widget\6.0.1.Final\kie-wb-config-resource-widget-6.0.1.Final-sources.jar;C
:\Users\AKILA\.m2\repository\org\kie\workbench\services\kie-wb-common-services-api\6.0.1.Final\kie-wb-common-services-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\services\kie-wb-common-security\6.0.1.Final\kie-wb-common-security-6.0.1.Final-sources.jar;C:\Users\AKILA\
.m2\repository\org\kie\workbench\services\kie-wb-common-datamodel-api\6.0.1.Final\kie-wb-common-datamodel-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-data-modeller-api\6.0.1.Final\kie-wb-common-data-modeller-api-6.0.1.Final-sources.jar;C:\Users\A
KILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-data-modeller-client\6.0.1.Final\kie-wb-common-data-modeller-client-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\uberfire\uberfire-commons\0.3.1.Final\uberfire-commons-0.3.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\u
berfire\uberfire-nio2-model\0.3.1.Final\uberfire-nio2-model-0.3.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\uberfire\uberfire-js\0.3.1.Final\uberfire-js-0.3.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\uberfire\uberfire-security-api\0.3.1.Final\uberfire-security-api-0.3.1.Final-so
urces.jar;C:\Users\AKILA\.m2\repository\org\uberfire\uberfire-security-client\0.3.1.Final\uberfire-security-client-0.3.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\uberfire\uberfire-client-api\0.3.1.Final\uberfire-client-api-0.3.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\uberfire
\uberfire-widgets-core-client\0.3.1.Final\uberfire-widgets-core-client-0.3.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\uberfire\uberfire-widgets-commons\0.3.1.Final\uberfire-widgets-commons-0.3.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\uberfire\uberfire-workbench\0.3.1.Final\ub
erfire-workbench-0.3.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-console-ng-bpm-home-client\6.0.1.Final\jbpm-console-ng-bpm-home-client-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-console-ng-human-tasks-api\6.0.1.Final\jbpm-console-ng-human-tasks-api-6.0.1
.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-console-ng-human-tasks-client\6.0.1.Final\jbpm-console-ng-human-tasks-client-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-console-ng-process-runtime-api\6.0.1.Final\jbpm-console-ng-process-runtime-api-6.0.1.Final-s
ources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-console-ng-process-runtime-client\6.0.1.Final\jbpm-console-ng-process-runtime-client-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-console-ng-business-domain-api\6.0.1.Final\jbpm-console-ng-business-domain-api-6.0.1.Final-s
ources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-console-ng-business-domain-client\6.0.1.Final\jbpm-console-ng-business-domain-client-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-designer-api\6.0.1.Final\jbpm-designer-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\reposi
tory\org\jbpm\jbpm-designer-client\6.0.1.Final\jbpm-designer-client-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-console-ng-dashboard-api\6.0.1.Final\jbpm-console-ng-dashboard-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-console-ng-dashboard-client\6
.0.1.Final\jbpm-console-ng-dashboard-client-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-editor-api\6.0.1.Final\jbpm-form-modeler-editor-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-editor-client\6.0.1.Final\jbpm-form-modele
r-editor-client-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-renderer-api\6.0.1.Final\jbpm-form-modeler-renderer-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-renderer-client\6.0.1.Final\jbpm-form-modeler-renderer-client-6.0.
1.Final-sources.jar, com.google.gwt.dev.Compiler, -logLevel, INFO, -style, OBF, -war, C:\Users\AKILA\workspace\jbpm-console-ng-r6.0.1.Final\jbpm-console-ng-showcase\target\jbpm-console-ng-showcase-6.0.1.Final, -localWorkers, 4, -XfragmentCount, -1, -gen, C:\Users\AKILA\workspace\jbpm-console-ng-r6.0
.1.Final\jbpm-console-ng-showcase\target\.generated, org.jbpm.console.ng.FastCompiledjBPMShowcase]: Error while executing process. Cannot run program "C:\Program Files\Java\jdk1.6.0_45\jre\bin\java": CreateProcess error=206, The filename or extension is too long
please help me to resolve this problem
and i saw some people said this project working properly in linux platform...but i want to use it in windows platform
You can change it to gradle project , It can be built under win7+gradle2.0+jdk 1.7.51 .
This is a maven issue with long paths in windows, you need to ask in their forums for answer. Try googling the specific issues, you will find some answers there.