sarahtattersall / PIPECore

Core libraries for building and editing Petri nets
6 stars 12 forks source link

I can't run the source code through the 'maven build' in the eclipse? #48

Open wumangxing1990 opened 8 years ago

wumangxing1990 commented 8 years ago

The error is as follows: Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.029 sec <<< FAILURE! - in PipeTest verifyExampleNetLoadsAndAnimates(PipeTest) Time elapsed: 0.025 sec <<< ERROR! java.lang.reflect.InvocationTargetException: null at java.awt.EventQueue.invokeAndWait(EventQueue.java:1288) at java.awt.EventQueue.invokeAndWait(EventQueue.java:1263) at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1347) at Pipe.runPipeForTesting(Pipe.java:37) at PipeTest.setUp(PipeTest.java:31) Caused by: java.lang.NullPointerException: null at javax.swing.ImageIcon.(ImageIcon.java:205) at pipe.views.PipeApplicationView.(PipeApplicationView.java:129) at pipe.views.PipeApplicationBuilder.build(PipeApplicationBuilder.java:54) at Pipe.(Pipe.java:17) at Pipe.(Pipe.java:9) at Pipe$1.run(Pipe.java:31) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:302) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745) at java.awt.EventQueue.access$300(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:706) at java.awt.EventQueue$3.run(EventQueue.java:704) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:715) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

verifyMenusAddedToGui(PipeTest) Time elapsed: 0.004 sec <<< ERROR! java.lang.reflect.InvocationTargetException: null at java.awt.EventQueue.invokeAndWait(EventQueue.java:1288) at java.awt.EventQueue.invokeAndWait(EventQueue.java:1263) at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1347) at Pipe.runPipeForTesting(Pipe.java:37) at PipeTest.setUp(PipeTest.java:31) Caused by: java.lang.NullPointerException: null at javax.swing.ImageIcon.(ImageIcon.java:205) at pipe.views.PipeApplicationView.(PipeApplicationView.java:129) at pipe.views.PipeApplicationBuilder.build(PipeApplicationBuilder.java:54) at Pipe.(Pipe.java:17) at Pipe.(Pipe.java:9) at Pipe$1.run(Pipe.java:31) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:302) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745) at java.awt.EventQueue.access$300(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:706) at java.awt.EventQueue$3.run(EventQueue.java:704) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:715) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Results :

Tests in error: PipeTest.setUp:31 ? InvocationTarget PipeTest.setUp:31 ? InvocationTarget

Tests run: 207, Failures: 0, Errors: 2, Skipped: 0

[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] PIPE Parent Project ................................ SUCCESS [ 0.262 s] [INFO] pipe-module-gui .................................... SUCCESS [01:34 min] [INFO] PIPE-gui ........................................... FAILURE [ 4.700 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:39 min [INFO] Finished at: 2016-01-18T13:07:03+08:00 [INFO] Final Memory: 35M/372M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project PIPE-gui: There are test failures. [ERROR] [ERROR] Please refer to F:\github\PIPE\pipe-gui\target\surefire-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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :PIPE-gui

sjdayday commented 8 years ago

I believe the two tests you are running require that the GUI be available to run. Please do this first from the PIPE directory:

mvn -X install

If there are errors, please send the complete output. If it completes with no errors then that means the tests have now run successfully; try to run the GUI:

mvn exec:exec -pl pipe-gui

Please note, Java version 7 is required (neither Java 6 nor Java 8 works).

best, Steve

On Sun, Jan 17, 2016 at 9:16 PM, lizzy notifications@github.com wrote:

The error is as follows: Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0029 sec <<< FAILURE! - in PipeTest verifyExampleNetLoadsAndAnimates(PipeTest) Time elapsed: 0025 sec <<< ERROR! javalangreflectInvocationTargetException: null at javaawtEventQueueinvokeAndWait(EventQueuejava:1288) at javaawtEventQueueinvokeAndWait(EventQueuejava:1263) at javaxswingSwingUtilitiesinvokeAndWait(SwingUtilitiesjava:1347) at PiperunPipeForTesting(Pipejava:37) at PipeTestsetUp(PipeTestjava:31) Caused by: javalangNullPointerException: null at javaxswingImageIcon(ImageIconjava:205) at pipeviewsPipeApplicationView(PipeApplicationViewjava:129) at pipeviewsPipeApplicationBuilderbuild(PipeApplicationBuilderjava:54) at Pipe(Pipejava:17) at Pipe(Pipejava:9) at Pipe$1run(Pipejava:31) at javaawteventInvocationEventdispatch(InvocationEventjava:302) at javaawtEventQueuedispatchEventImpl(EventQueuejava:745) at javaawtEventQueueaccess$300(EventQueuejava:103) at javaawtEventQueue$3run(EventQueuejava:706) at javaawtEventQueue$3run(EventQueuejava:704) at javasecurityAccessControllerdoPrivileged(Native Method) at javasecurityProtectionDomain$1doIntersectionPrivilege(ProtectionDomainjava:76) at javaawtEventQueuedispatchEvent(EventQueuejava:715) at javaawtEventDispatchThreadpumpOneEventForFilters(EventDispatchThreadjava:242) at javaawtEventDispatchThreadpumpEventsForFilter(EventDispatchThreadjava:161) at javaawtEventDispatchThreadpumpEventsForHierarchy(EventDispatchThreadjava:150) at javaawtEventDispatchThreadpumpEvents(EventDispatchThreadjava:146) at javaawtEventDispatchThreadpumpEvents(EventDispatchThreadjava:138) at javaawtEventDispatchThreadrun(EventDispatchThreadjava:91)

verifyMenusAddedToGui(PipeTest) Time elapsed: 0004 sec <<< ERROR! javalangreflectInvocationTargetException: null at javaawtEventQueueinvokeAndWait(EventQueuejava:1288) at javaawtEventQueueinvokeAndWait(EventQueuejava:1263) at javaxswingSwingUtilitiesinvokeAndWait(SwingUtilitiesjava:1347) at PiperunPipeForTesting(Pipejava:37) at PipeTestsetUp(PipeTestjava:31) Caused by: javalangNullPointerException: null at javaxswingImageIcon(ImageIconjava:205) at pipeviewsPipeApplicationView(PipeApplicationViewjava:129) at pipeviewsPipeApplicationBuilderbuild(PipeApplicationBuilderjava:54) at Pipe(Pipejava:17) at Pipe(Pipejava:9) at Pipe$1run(Pipejava:31) at javaawteventInvocationEventdispatch(InvocationEventjava:302) at javaawtEventQueuedispatchEventImpl(EventQueuejava:745) at javaawtEventQueueaccess$300(EventQueuejava:103) at javaawtEventQueue$3run(EventQueuejava:706) at javaawtEventQueue$3run(EventQueuejava:704) at javasecurityAccessControllerdoPrivileged(Native Method) at javasecurityProtectionDomain$1doIntersectionPrivilege(ProtectionDomainjava:76) at javaawtEventQueuedispatchEvent(EventQueuejava:715) at javaawtEventDispatchThreadpumpOneEventForFilters(EventDispatchThreadjava:242) at javaawtEventDispatchThreadpumpEventsForFilter(EventDispatchThreadjava:161) at javaawtEventDispatchThreadpumpEventsForHierarchy(EventDispatchThreadjava:150) at javaawtEventDispatchThreadpumpEvents(EventDispatchThreadjava:146) at javaawtEventDispatchThreadpumpEvents(EventDispatchThreadjava:138) at javaawtEventDispatchThreadrun(EventDispatchThreadjava:91)

Results :

Tests in error: PipeTestsetUp:31 ? InvocationTarget PipeTestsetUp:31 ? InvocationTarget

Tests run: 207, Failures: 0, Errors: 2, Skipped: 0

[INFO]

[INFO] Reactor Summary: [INFO] [INFO] PIPE Parent Project SUCCESS [ 0262 s] [INFO] pipe-module-gui SUCCESS [01:34 min] [INFO] PIPE-gui FAILURE [ 4700 s]

[INFO]

[INFO] BUILD FAILURE

[INFO]

[INFO] Total time: 01:39 min [INFO] Finished at: 2016-01-18T13:07:03+08:00 [INFO] Final Memory: 35M/372M

[INFO]

[ERROR] Failed to execute goal orgapachemavenplugins:maven-surefire-plugin:216:test (default-test) on project PIPE-gui: There are test failures [ERROR] [ERROR] Please refer to F:\github\PIPE\pipe-gui\target\surefire-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://cwikiapacheorg/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :PIPE-gui

— Reply to this email directly or view it on GitHub https://github.com/sarahtattersall/PIPECore/issues/48.

Steve Doubleday UC Irvine Mathematical Behavioral Sciences stevedoubleday@gmail.com 818-648-8381

wumangxing1990 commented 8 years ago

When i run the command:mvn -X install i got the errors as follows: ERROR! java.lang.reflect.InvocationTargetException: null at java.awt.EventQueue.invokeAndWait(EventQueue.java:1288) at java.awt.EventQueue.invokeAndWait(EventQueue.java:1263) at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1347) at Pipe.runPipeForTesting(Pipe.java:37) at PipeTest.setUp(PipeTest.java:31) Caused by: java.lang.NullPointerException: null at javax.swing.ImageIcon.(ImageIcon.java:205) at pipe.views.PipeApplicationView.(PipeApplicationView.java:129) at pipe.views.PipeApplicationBuilder.build(PipeApplicationBuilder.java:5 4) at Pipe.(Pipe.java:17) at Pipe.(Pipe.java:9) at Pipe$1.run(Pipe.java:31) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:302) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745) at java.awt.EventQueue.access$300(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:706) at java.awt.EventQueue$3.run(EventQueue.java:704) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDo main.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:715) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre ad.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread. java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre ad.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

verifyMenusAddedToGui(PipeTest) Time elapsed: 0.008 sec <<< ERROR! java.lang.reflect.InvocationTargetException: null at java.awt.EventQueue.invokeAndWait(EventQueue.java:1288) at java.awt.EventQueue.invokeAndWait(EventQueue.java:1263) at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1347) at Pipe.runPipeForTesting(Pipe.java:37) at PipeTest.setUp(PipeTest.java:31) Caused by: java.lang.NullPointerException: null at javax.swing.ImageIcon.(ImageIcon.java:205) at pipe.views.PipeApplicationView.(PipeApplicationView.java:129) at pipe.views.PipeApplicationBuilder.build(PipeApplicationBuilder.java:5 4) at Pipe.(Pipe.java:17) at Pipe.(Pipe.java:9) at Pipe$1.run(Pipe.java:31) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:302) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745) at java.awt.EventQueue.access$300(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:706) at java.awt.EventQueue$3.run(EventQueue.java:704) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDo main.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:715) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre ad.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread. java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre ad.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Results :

Tests in error: PipeTest.setUp:31 ? InvocationTarget PipeTest.setUp:31 ? InvocationTarget

Tests run: 207, Failures: 0, Errors: 2, Skipped: 0

[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] PIPE Parent Project ................................ SUCCESS [ 0.470 s] [INFO] pipe-module-gui .................................... SUCCESS [ 23.300 s] [INFO] PIPE-gui ........................................... FAILURE [ 10.186 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 34.068 s [INFO] Finished at: 2016-01-19T10:25:28+08:00 [INFO] Final Memory: 31M/194M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2. 16:test (default-test) on project PIPE-gui: There are test failures. [ERROR] [ERROR] Please refer to F:\github\PIPE\pipe-gui\target\surefire-reports for the individual test results. [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o rg.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on projec t PIPE-gui: There are test failures.

Please refer to F:\github\PIPE\pipe-gui\target\surefire-reports for the individu al test results. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje ct(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje ct(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThre adedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl eStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun cher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav a:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La uncher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java: 356) Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures .

Please refer to F:\github\PIPE\pipe-gui\target\surefire-reports for the individu al test results. at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(Suref ireHelper.java:82) at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(Surefir ePlugin.java:190) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPre conditionsChecked(AbstractSurefireMojo.java:852) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(Abstrac tSurefireMojo.java:720) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default BuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:207) ... 20 more [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc eption [ERROR] [ERROR] After correcting the problems, you can resume the build with the command

[ERROR] mvn -rf :PIPE-gui

sjdayday commented 8 years ago

Is this all of the output? I don't see the DEBUG statements, which should be there with the -X flag. Please write the output to a file, e.g., tempmvn.txt, and send that:

mvn -X install > tempmvn.txt

What operating system are you running?

What level of java are you running? What is the output from this command:

java -version

Also, what are the contents of the PIPE/pipe-gui/target/ directory?

best, Steve

On Mon, Jan 18, 2016 at 6:29 PM, lizzy notifications@github.com wrote:

When i run the command:mvn -X install i got the errors as follows: ERROR! java.lang.reflect.InvocationTargetException: null at java.awt.EventQueue.invokeAndWait(EventQueue.java:1288) at java.awt.EventQueue.invokeAndWait(EventQueue.java:1263) at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1347) at Pipe.runPipeForTesting(Pipe.java:37) at PipeTest.setUp(PipeTest.java:31) Caused by: java.lang.NullPointerException: null at javax.swing.ImageIcon.(ImageIcon.java:205) at pipe.views.PipeApplicationView.(PipeApplicationView.java:129) at pipe.views.PipeApplicationBuilder.build(PipeApplicationBuilder.java:5 4) at Pipe.(Pipe.java:17) at Pipe.(Pipe.java:9) at Pipe$1.run(Pipe.java:31) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:302) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745) at java.awt.EventQueue.access$300(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:706) at java.awt.EventQueue$3.run(EventQueue.java:704) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDo main.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:715) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre ad.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread. java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre ad.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

verifyMenusAddedToGui(PipeTest) Time elapsed: 0.008 sec <<< ERROR! java.lang.reflect.InvocationTargetException: null at java.awt.EventQueue.invokeAndWait(EventQueue.java:1288) at java.awt.EventQueue.invokeAndWait(EventQueue.java:1263) at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1347) at Pipe.runPipeForTesting(Pipe.java:37) at PipeTest.setUp(PipeTest.java:31) Caused by: java.lang.NullPointerException: null at javax.swing.ImageIcon.(ImageIcon.java:205) at pipe.views.PipeApplicationView.(PipeApplicationView.java:129) at pipe.views.PipeApplicationBuilder.build(PipeApplicationBuilder.java:5 4) at Pipe.(Pipe.java:17) at Pipe.(Pipe.java:9) at Pipe$1.run(Pipe.java:31) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:302) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745) at java.awt.EventQueue.access$300(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:706) at java.awt.EventQueue$3.run(EventQueue.java:704) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDo main.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:715) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre ad.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread. java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre ad.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Results :

