Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with 'mvn install' in learnlib-parent #4

Closed
DerMichi opened this issue Aug 28, 2013 · 1 comment
Closed

Problem with 'mvn install' in learnlib-parent #4

DerMichi opened this issue Aug 28, 2013 · 1 comment
Assignees

Comments

@DerMichi
Copy link

There seems to be a problem with the archtypes in learnlib-parent.
When 'mvn install' is called, maven stops with an error in the integration test:

"[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:integration-test (default-integration-test) on project core:"

The problem seems to result from old version numbers that are found in various files:

archetypes/complete/src/test/resources/projects/basic/archetype.properties:
learnlibVersion=0.9.0-SNAPSHOT

archetypes/complete/src/main/resources/META-INF/maven/archetype-metadata.xml:
0.9.0-SNAPSHOT

archetypes/typical/src/test/resources/projects/basic/archetype.properties:
learnlibVersion=0.9.0-SNAPSHOT

archetypes/typical/src/main/resources/META-INF/maven/archetype-metadata.xml:
0.9.0-SNAPSHOT

archetypes/core/src/test/resources/projects/basic/archetype.properties:
learnlibVersion=0.9.0-SNAPSHOT

archetypes/core/src/main/resources/META-INF/maven/archetype-metadata.xml:
0.9.0-SNAPSHOT

Changing them to 0.9.1-SNAPSHOT fixes the problem.

Regards,
Michael


Last lines of maven output:
[...]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:integration-test (default-integration-test) on project core:
[ERROR] Archetype IT 'basic' failed: Execution failure: exit code = 1
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:integration-test (default-integration-test) on project core:
Archetype IT 'basic' failed: Execution failure: exit code = 1
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
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.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException:
Archetype IT 'basic' failed: Execution failure: exit code = 1
at org.apache.maven.archetype.mojos.IntegrationTestMojo.execute(IntegrationTestMojo.java:268)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
[ERROR]
[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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :core

@ghost ghost assigned misberner Sep 3, 2013
@misberner
Copy link
Contributor

Fixed in c04f847

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants