Bug#458895: maven2: Creating empty project with artifacts fails

Paul Cager paul-debian at home.paulcager.org
Sat Jan 5 09:07:13 UTC 2008


Valliet Emmanuel wrote:
> Package: maven2
> Version: 2.0.8-3
> Severity: normal
> 
> 
> Hi,
> I installed the maven2 debian package, and tried to make an empty j2ee
> package using the artifacts, and it failed:
> 
> fylb at beap:~/devel/java/sources$ mvn -e archetype:create  -DgroupId=org.homelinux.beap -DartifactId=manu   -DarchetypeArtifactId=maven-archetype-j2ee-simple
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [INFO] org.codehaus.mojo: checking for updates from central
> [INFO] artifact org.apache.maven.plugins:maven-archetype-plugin: checking for updates from central
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/1.0-alpha-7/maven-archetype-plugin-1.0-alpha-7.pom
> 4K downloaded
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype/1.0-alpha-7/maven-archetype-1.0-alpha-7.pom
> 3K downloaded
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype-parent/2/maven-archetype-parent-2.pom
> 2K downloaded
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/5/maven-parent-5.pom
> 14K downloaded
> Downloading: http://repo1.maven.org/maven2/org/apache/apache/3/apache-3.pom
> 3K downloaded
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/1.0-alpha-7/maven-archetype-plugin-1.0-alpha-7.jar
> 12K downloaded
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Invalid task 'artifactId=manu': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace

[...]

> Cheers,
> 
> Valliet Emmanuel


Hi,

Thanks for your report and your initial investigations. I can reproduce
this error in a clean chroot, but not on my standard desktop (which is
confusing!).

I'll have a more detailed look at it soon.

Thanks,
Paul





More information about the pkg-java-maintainers mailing list