Tests in error: PipeTest.setUp:31 ? InvocationTarget PipeTest.setUp:31 ? InvocationTarget

Tests run: 207, Failures: 0, Errors: 2, Skipped: 0

[INFO]

[INFO] Reactor Summary: [INFO] [INFO] PIPE Parent Project ................................ SUCCESS [ 0.470 s] [INFO] pipe-module-gui .................................... SUCCESS [ 23.300 s] [INFO] PIPE-gui ........................................... FAILURE [ 10.186 s]

[INFO]

[INFO] BUILD FAILURE

[INFO]

[INFO] Total time: 34.068 s [INFO] Finished at: 2016-01-19T10:25:28+08:00 [INFO] Final Memory: 31M/194M

[INFO]

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2. 16:test (default-test) on project PIPE-gui: There are test failures. [ERROR] [ERROR] Please refer to F:\github\PIPE\pipe-gui\target\surefire-reports for the individual test results. [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o rg.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on projec t PIPE-gui: There are test failures.

Please refer to F:\github\PIPE\pipe-gui\target\surefire-reports for the individu al test results. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje ct(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje ct(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThre adedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl eStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun cher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav a:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La uncher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java: 356) Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures .

Please refer to F:\github\PIPE\pipe-gui\target\surefire-reports for the individu al test results. at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(Suref ireHelper.java:82) at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(Surefir ePlugin.java:190) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPre conditionsChecked(AbstractSurefireMojo.java:852) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(Abstrac tSurefireMojo.java:720) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default BuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:207) ... 20 more [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc eption [ERROR] [ERROR] After correcting the problems, you can resume the build with the command

[ERROR] mvn -rf :PIPE-gui

— Reply to this email directly or view it on GitHub https://github.com/sarahtattersall/PIPECore/issues/48#issuecomment-172713921 .

Steve Doubleday UC Irvine Mathematical Behavioral Sciences stevedoubleday@gmail.com 818-648-8381

wumangxing1990 commented 8 years ago

No,that is not all the output. My java version is 1.7.
The contents in the PIPE/pipe-gui/target/ are classes,generated-sources,generated-test-sources,maven-status,surefire,surefire-reports,test-classes. I copy all the errors as follows: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T00:41:47+08:00) Maven home: F:\apache-maven-3.3.9\bin.. Java version: 1.7.0_79, vendor: Oracle Corporation Java home: E:\Program Files\Java\jdk1.7.0_79\jre Default locale: zh_CN, platform encoding: GBK OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "windows" [DEBUG] Created new class realm maven.api [DEBUG] Importing foreign packages into class realm maven.api [DEBUG] Imported: javax.enterprise.inject.* < plexus.core [DEBUG] Imported: javax.enterprise.util.* < plexus.core [DEBUG] Imported: javax.inject.* < plexus.core [DEBUG] Imported: org.apache.maven.* < plexus.core [DEBUG] Imported: org.apache.maven.artifact < plexus.core [DEBUG] Imported: org.apache.maven.classrealm < plexus.core [DEBUG] Imported: org.apache.maven.cli < plexus.core [DEBUG] Imported: org.apache.maven.configuration < plexus.core [DEBUG] Imported: org.apache.maven.exception < plexus.core [DEBUG] Imported: org.apache.maven.execution < plexus.core [DEBUG] Imported: org.apache.maven.execution.scope < plexus.core [DEBUG] Imported: org.apache.maven.lifecycle < plexus.core [DEBUG] Imported: org.apache.maven.model < plexus.core [DEBUG] Imported: org.apache.maven.monitor < plexus.core [DEBUG] Imported: org.apache.maven.plugin < plexus.core [DEBUG] Imported: org.apache.maven.profiles < plexus.core [DEBUG] Imported: org.apache.maven.project < plexus.core [DEBUG] Imported: org.apache.maven.reporting < plexus.core [DEBUG] Imported: org.apache.maven.repository < plexus.core [DEBUG] Imported: org.apache.maven.rtinfo < plexus.core [DEBUG] Imported: org.apache.maven.settings < plexus.core [DEBUG] Imported: org.apache.maven.toolchain < plexus.core [DEBUG] Imported: org.apache.maven.usability < plexus.core [DEBUG] Imported: org.apache.maven.wagon.* < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core [DEBUG] Imported: org.apache.maven.wagon.events < plexus.core [DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core [DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core [DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core [DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core [DEBUG] Imported: org.codehaus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus.* < plexus.core [DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus.component < plexus.core [DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core [DEBUG] Imported: org.codehaus.plexus.container < plexus.core [DEBUG] Imported: org.codehaus.plexus.context < plexus.core [DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core [DEBUG] Imported: org.codehaus.plexus.logging < plexus.core [DEBUG] Imported: org.codehaus.plexus.personality < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core [DEBUG] Imported: org.eclipse.aether.* < plexus.core [DEBUG] Imported: org.eclipse.aether.artifact < plexus.core [DEBUG] Imported: org.eclipse.aether.collection < plexus.core [DEBUG] Imported: org.eclipse.aether.deployment < plexus.core [DEBUG] Imported: org.eclipse.aether.graph < plexus.core [DEBUG] Imported: org.eclipse.aether.impl < plexus.core [DEBUG] Imported: org.eclipse.aether.installation < plexus.core [DEBUG] Imported: org.eclipse.aether.internal.impl < plexus.core [DEBUG] Imported: org.eclipse.aether.metadata < plexus.core [DEBUG] Imported: org.eclipse.aether.repository < plexus.core [DEBUG] Imported: org.eclipse.aether.resolution < plexus.core [DEBUG] Imported: org.eclipse.aether.spi < plexus.core [DEBUG] Imported: org.eclipse.aether.transfer < plexus.core [DEBUG] Imported: org.eclipse.aether.version < plexus.core [DEBUG] Imported: org.slf4j.* < plexus.core [DEBUG] Imported: org.slf4j.helpers.* < plexus.core [DEBUG] Imported: org.slf4j.spi.* < plexus.core [DEBUG] Populating class realm maven.api [INFO] Error stacktraces are turned on. [DEBUG] Reading global settings from F:\apache-maven-3.3.9\bin..\conf\settings.xml [DEBUG] Reading user settings from C:\Users\lenovo.m2\settings.xml [DEBUG] Reading global toolchains from F:\apache-maven-3.3.9\bin..\conf\toolchains.xml [DEBUG] Reading user toolchains from C:\Users\lenovo.m2\toolchains.xml [DEBUG] Using local repository at C:\Users\lenovo.m2\repository [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for C:\Users\lenovo.m2\repository [INFO] Scanning for projects... [DEBUG] Extension realms for project uk.ac.imperial:PIPE:pom:5.0.2-SNAPSHOT: (none) [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project uk.ac.imperial:PIPE-gui:jar:5.0.2-SNAPSHOT: (none) [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project uk.ac.imperial:pipe-module-gui:jar:5.0.2-SNAPSHOT: (none) [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] PIPE Parent Project [INFO] pipe-module-gui [INFO] PIPE-gui [DEBUG] === REACTOR BUILD PLAN ================================================ [DEBUG] Project: uk.ac.imperial:PIPE:pom:5.0.2-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: uk.ac.imperial:pipe-module-gui:jar:5.0.2-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ----------------------------------------------------------------------- [DEBUG] Project: uk.ac.imperial:PIPE-gui:jar:5.0.2-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular [DEBUG] ======================================================================= [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building PIPE Parent Project 5.0.2-SNAPSHOT [INFO] ------------------------------------------------------------------------ [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] === PROJECT BUILD PLAN ================================================ [DEBUG] Project: uk.ac.imperial:PIPE:5.0.2-SNAPSHOT [DEBUG] Dependencies (collect): [] [DEBUG] Dependencies (resolve): [] [DEBUG] Repositories (dependencies): [central (https://repo.maven.apache.org/maven2, default, releases)] [DEBUG] Repositories (plugins) : [central (https://repo.maven.apache.org/maven2, default, releases)] [DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-install-plugin:2.4:install (default-install) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${createChecksum} ${localRepository} ${maven.install.skip} ${updateReleaseInfo}

[DEBUG] ======================================================================= [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ PIPE --- [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=0, ConflictMarker.nodeCount=38, ConflictIdSorter.graphTime=1, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=15, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=3, ConflictResolver.conflictItemCount=35, DefaultDependencyCollector.collectTime=85, DefaultDependencyCollector.transformTime=6} [DEBUG] org.apache.maven.plugins:maven-install-plugin:jar:2.4: [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-project:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-settings:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-profile:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-plugin-registry:jar:2.0.6:compile [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile [DEBUG] junit:junit:jar:3.8.1:compile [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:compile [DEBUG] org.apache.maven:maven-model:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-artifact:jar:2.0.6:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0.5:compile [DEBUG] org.codehaus.plexus:plexus-digest:jar:1.0:compile [DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-install-plugin:2.4 [DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-install-plugin:2.4 [DEBUG] Imported: < maven.api [DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-install-plugin:2.4 [DEBUG] Included: org.apache.maven.plugins:maven-install-plugin:jar:2.4 [DEBUG] Included: junit:junit:jar:3.8.1 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0.5 [DEBUG] Included: org.codehaus.plexus:plexus-digest:jar:1.0 [DEBUG] Configuring mojo org.apache.maven.plugins:maven-install-plugin:2.4:install from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-install-plugin:2.4, parent: sun.misc.Launcher$AppClassLoader@1ebdff3b] [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-install-plugin:2.4:install' with basic configurator --> DEBUG artifact = uk.ac.imperial:PIPE:pom:5.0.2-SNAPSHOT DEBUG attachedArtifacts = [] DEBUG createChecksum = false DEBUG localRepository = id: local url: file:///C:/Users/lenovo/.m2/repository/ layout: default snapshots: [enabled => true, update => always] releases: [enabled => true, update => always]

DEBUG packaging = pom DEBUG pomFile = F:\github\PIPE\pom.xml DEBUG skip = false DEBUG updateReleaseInfo = false [DEBUG] -- end configuration -- [INFO] Installing F:\github\PIPE\pom.xml to C:\Users\lenovo.m2\repository\uk\ac\imperial\PIPE\5.0.2-SNAPSHOT\PIPE-5.0.2-SNAPSHOT.pom [DEBUG] Writing tracking file C:\Users\lenovo.m2\repository\uk\ac\imperial\PIPE\5.0.2-SNAPSHOT_remote.repositories [DEBUG] Installing uk.ac.imperial:PIPE:5.0.2-SNAPSHOT/maven-metadata.xml to C:\Users\lenovo.m2\repository\uk\ac\imperial\PIPE\5.0.2-SNAPSHOT\maven-metadata-local.xml [DEBUG] Installing uk.ac.imperial:PIPE/maven-metadata.xml to C:\Users\lenovo.m2\repository\uk\ac\imperial\PIPE\maven-metadata-local.xml [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building pipe-module-gui 5.0.2-SNAPSHOT [INFO] ------------------------------------------------------------------------ [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] === PROJECT BUILD PLAN ================================================ [DEBUG] Project: uk.ac.imperial:pipe-module-gui:5.0.2-SNAPSHOT [DEBUG] Dependencies (collect): [] [DEBUG] Dependencies (resolve): [compile, runtime, test] [DEBUG] Repositories (dependencies): [JPowergraph (https://raw.github.com/sarahtattersall/JPowerGraph/master/releases/, default, releases+snapshots), PIPEMarkovChain-mvn-repo (https://raw.github.com/sarahtattersall/PIPEMarkovChain/mvn-repo/, default, releases+snapshots), PIPECore-mvn-repo (https://raw.github.com/sarahtattersall/PIPECore/mvn-repo/, default, releases+snapshots), PIPEAnalysis-mvn-repo (https://raw.github.com/sarahtattersall/PIPEAnalysis/mvn-repo/, default, releases+snapshots), central (https://repo.maven.apache.org/maven2, default, releases)] [DEBUG] Repositories (plugins) : [central (https://repo.maven.apache.org/maven2, default, releases)] [DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-resources-plugin:2.6:resources (default-resources) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${encoding} ${maven.resources.escapeString} ${maven.resources.escapeWindowsPaths} ${maven.resources.includeEmptyDirs} ${maven.resources.overwrite} ${maven.resources.supportMultiLineFiltering}

[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${maven.compiler.compilerId} ${maven.compiler.compilerReuseStrategy} ${maven.compiler.compilerVersion} ${maven.compiler.debug} ${maven.compiler.debuglevel} ${encoding} ${maven.compiler.executable} ${maven.compiler.failOnError} ${maven.compiler.forceJavacCompilerUse} ${maven.compiler.fork} ${maven.compiler.maxmem} ${maven.compiler.meminitial} ${mojoExecution} ${maven.compiler.optimize} ${maven.compiler.showDeprecation} ${maven.compiler.showWarnings} ${maven.compiler.skipMultiThreadWarning} 1.7 ${lastModGranularityMs} 1.7 ${maven.compiler.verbose}

[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.codehaus.mojo:ideauidesigner-maven-plugin:1.0-beta-1:javac2 (default) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

true ${project.build.outputDirectory} true true ${project} ${project.build.sourceDirectory} ${verbose}

[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-resources-plugin:2.6:testResources (default-testResources) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${encoding} ${maven.resources.escapeString} ${maven.resources.escapeWindowsPaths} ${maven.resources.includeEmptyDirs} ${maven.resources.overwrite} ${maven.test.skip} ${maven.resources.supportMultiLineFiltering}

[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-compiler-plugin:3.0:testCompile (default-testCompile) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${maven.compiler.compilerId} ${maven.compiler.compilerReuseStrategy} ${maven.compiler.compilerVersion} ${maven.compiler.debug} ${maven.compiler.debuglevel} ${encoding} ${maven.compiler.executable} ${maven.compiler.failOnError} ${maven.compiler.forceJavacCompilerUse} ${maven.compiler.fork} ${maven.compiler.maxmem} ${maven.compiler.meminitial} ${mojoExecution} ${maven.compiler.optimize} ${maven.compiler.showDeprecation} ${maven.compiler.showWarnings} ${maven.test.skip} ${maven.compiler.skipMultiThreadWarning} 1.7 ${lastModGranularityMs} 1.7 ${maven.compiler.testSource} ${maven.compiler.testTarget} ${maven.compiler.verbose}

[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${argLine} ${childDelegation} ${maven.surefire.debug} ${disableXmlReport} ${enableAssertions} ${excludedGroups} ${surefire.failIfNoSpecifiedTests} ${failIfNoTests} ${forkMode} ${surefire.timeout} ${groups} ${junitArtifactName} ${jvm} ${objectFactory} ${parallel} ${perCoreThreadCount} ${plugin.artifactMap} ${surefire.printSummary} ${project.artifactMap} ${maven.test.redirectTestOutputToFile} ${surefire.reportFormat} ${surefire.reportNameSuffix} ${maven.test.skip} ${maven.test.skip.exec} ${skipTests} ${test} ${maven.test.failure.ignore} ${testNGArtifactName} ${threadCount} ${trimStackTrace} ${surefire.useFile} ${surefire.useManifestOnlyJar} ${surefire.useSystemClassLoader} ${useUnlimitedThreads} ${basedir}

[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-jar-plugin:2.4:jar (default-jar) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${jar.finalName} ${jar.forceCreation} ${jar.skipIfEmpty} ${jar.useDefaultManifestFile}

[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:jar (attach-javadocs) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${additionalJOption} ${additionalparam} ${aggregate} ${maven.javadoc.applyJavadocSecurityFix} ${attach} ${author} ${bootclasspath} ${bootclasspathArtifacts} ${bottom} ${breakiterator} ${charset} ${debug} ${destDir} ${detectJavaApiLink} ${detectLinks} ${detectOfflineLinks} ${docencoding} ${docfilessubdirs} ${doclet} ${docletArtifact} ${docletArtifacts} ${docletPath} ${doctitle} ${encoding} ${excludePackageNames} ${excludedocfilessubdir} ${extdirs} ${maven.javadoc.failOnError} ${project.build.finalName}
${footer}
${groups}
${header}
${helpfile} ${project.build.directory} ${javaApiLinks} ${javadocExecutable} ${javadocVersion} ${keywords} ${links} ${linksource} ${localRepository} ${locale} ${maxmemory} ${minmemory} ${nocomment} ${nodeprecated} ${nodeprecatedlist} ${nohelp} ${noindex} ${nonavbar} ${nooverview} ${noqualifier} ${nosince} ${notimestamp} ${notree} ${offlineLinks} ${old} ${destDir} ${overview} ${packagesheader} ${proxyHost} ${proxyPort} ${quiet} ${reactorProjects} ${project.remoteArtifactRepositories} ${resourcesArtifacts} ${serialwarn} ${show} ${maven.javadoc.skip} ${source} ${sourcepath} ${sourcetab} ${splitindex} ${stylesheet} ${stylesheetfile} ${subpackages} ${taglet} ${tagletArtifact} ${tagletArtifacts} ${tagletpath} ${taglets} ${tags} ${top} ${use} ${useStandardDocletOptions} ${validateLinks} ${verbose} ${version} ${windowtitle}

[DEBUG] --- init fork of uk.ac.imperial:pipe-module-gui:5.0.2-SNAPSHOT for org.apache.maven.plugins:maven-source-plugin:2.2.1:jar (attach-sources) --- [DEBUG] Dependencies (collect): [] [DEBUG] Dependencies (resolve): [] [DEBUG] --- exit fork of uk.ac.imperial:pipe-module-gui:5.0.2-SNAPSHOT for org.apache.maven.plugins:maven-source-plugin:2.2.1:jar (attach-sources) --- [DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-source-plugin:2.2.1:jar (attach-sources) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${attach} ${maven.source.classifier} ${source.excludeResources} ${source.forceCreation} ${source.includePom} ${source.skip}

[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-install-plugin:2.4:install (default-install) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${createChecksum} ${localRepository} ${maven.install.skip} ${updateReleaseInfo}

[DEBUG] ======================================================================= [DEBUG] Could not find metadata uk.ac.imperial:pipe-core:1.0.3-SNAPSHOT/maven-metadata.xml in local (C:\Users\lenovo.m2\repository) [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://raw.github.com/sarahtattersall/PIPECore/mvn-repo/ [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://raw.github.com/sarahtattersall/PIPEMarkovChain/mvn-repo/ [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://raw.github.com/sarahtattersall/JPowerGraph/master/releases/ [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://raw.github.com/sarahtattersall/PIPEAnalysis/mvn-repo/ [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://raw.github.com/sarahtattersall/PIPEAnalysis/mvn-repo/ [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://raw.github.com/sarahtattersall/PIPEMarkovChain/mvn-repo/ [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://raw.github.com/sarahtattersall/JPowerGraph/master/releases/ [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://raw.github.com/sarahtattersall/PIPECore/mvn-repo/ Downloading: https://raw.github.com/sarahtattersall/PIPECore/mvn-repo/uk/ac/imperial/pipe-core/1.0.3-SNAPSHOT/maven-metadata.xml Downloading: https://raw.github.com/sarahtattersall/JPowerGraph/master/releases/uk/ac/imperial/pipe-core/1.0.3-SNAPSHOT/maven-metadata.xml Downloading: https://raw.github.com/sarahtattersall/PIPEMarkovChain/mvn-repo/uk/ac/imperial/pipe-core/1.0.3-SNAPSHOT/maven-metadata.xml Downloading: https://raw.github.com/sarahtattersall/PIPEAnalysis/mvn-repo/uk/ac/imperial/pipe-core/1.0.3-SNAPSHOT/maven-metadata.xml

sjdayday commented 8 years ago

I believe the problem is that PIPE currently has a bug that prevents it from running under Windows. I haven't applied the fix yet, but it's documented in this thread:

https://github.com/sarahtattersall/PIPE/issues/97 (see dcduba's comment on 12/11).

If you change PIPEConstants by hand and rerun the mvn install, it may run. When I apply the permanent fix, I'll let you know.

best, Steve

On Mon, Jan 18, 2016 at 10:39 PM, lizzy notifications@github.com wrote:

No,that is not all the output. My java version is 1.7.

The contents in the PIPE/pipe-gui/target/ are classes,generated-sources,generated-test-sources,maven-status,surefire,surefire-reports,test-classes. I copy all the errors as follows: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T00:41:47+08:00) Maven home: F:\apache-maven-3.3.9\bin.. Java version: 1.7.0_79, vendor: Oracle Corporation Java home: E:\Program Files\Java\jdk1.7.0_79\jre Default locale: zh_CN, platform encoding: GBK OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "windows" [DEBUG] Created new class realm maven.api [DEBUG] Importing foreign packages into class realm maven.api [DEBUG] Imported: javax.enterprise.inject.* < plexus.core [DEBUG] Imported: javax.enterprise.util.* < plexus.core [DEBUG] Imported: javax.inject.* < plexus.core [DEBUG] Imported: org.apache.maven.* < plexus.core [DEBUG] Imported: org.apache.maven.artifact < plexus.core [DEBUG] Imported: org.apache.maven.classrealm < plexus.core [DEBUG] Imported: org.apache.maven.cli < plexus.core [DEBUG] Imported: org.apache.maven.configuration < plexus.core [DEBUG] Imported: org.apache.maven.exception < plexus.core [DEBUG] Imported: org.apache.maven.execution < plexus.core [DEBUG] Imported: org.apache.maven.execution.scope < plexus.core [DEBUG] Imported: org.apache.maven.lifecycle < plexus.core [DEBUG] Imported: org.apache.maven.model < plexus.core [DEBUG] Imported: org.apache.maven.monitor < plexus.core [DEBUG] Imported: org.apache.maven.plugin < plexus.core [DEBUG] Imported: org.apache.maven.profiles < plexus.core [DEBUG] Imported: org.apache.maven.project < plexus.core [DEBUG] Imported: org.apache.maven.reporting < plexus.core [DEBUG] Imported: org.apache.maven.repository < plexus.core [DEBUG] Imported: org.apache.maven.rtinfo < plexus.core [DEBUG] Imported: org.apache.maven.settings < plexus.core [DEBUG] Imported: org.apache.maven.toolchain < plexus.core [DEBUG] Imported: org.apache.maven.usability < plexus.core [DEBUG] Imported: org.apache.maven.wagon.* < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core [DEBUG] Imported: org.apache.maven.wagon.events < plexus.core [DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core [DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core [DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core [DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core [DEBUG] Imported: org.codehaus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus.* < plexus.core [DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus.component < plexus.core [DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core [DEBUG] Imported: org.codehaus.plexus.container < plexus.core [DEBUG] Imported: org.codehaus.plexus.context < plexus.core [DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core [DEBUG] Imported: org.codehaus.plexus.logging < plexus.core [DEBUG] Imported: org.codehaus.plexus.personality < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core [DEBUG] Imported: org.eclipse.aether.* < plexus.core [DEBUG] Imported: org.eclipse.aether.artifact < plexus.core [DEBUG] Imported: org.eclipse.aether.collection < plexus.core [DEBUG] Imported: org.eclipse.aether.deployment < plexus.core [DEBUG] Imported: org.eclipse.aether.graph < plexus.core [DEBUG] Imported: org.eclipse.aether.impl < plexus.core [DEBUG] Imported: org.eclipse.aether.installation < plexus.core [DEBUG] Imported: org.eclipse.aether.internal.impl < plexus.core [DEBUG] Imported: org.eclipse.aether.metadata < plexus.core [DEBUG] Imported: org.eclipse.aether.repository < plexus.core [DEBUG] Imported: org.eclipse.aether.resolution < plexus.core [DEBUG] Imported: org.eclipse.aether.spi < plexus.core [DEBUG] Imported: org.eclipse.aether.transfer < plexus.core [DEBUG] Imported: org.eclipse.aether.version < plexus.core [DEBUG] Imported: org.slf4j.* < plexus.core [DEBUG] Imported: org.slf4j.helpers.* < plexus.core [DEBUG] Imported: org.slf4j.spi.* < plexus.core [DEBUG] Populating class realm maven.api [INFO] Error stacktraces are turned on. [DEBUG] Reading global settings from F:\apache-maven-3.3.9\bin..\conf\settings.xml [DEBUG] Reading user settings from C:\Users\lenovo.m2\settings.xml [DEBUG] Reading global toolchains from F:\apache-maven-3.3.9\bin..\conf\toolchains.xml [DEBUG] Reading user toolchains from C:\Users\lenovo.m2\toolchains.xml [DEBUG] Using local repository at C:\Users\lenovo.m2\repository [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for C:\Users\lenovo.m2\repository [INFO] Scanning for projects... [DEBUG] Extension realms for project uk.ac.imperial:PIPE:pom:5.0.2-SNAPSHOT: (none) [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project uk.ac.imperial:PIPE-gui:jar:5.0.2-SNAPSHOT: (none) [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project uk.ac.imperial:pipe-module-gui:jar:5.0.2-SNAPSHOT: (none) [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]

[INFO]

[INFO] Reactor Build Order: [INFO] [INFO] PIPE Parent Project [INFO] pipe-module-gui [INFO] PIPE-gui

[DEBUG] === REACTOR BUILD PLAN

[DEBUG] Project: uk.ac.imperial:PIPE:pom:5.0.2-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular

[DEBUG]

[DEBUG] Project: uk.ac.imperial:pipe-module-gui:jar:5.0.2-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular

[DEBUG]

[DEBUG] Project: uk.ac.imperial:PIPE-gui:jar:5.0.2-SNAPSHOT [DEBUG] Tasks: [install] [DEBUG] Style: Regular

[DEBUG]

[INFO]

[INFO]

[INFO] Building PIPE Parent Project 5.0.2-SNAPSHOT

[INFO]

[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]

[DEBUG] === PROJECT BUILD PLAN

[DEBUG] Project: uk.ac.imperial:PIPE:5.0.2-SNAPSHOT [DEBUG] Dependencies (collect): [] [DEBUG] Dependencies (resolve): [] [DEBUG] Repositories (dependencies): [central ( https://repo.maven.apache.org/maven2, default, releases)] [DEBUG] Repositories (plugins) : [central ( https://repo.maven.apache.org/maven2, default, releases)]

[DEBUG]

[DEBUG] Goal: org.apache.maven.plugins:maven-install-plugin:2.4:install (default-install) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${createChecksum} ${localRepository}

${maven.install.skip} ${updateReleaseInfo}

[DEBUG]

[INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ PIPE --- [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=0, ConflictMarker.nodeCount=38, ConflictIdSorter.graphTime=1, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=15, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=3, ConflictResolver.conflictItemCount=35, DefaultDependencyCollector.collectTime=85, DefaultDependencyCollector.transformTime=6} [DEBUG] org.apache.maven.plugins:maven-install-plugin:jar:2.4: [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-project:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-settings:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-profile:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-plugin-registry:jar:2.0.6:compile [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile [DEBUG] junit:junit:jar:3.8.1:compile [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:compile [DEBUG] org.apache.maven:maven-model:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-artifact:jar:2.0.6:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0.5:compile [DEBUG] org.codehaus.plexus:plexus-digest:jar:1.0:compile [DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-install-plugin:2.4 [DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-install-plugin:2.4 [DEBUG] Imported: < maven.api [DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-install-plugin:2.4 [DEBUG] Included: org.apache.maven.plugins:maven-install-plugin:jar:2.4 [DEBUG] Included: junit:junit:jar:3.8.1 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0.5 [DEBUG] Included: org.codehaus.plexus:plexus-digest:jar:1.0 [DEBUG] Configuring mojo org.apache.maven.plugins:maven-install-plugin:2.4:install from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-install-plugin:2.4, parent: sun.misc.Launcher$AppClassLoader@1ebdff3b] [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-install-plugin:2.4:install' with basic configurator --> DEBUG http://f artifact = uk.ac.imperial:PIPE:pom:5.0.2-SNAPSHOT DEBUG http://f attachedArtifacts = [] DEBUG http://f createChecksum = false DEBUG http://f localRepository = id: local url: file:///C:/Users/lenovo/.m2/repository/ layout: default snapshots: [enabled => true, update => always] releases: [enabled => true, update => always]

DEBUG http://f packaging = pom DEBUG http://f pomFile = F:\github\PIPE\pom.xml DEBUG http://s skip = false DEBUG http://f updateReleaseInfo = false [DEBUG] -- end configuration -- [INFO] Installing F:\github\PIPE\pom.xml to C:\Users\lenovo.m2\repository\uk\ac\imperial\PIPE\5.0.2-SNAPSHOT\PIPE-5.0.2-SNAPSHOT.pom [DEBUG] Writing tracking file C:\Users\lenovo.m2\repository\uk\ac\imperial\PIPE\5.0.2-SNAPSHOT_remote.repositories [DEBUG] Installing uk.ac.imperial:PIPE:5.0.2-SNAPSHOT/maven-metadata.xml to C:\Users\lenovo.m2\repository\uk\ac\imperial\PIPE\5.0.2-SNAPSHOT\maven-metadata-local.xml [DEBUG] Installing uk.ac.imperial:PIPE/maven-metadata.xml to C:\Users\lenovo.m2\repository\uk\ac\imperial\PIPE\maven-metadata-local.xml [INFO]

[INFO]

[INFO] Building pipe-module-gui 5.0.2-SNAPSHOT

[INFO]

[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]

[DEBUG] === PROJECT BUILD PLAN

[DEBUG] Project: uk.ac.imperial:pipe-module-gui:5.0.2-SNAPSHOT [DEBUG] Dependencies (collect): [] [DEBUG] Dependencies (resolve): [compile, runtime, test] [DEBUG] Repositories (dependencies): [JPowergraph ( https://raw.github.com/sarahtattersall/JPowerGraph/master/releases/, default, releases+snapshots), PIPEMarkovChain-mvn-repo ( https://raw.github.com/sarahtattersall/PIPEMarkovChain/mvn-repo/, default, releases+snapshots), PIPECore-mvn-repo ( https://raw.github.com/sarahtattersall/PIPECore/mvn-repo/, default, releases+snapshots), PIPEAnalysis-mvn-repo ( https://raw.github.com/sarahtattersall/PIPEAnalysis/mvn-repo/, default, releases+snapshots), central (https://repo.maven.apache.org/maven2, default, releases)] [DEBUG] Repositories (plugins) : [central ( https://repo.maven.apache.org/maven2, default, releases)]

[DEBUG]

[DEBUG] Goal: org.apache.maven.plugins:maven-resources-plugin:2.6:resources (default-resources) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${encoding} ${maven.resources.escapeString} ${maven.resources.escapeWindowsPaths} ${maven.resources.includeEmptyDirs}

${maven.resources.overwrite}

${maven.resources.supportMultiLineFiltering}

[DEBUG]

[DEBUG] Goal: org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${maven.compiler.compilerId} ${maven.compiler.compilerReuseStrategy} ${maven.compiler.compilerVersion} ${maven.compiler.debug} ${maven.compiler.debuglevel} ${encoding} ${maven.compiler.executable} ${maven.compiler.failOnError} ${maven.compiler.forceJavacCompilerUse} ${maven.compiler.fork}

${maven.compiler.maxmem} ${maven.compiler.meminitial} ${mojoExecution} ${maven.compiler.optimize}

${maven.compiler.showDeprecation} ${maven.compiler.showWarnings} ${maven.compiler.skipMultiThreadWarning} 1.7 ${lastModGranularityMs} 1.7 ${maven.compiler.verbose}

[DEBUG]

[DEBUG] Goal: org.codehaus.mojo:ideauidesigner-maven-plugin:1.0-beta-1:javac2 (default) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

true ${project.build.outputDirectory} true true ${project} ${project.build.sourceDirectory} ${verbose}

[DEBUG]

[DEBUG] Goal: org.apache.maven.plugins:maven-resources-plugin:2.6:testResources (default-testResources) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${encoding} ${maven.resources.escapeString} ${maven.resources.escapeWindowsPaths} ${maven.resources.includeEmptyDirs}

${maven.resources.overwrite}

${maven.test.skip} ${maven.resources.supportMultiLineFiltering}

[DEBUG]

[DEBUG] Goal: org.apache.maven.plugins:maven-compiler-plugin:3.0:testCompile (default-testCompile) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${maven.compiler.compilerId} ${maven.compiler.compilerReuseStrategy} ${maven.compiler.compilerVersion} ${maven.compiler.debug} ${maven.compiler.debuglevel} ${encoding} ${maven.compiler.executable} ${maven.compiler.failOnError} ${maven.compiler.forceJavacCompilerUse} ${maven.compiler.fork}

${maven.compiler.maxmem} ${maven.compiler.meminitial} ${mojoExecution} ${maven.compiler.optimize}

${maven.compiler.showDeprecation} ${maven.compiler.showWarnings} ${maven.test.skip} ${maven.compiler.skipMultiThreadWarning} 1.7 ${lastModGranularityMs} 1.7 ${maven.compiler.testSource} ${maven.compiler.testTarget} ${maven.compiler.verbose}

[DEBUG]

[DEBUG] Goal: org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${argLine}

${childDelegation}

${maven.surefire.debug} ${disableXmlReport} ${enableAssertions} ${excludedGroups} ${surefire.failIfNoSpecifiedTests} ${failIfNoTests} ${forkMode} ${surefire.timeout} ${groups} ${junitArtifactName} ${jvm}

${objectFactory} ${parallel}

${perCoreThreadCount} ${plugin.artifactMap}

${surefire.printSummary} ${project.artifactMap} ${maven.test.redirectTestOutputToFile}

${surefire.reportFormat} ${surefire.reportNameSuffix}

${maven.test.skip} ${maven.test.skip.exec} ${skipTests} ${test}

${maven.test.failure.ignore} ${testNGArtifactName}

${threadCount} ${trimStackTrace} ${surefire.useFile} ${surefire.useManifestOnlyJar} ${surefire.useSystemClassLoader} ${useUnlimitedThreads} ${basedir}

[DEBUG]

[DEBUG] Goal: org.apache.maven.plugins:maven-jar-plugin:2.4:jar (default-jar) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${jar.finalName} ${jar.forceCreation}

${jar.skipIfEmpty} ${jar.useDefaultManifestFile}

[DEBUG]

[DEBUG] Goal: org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:jar (attach-javadocs) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${additionalJOption} ${additionalparam} ${aggregate} ${maven.javadoc.applyJavadocSecurityFix} ${attach} ${author} ${bootclasspath} ${bootclasspathArtifacts} ${bottom} ${breakiterator} ${charset} ${debug}

${destDir} ${detectJavaApiLink} ${detectLinks} ${detectOfflineLinks} ${docencoding} ${docfilessubdirs} ${doclet} ${docletArtifact} ${docletArtifacts} ${docletPath} ${doctitle} ${encoding} ${excludePackageNames} ${excludedocfilessubdir} ${extdirs} ${maven.javadoc.failOnError} ${project.build.finalName} ${footer} ${groups} ${header} ${helpfile}

${project.build.directory} ${javaApiLinks}

${javadocExecutable}

${javadocVersion} ${keywords} ${links} ${linksource} ${localRepository} ${locale} ${maxmemory} ${minmemory} ${nocomment} ${nodeprecated} ${nodeprecatedlist} ${nohelp} ${noindex} ${nonavbar} ${nooverview} ${noqualifier} ${nosince} ${notimestamp} ${notree} ${offlineLinks} ${old} ${destDir} ${overview} ${packagesheader} ${proxyHost} ${proxyPort} ${quiet} ${reactorProjects} ${project.remoteArtifactRepositories} ${resourcesArtifacts} ${serialwarn} ${show} ${maven.javadoc.skip} ${source}

${sourcepath} ${sourcetab} ${splitindex} ${stylesheet} ${stylesheetfile} ${subpackages} ${taglet} ${tagletArtifact} ${tagletArtifacts} ${tagletpath} ${taglets} ${tags} ${top} ${use}

${useStandardDocletOptions} ${validateLinks} ${verbose} ${version} ${windowtitle}

[DEBUG] --- init fork of uk.ac.imperial:pipe-module-gui:5.0.2-SNAPSHOT for org.apache.maven.plugins:maven-source-plugin:2.2.1:jar (attach-sources) --- [DEBUG] Dependencies (collect): [] [DEBUG] Dependencies (resolve): [] [DEBUG] --- exit fork of uk.ac.imperial:pipe-module-gui:5.0.2-SNAPSHOT for org.apache.maven.plugins:maven-source-plugin:2.2.1:jar (attach-sources) ---

[DEBUG]

[DEBUG] Goal: org.apache.maven.plugins:maven-source-plugin:2.2.1:jar (attach-sources) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${attach} ${maven.source.classifier}

${source.excludeResources}

${source.forceCreation} ${source.includePom}

${source.skip}

[DEBUG]

[DEBUG] Goal: org.apache.maven.plugins:maven-install-plugin:2.4:install (default-install) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${createChecksum} ${localRepository}

${maven.install.skip} ${updateReleaseInfo}

[DEBUG]

[DEBUG] Could not find metadata uk.ac.imperial:pipe-core:1.0.3-SNAPSHOT/maven-metadata.xml in local (C:\Users\lenovo.m2\repository) [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://raw.github.com/sarahtattersall/PIPECore/mvn-repo/ [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://raw.github.com/sarahtattersall/PIPEMarkovChain/mvn-repo/ [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://raw.github.com/sarahtattersall/JPowerGraph/master/releases/ [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://raw.github.com/sarahtattersall/PIPEAnalysis/mvn-repo/ [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://raw.github.com/sarahtattersall/PIPEAnalysis/mvn-repo/ [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://raw.github.com/sarahtattersall/PIPEMarkovChain/mvn-repo/ [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://raw.github.com/sarahtattersall/JPowerGraph/master/releases/ [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://raw.github.com/sarahtattersall/PIPECore/mvn-repo/ Downloading: https://raw.github.com/sarahtattersall/PIPECore/mvn-repo/uk/ac/imperial/pipe-core/1.0.3-SNAPSHOT/maven-metadata.xml Downloading: https://raw.github.com/sarahtattersall/JPowerGraph/master/releases/uk/ac/imperial/pipe-core/1.0.3-SNAPSHOT/maven-metadata.xml Downloading: https://raw.github.com/sarahtattersall/PIPEMarkovChain/mvn-repo/uk/ac/imperial/pipe-core/1.0.3-SNAPSHOT/maven-metadata.xml Downloading: https://raw.github.com/sarahtattersall/PIPEAnalysis/mvn-repo/uk/ac/imperial/pipe-core/1.0.3-SNAPSHOT/maven-metadata.xml

— Reply to this email directly or view it on GitHub https://github.com/sarahtattersall/PIPECore/issues/48#issuecomment-172755636 .

Steve Doubleday UC Irvine Mathematical Behavioral Sciences stevedoubleday@gmail.com 818-648-8381

jafarinejad commented 8 years ago

Hello, I use M2e in eclipse to run pipe 4.3.1. I import it to an eclipse project. first I execute python file with errors. I see that some jar files are missed in src/lib. so, I download them and python code executes successfully. then in eclipse I right click on pom.xml> run as> maven install. it works with some warnings and executes successfully. 1- but I don't know what I must do to run it. (???) e.g. I right click on project>run as> java application. but it asked me what class I must use. please inform me about how to run it. 2- I want to analyze reachability graph of a pn. get legal and firs met bad markings ... . what file I must change?

sjdayday commented 8 years ago

PIPE 4.3.1 is not a Maven project; are you sure you don't meant PIPE 5? PIPE 4.3.1 is on Sourceforge; PIPE 5 is on github (readme: https://github.com/sarahtattersall/PIPE). You should be able to run PIPE 5 from maven:

mvn exec:exec -pl pipe-gui

Alternatively, navigate to PIPE-gui/src/main/java and run PIPE.java as a java application.

Once in PIPE, you can either create a new PN, or open an existing one. However, many of the analysis modules only exist in PIPE 4.3.1 and have not been updated for PIPE 5.

Steve

On Wed, Jun 8, 2016 at 12:11 AM, jafarinejad notifications@github.com wrote:

Hello, I use M2e in eclipse to run pipe 4.3.1. I import it to an eclipse project. first I execute python file with errors. I see that some jar files are missed in src/lib. so, I download them and python code executes successfully. then in eclipse I right click on pom.xml> run as> maven install. it works with some warnings and executes successfully. 1- but I don't know what I must do to run it. (???) e.g. I right click on project>run as> java application. but it asked me what class I must use. please inform me about how to run it. 2- I want to analyze reachability graph of a pn. get legal and firs met bad markings ... . what file I must change?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sarahtattersall/PIPECore/issues/48#issuecomment-224507678, or mute the thread https://github.com/notifications/unsubscribe/ACAHxjNwXI4XJtDhoG43uA6hlyWxua9Bks5qJmsQgaJpZM4HGqoF .

Steve Doubleday PhD candidate, Mathematical Behavioral Sciences UC Irvine stevedoubleday@gmail.com 818-648-8381

jafarinejad commented 8 years ago

but there is a MVN-build folder in pipe4.3.1! and readme file of it says that after executing a python code for internal libs, use MVN install, and mvn exec:java respectively. I need analysis methods and I must change reachability graph module or read results of it for some additional analyze. so, I think pipe 5 is not suitable for me.

jafarinejad commented 8 years ago

I right click on pom of root> run as> maven build> goal: exec:java. it runs successfully :-) but can you inform me about rechability graph module path in pipe 4.3.1 ? thanks

sjdayday commented 8 years ago

I'm not familiar with the lmodule interface. In general, I'm much more familiar with PIPE 5 than PIPE 4.3. These things would give me some context:

Steve

On Sat, Jun 11, 2016 at 1:19 AM, jafarinejad notifications@github.com wrote:

Hello, how can I show a new module in pipe? I write an analysis module that implements Imodule interface. but I do't know haw I can say to gui that it is a module to show it in module tree

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sarahtattersall/PIPECore/issues/48#issuecomment-225344027, or mute the thread https://github.com/notifications/unsubscribe/ACAHxlCqdRcHlwnDVo5HbFqkDbTxmud6ks5qKm-kgaJpZM4HGqoF .

Steve Doubleday PhD candidate, Mathematical Behavioral Sciences UC Irvine stevedoubleday@gmail.com 818-648-8381

sjdayday commented 8 years ago

As I mentioned, I don't know the 4.3.1 code well. I suggest you take a look at the pipe.gui.ModuleLoader and pipe.gui.ExtFileManager classes to figure out how the loading happens. Or, if you're already thinking about writing a module class, take a look at the reachability module itself and consider how to change it to meet your needs. Good luck!

Also, please open a new issue if you have more questions or problems. This issue is still open, for a different problem than yours.