Jason van Zyl wrote:

On 23 Aug 06, at 4:51 PM 23 Aug 06, Dennis Lundberg wrote:

Jason van Zyl wrote:
Hi,
There are 39 issues that have been resolved since the last release of the JAR plugin: http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&pid=11137&fixfor=12241 I've also applied the most recent patches for optional archive creation.
+1
Jason van Zyl
[EMAIL PROTECTED]

I'd like to give the latest version a spin before voting.

When I tried to install it I got this error:

[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

G:\apache\maven\plugins\trunk\maven-jar-plugin\src\main\java\org\apache\maven\plugin\jar\AbstractJarMojo.java:[141,15] cannot resolve symbol
symbol  : method setForced (boolean)
location: class org.apache.maven.archiver.MavenArchiveConfiguration


This was after a fresh 2.2-SNAPSHOT of maven-archiver was downloaded:

[INFO] snapshot org.apache.maven:maven-archiver:2.2-SNAPSHOT: checking for updates from apache.snapshots Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/maven-archiver/2.2-SNAPSHOT/maven-archiver-2.2-20060810.095352-2.pom
983b downloaded
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/maven-archiver/2.2-SNAPSHOT/maven-archiver-2.2-20060810.095352-2.jar
9K downloaded


It might just be that a new snapshot of maven-archiver needs to be uploaded.


Just build them from source and you can give it a whirl.

Of course, this is always an option, but it's not an ideal one. Having to build the snapshots required to test some piece of software takes away time from the testing itself. If the person that wants something to be tested can provide as much as possible up front to the persons doing the testing, then more people will actually test it. If the dependency is sufficiently tested to warrant a [vote] thread for the product depending on it, then a snapshot of the dependency should be published in my opinion.

This is an excellent example of when this fails. I did the site update for this plugin and have a pretty good knowledge of how it works, so testing should be a breeze, right? Well, it's not.

1. Try building maven-jar-plugin - failed because the latest snapshot for maven-archiver does not include the stuff used by maven-jar-plugin

2. Check out maven-shared and try to build maven-archiver - failed because the latest snapshot of plexus-archiver does not include the stuff used by maven-archiver

3. Check out plexus-components and try to build plexus-archiver - failed because of a test that failed.

Here I am, stuck, one hour later, unable to do what I was supposed to - test maven-jar-plugin.


I have reported test failure in plexus-archiver in http://jira.codehaus.org/browse/PLX-226


--
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to