Your message dated Sat, 12 Jan 2008 10:32:23 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#458895: fixed in maven2 2.0.8-4
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
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:
[EMAIL PROTECTED]:~/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
org.apache.maven.BuildFailureException: Invalid task 'artifactId=manu': you
must specify a valid lifecycle phase, or a goal in the format plugin:goal or
pluginGroupId:pluginArtifactId:pluginVersion:goal
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1515)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:386)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:138)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Thu Jan 03 13:22:30 GMT 2008
[INFO] Final Memory: 2M/7M
[INFO] ------------------------------------------------------------------------
[EMAIL PROTECTED]:~/devel/java/sources$
After some hair scratching, I tried with the apache distribution:
[EMAIL PROTECTED]:~/devel/java/sources$ ../apache-maven-2.0.8/bin/mvn
archetype:create -DgroupId=org.homelinux.beap -DartifactId=manu
-DarchetypeArtifactId=maven-archetype-j2ee-simple
[...]
[Lot of dependencies downloads]
[...]
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 41 seconds
[INFO] Finished at: Thu Jan 03 13:27:49 GMT 2008
[INFO] Final Memory: 6M/15M
[INFO] ------------------------------------------------------------------------
For information, I emptied the maven repository each time, and I'm running the
sun JDK 6; I tried on a different machine, which has a cleaner sid
installation, but the result was te same.
I tried to investigate, but I could not find any real lead...
Maybe this one, when removing some arguments:
[EMAIL PROTECTED]:~/devel/java/sources$ mvn -e archetype:create
-DgroupId=org.homelinux.beap
+ 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
[...]
[Lot more dependencies downloads, as with the apache distribution]
[And it obviously fails, as some arguments are missing]
[...]
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error creating from archetype
Embedded error: Artifact ID must be specified when creating a new project from
an archetype.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error creating from
archetype
[...]
Caused by: org.apache.maven.plugin.MojoExecutionException: Error creating from
archetype
at
org.apache.maven.plugin.archetype.MavenArchetypeMojo.execute(MavenArchetypeMojo.java:237)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
... 16 more
Caused by: org.apache.maven.archetype.ArchetypeTemplateProcessingException:
Artifact ID must be specified when creating a new project from an archetype.
at
org.apache.maven.archetype.DefaultArchetype.createArchetype(DefaultArchetype.java:232)
at
org.apache.maven.plugin.archetype.MavenArchetypeMojo.execute(MavenArchetypeMojo.java:224)
... 18 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 2 seconds
[INFO] Finished at: Thu Jan 03 13:37:09 GMT 2008
[INFO] Final Memory: 6M/16M
[INFO] ------------------------------------------------------------------------
Som, it may be a problem with the arguments parsing, perhaps ?
Cheers,
Valliet Emmanuel
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (300, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.22
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages maven2 depends on:
ii libcommons-cli-java 1.1-1 API for working with the command l
ii libdoxia-java 1.0-alpha-7-1 a powerful content generation fram
ii libjsch-java 0.1.34ds1-1 java secure channel
ii libjtidy-java 7+svn20070309-1 a Java port of HTML Tidy, a HTML s
ii libplexus-interactivity- 1.0-alpha-6-2 interactivity API for the Plexus f
ii libplexus-utils-java 1:1.4.8-1 utilities for the Plexus framework
ii libwagon-java 1.0-beta-2-2 tools to manage Maven artifacts an
ii libxalan2-java 2.7.0-5 XSL Transformations (XSLT) process
maven2 recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: maven2
Source-Version: 2.0.8-4
We believe that the bug you reported is fixed in the latest version of
maven2, which is due to be installed in the Debian FTP archive:
maven2_2.0.8-4.diff.gz
to pool/main/m/maven2/maven2_2.0.8-4.diff.gz
maven2_2.0.8-4.dsc
to pool/main/m/maven2/maven2_2.0.8-4.dsc
maven2_2.0.8-4_all.deb
to pool/main/m/maven2/maven2_2.0.8-4_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Paul Cager <[EMAIL PROTECTED]> (supplier of updated maven2 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Fri, 11 Jan 2008 23:49:29 +0000
Source: maven2
Binary: maven2
Architecture: source all
Version: 2.0.8-4
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers
<[email protected]>
Changed-By: Paul Cager <[EMAIL PROTECTED]>
Description:
maven2 - Java software project management and comprehension tool
Closes: 458895
Changes:
maven2 (2.0.8-4) unstable; urgency=low
.
* Closes: #458895: Creating empty project with artifacts fails.
Bug appeared when version 1.1 of libcommons-cli-java was uploaded. This
new version conforms more rigorously to its API check which exposed
a bug in the Maven code. (Patch "command-line").
Files:
87da4b70f5aacfe0ecf231ed8378a584 1153 devel optional maven2_2.0.8-4.dsc
4382788947cb6d1283e174c32cd88d46 24149 devel optional maven2_2.0.8-4.diff.gz
87cfc92910c8e4d1497b7394c888e09d 696814 devel optional maven2_2.0.8-4_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHiJVTWSOgCCdjSDsRAsdFAJ9f/RocS1n2A+sMxs/WJbdEdQvzvACgg8lh
3zngMq5SvpRXeVnv+HqQrHg=
=lgOW
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
pkg-java-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers