maven-jar-plugin

Sooner or later, everyone must learn Maven. When you look around for software nowdays, places like java.net don't even provide for downloads anymore because it's assumed that your project builds using a tool that can pull anything you need from a repository.

There's a lot more to say here, so this article is emerging in the sense that I'll come back in to add or change stuff over the next few months.

As I'm at the beginning of my now-intimate association with Maven, this article would not be complete without a small rant. When the subdirectory relationships for Java development were set up, a not inconsiderable mess was created. Over the years, Eclipse worked to abbreviate the mess in order to alleviate the developer's burden. And, it didn't have to do this since being an IDE, it already helped navigate what at the command line was a nightmare.

Maven undoes all of this by reintroducing pointless, repetitive hierarchy. I'm looking forward to Eclipse developers integrating Maven more tightly to alleviate this.

After some random notes on which Maven plug-ins to use with Eclipse, where to get it, etc. you'll find here, you'll find the following step-by-step useful. Pay special attention to the first few steps of "Walk the walk. "

There are a number of tutorials around that can help you set up and use Maven. They work especially well for simple projects, but not for web application projects where they all seem to fail miserably. This might be due to their age, to mistakes, etc., or it might even say more about my lameness than about the tutorials, but I find these instructions the most useful.

These instructions will not, however, get you up and running in a web application using Facelets or even JSF. For that, you need to know the JAR dependencies. Get those wrong, and your project is little more than mush.

As noted, this assumes you've set up the following—in order. If you're missing anything, go to the link.

Much of the following are something you'll issue from the command line in Linux and even DOS (Windows). Arguably, Maven swims better from the command line than from inside of Eclipse. That's going to change, I suspect, and my perception is also partly due to inexperience. However, many Maven users tell me they do stuff from the command line rather than from Eclipse.

Each time you invoke Maven from the command line (or, if from Eclipse, in the Console view), you'll see a huge number of barely understandable status lines go by. Over time, you'll come to understand what they mean, but at first, they're rather bewildering.

The thing to look for are lines that say failure that do not next go on to try something else as a solution. When you see "BUILD FAILED", you are in trouble. What happens if that occurs during these exercises? It's not likely if you've set up your toolstack (Java and Maven) correctly. And Maven excels at setting up a stub project from scratch. However, if it's unable to reach its repository(ies) over the Internet, you'll see that. If you don't have certain things set up (such as are mentioned on that notes page for Maven above), this will be the result.

I would suggest that if something goes awry, you do not try to import the Eclipse project. Wait until you get no failures (which will probably be right off) and what's inside looks good. That assumes you already know what you're doing in Eclipse Web Tools Platform. But, be prepared for some substantial differences.

  1. Create new project stub. This doesn't have to be done anywhere specific. Remember, you'll be importing this project into Eclipse, but you'll probably want to place this project in an appropriate location for development. In my case, that's usually going to be a Subversion-controlled location, so I'm not doing this on /tmp because it's important where it goes—just not important to Eclipse where it lives.
  2. Edit pom.xml to add dependencies and plugins to be used. For doing serious web-application development, this is the real trick: you've got to get just the right set to make JSP, JSF, Facelets, etc. work. You can also just use a larger framework such as Seam or Spring, in which case, either this bit will already be done for you or, at very least, they'll tell you what to put in here.

Actually, if you set up m2eclipse, you can get prefabricated archetypes that do various such things and write the pom.xml for you. I haven't always been happy or successful with that, and you have to know just what you want based on a name. It's part of the Maven integration with Eclipse, which is not really the object here.

  • Create the Java code folder. This is a task that's inexplicably missing from the maven-archetype-webapp goal in the first place. If you don't do this, you may be quite frustrated later when you add your first source code (Java) package. First, you won't know where to do it. Second, you'll do it in the usual place (if you're develop using the Eclipse Dynamic Web Project) and realize that you did it in the wrong place. Do it here and now before setting up the Eclipse project (next step).
  • Use Maven to create an Eclipse project:
  • Import the new project into Eclipse using File -> Import -> General -> Existing Projects into Workspace . You might not want to copy the project sources into the workspace. There's an option to do that. I resist this because a) I might be updating and committing this project via Subversion and b) I might want to continue to do work on it from the command line via Maven.
  • Begin modifying the various support files appropriately:

    and adding JSPs, xHTMLs, etc.:

  • Add Java code, in particular, the backing bean(s) for the JSPs/JSFs above.
  • When done, deploy thus:
  • Any time you think something's gone south between Maven and Eclipse, you can do this:

    . followed by a refresh of your Eclipse project (select the project, then press F5).

    When you create a new project, there are different aspects that you tell Maven about. These include:


    maven-jar-plugin

    Maven-jar-plugin

    This message will be pushed to the admin's iPhone instantly.

    There is a nice Maven plugin helping you signing your Android app – the Maven Jar Signer Plugin. If you want to learn more about Maven integration in an android project take a look at this article.

    Add the following code to your pom.xml

    Trigger the profile with the following command

    • jarsigner:sign – signs your project’s artifacts
    • jarsigner:verify – verifies the project’s artifact

    Maven-jar-pluginNo Responses Yet

    Maven-jar-plugin

    (If your comment requires moderation it will be added soon.)


    Build failed in Hudson: plugins-IT-with-maven-2.0.x » Maven JAR Plugin #3

    [INFO] Building Maven JAR Plugin

    [INFO] task-segment: [clean, deploy]

    [INFO] Deleting directory http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target

    [INFO] Using 2 extractors.

    [INFO] Applying extractor for language: java

    [INFO] Extractor for language: java found 4 mojo descriptors.

    [INFO] Applying extractor for language: bsh

    [INFO] Extractor for language: bsh found 0 mojo descriptors.

    [INFO] Using 2 extractors.

    [INFO] Applying extractor for language: java

    [INFO] Extractor for language: java found 5 mojo descriptors.

    [INFO] Applying extractor for language: bsh

    [INFO] Extractor for language: bsh found 0 mojo descriptors.

    [INFO] Using encoding: &#3&;UTF-8' to copy filtered resources.

    [INFO] Compiling 6 source files to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/classes

    [INFO] Using encoding: &#3&;UTF-8' to copy filtered resources.

    [INFO] Compiling 4 source files to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/test-classes

    [INFO] Surefire report directory: http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/surefire-reports

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] Executing: /bin/sh -c "cd /tmp &9amp; /opt/java/sdk/1.5/jre/../bin/jarsigner -verify /tmp/signed/file-version.jar"

    [info] jar verified.

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] Executing: /bin/sh -c "cd /tmp &9amp; /opt/java/sdk/1.5/jre/../bin/jarsigner -verify /tmp/signed/file-version.jar"

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] Executing: /bin/sh -c "cd /tmp &9amp; /opt/java/sdk/1.5/jre/../bin/jarsigner -verify -verbose -certs /tmp/signed/file-version.jar"

    [info] jar verified.

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] Executing: /bin/sh -c "cd /tmp &9amp; /opt/java/sdk/1.5/jre/../bin/jarsigner -verify /tmp/signed/file-version.jar"

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] Executing: /bin/sh -c "cd /tmp &9amp; /opt/java/sdk/1.5/jre/../bin/jarsigner -verify /tmp/signed/file-version.jar"

    [info] jar is unsigned.

    Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.066 sec

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] mdkirs: false /tmp

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] mdkirs: false /tmp

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] Executing: /bin/sh -c "cd /tmp &9amp; /opt/java/sdk/1.5/jre/../bin/jarsigner -verify /tmp/signed.jar"

    [info] jar verified.

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] Signing JAR in-place (overwritting original JAR).

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] Executing: /bin/sh -c "cd /tmp &9amp; /opt/java/sdk/1.5/jre/../bin/jarsigner -verify /tmp/null.jar"

    [info] jar verified.

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] mdkirs: false /tmp

    [info] JAR /tmp/signed.jar is already signed. Skipping.

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] mdkirs: false /tmp

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] mdkirs: false /tmp

    Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.054 sec

    Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.481 sec

    [INFO] Building jar: http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/maven-jar-plugin-2.3-SNAPSHOT.jar

    [INFO] Installing http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/pom.xml to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/plugins/maven-jar-plugin/2.3-SNAPSHOT/maven-jar-plugin-2.3-SNAPSHOT.pom

    [INFO] Installing http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/maven-jar-plugin-2.3-SNAPSHOT.jar to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/plugins/maven-jar-plugin/2.3-SNAPSHOT/maven-jar-plugin-2.3-SNAPSHOT.jar

    [INFO] Building: MJAR-30-excludes/pom.xml

    [INFO] Building: mjar-71-01/pom.xml

    [INFO] Building: MJAR-80-exclude/pom.xml

    [INFO] Building: MJAR-70-recreation/pom.xml

    [INFO] . FAILED[verify script returned false].

    [INFO] Building: MJAR-80-fullcontent/pom.xml

    [INFO] Building: mjar-71-02/pom.xml

    [INFO] Building: mjar-90/pom.xml

    [INFO] Building: MJAR-30-include/pom.xml

    [INFO] Building: MJAR-82/pom.xml

    [INFO] Building: MJAR-70-no-recreation/pom.xml

    [INFO] . FAILED[verify script returned false].

    [INFO] Building: MJAR-80-include/pom.xml

    [INFO] Building: manifest-content/pom.xml

    [INFO] Building: MJAR-30-fullcontent/pom.xml

    [INFO] Building: project-004/pom.xml

    [INFO] Building: MJAR-60/pom.xml

    Builds Passing: 13

    Builds Failing: 2

    [HUDSON] Archiving http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/maven-jar-plugin-2.3-SNAPSHOT.jar to /home/hudson/.hudson/jobs/plugins-IT-with-maven-2.0.x/modules/org.apache.maven.plugins$maven-jar-plugin/builds/2008-10-10_16-38-26/archive/org.apache.maven.plugins/maven-jar-plugin/2.3-SNAPSHOT/maven-jar-plugin-2.3-SNAPSHOT.jar

    [INFO] Building Maven JAR Plugin

    [INFO] task-segment: [clean, deploy]

    [INFO] Deleting directory http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target

    [INFO] Using 2 extractors.

    [INFO] Applying extractor for language: java

    [INFO] Extractor for language: java found 4 mojo descriptors.

    [INFO] Applying extractor for language: bsh

    [INFO] Extractor for language: bsh found 0 mojo descriptors.

    [INFO] Using 2 extractors.

    [INFO] Applying extractor for language: java

    [INFO] Extractor for language: java found 5 mojo descriptors.

    [INFO] Applying extractor for language: bsh

    [INFO] Extractor for language: bsh found 0 mojo descriptors.

    [INFO] Using encoding: &#3&;UTF-8' to copy filtered resources.

    [INFO] Compiling 6 source files to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/classes

    [INFO] Using encoding: &#3&;UTF-8' to copy filtered resources.

    [INFO] Compiling 4 source files to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/test-classes

    [INFO] Surefire report directory: http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/surefire-reports

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] Executing: /bin/sh -c "cd /tmp &9amp; /opt/java/sdk/1.5/jre/../bin/jarsigner -verify /tmp/signed/file-version.jar"

    [info] jar verified.

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] Executing: /bin/sh -c "cd /tmp &9amp; /opt/java/sdk/1.5/jre/../bin/jarsigner -verify /tmp/signed/file-version.jar"

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] Executing: /bin/sh -c "cd /tmp &9amp; /opt/java/sdk/1.5/jre/../bin/jarsigner -verify -verbose -certs /tmp/signed/file-version.jar"

    [info] jar verified.

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] Executing: /bin/sh -c "cd /tmp &9amp; /opt/java/sdk/1.5/jre/../bin/jarsigner -verify /tmp/signed/file-version.jar"

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] Executing: /bin/sh -c "cd /tmp &9amp; /opt/java/sdk/1.5/jre/../bin/jarsigner -verify /tmp/signed/file-version.jar"

    [info] jar is unsigned.

    Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.065 sec

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] mdkirs: false /tmp

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] mdkirs: false /tmp

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] Executing: /bin/sh -c "cd /tmp &9amp; /opt/java/sdk/1.5/jre/../bin/jarsigner -verify /tmp/signed.jar"

    [info] jar verified.

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] Signing JAR in-place (overwritting original JAR).

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] Executing: /bin/sh -c "cd /tmp &9amp; /opt/java/sdk/1.5/jre/../bin/jarsigner -verify /tmp/null.jar"

    [info] jar verified.

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] mdkirs: false /tmp

    [info] JAR /tmp/signed.jar is already signed. Skipping.

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] mdkirs: false /tmp

    [debug] jarsigner executable=[/opt/java/sdk/1.5/jre/../bin/jarsigner]

    [debug] mdkirs: false /tmp

    Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.059 sec

    Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.54 sec

    [INFO] Building jar: http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/maven-jar-plugin-2.3-SNAPSHOT.jar

    [INFO] Installing http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/pom.xml to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/plugins/maven-jar-plugin/2.3-SNAPSHOT/maven-jar-plugin-2.3-SNAPSHOT.pom

    [INFO] Installing http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/maven-jar-plugin-2.3-SNAPSHOT.jar to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/plugins/maven-jar-plugin/2.3-SNAPSHOT/maven-jar-plugin-2.3-SNAPSHOT.jar

    [INFO] Installing /home/hudson/repos/maven-plugins/org/apache/maven/maven-plugin-api/2.0.6/maven-plugin-api-2.0.6.jar to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/maven-plugin-api/2.0.6/maven-plugin-api-2.0.6.jar

    [INFO] Installing /home/hudson/repos/maven-plugins/org/apache/maven/maven-plugin-api/2.0.6/maven-plugin-api-2.0.6.pom to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/maven-plugin-api/2.0.6/maven-plugin-api-2.0.6.pom

    [INFO] Installing /home/hudson/repos/maven-plugins/org/apache/maven/maven-project/2.0.7/maven-project-2.0.7.jar to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/maven-project/2.0.7/maven-project-2.0.7.jar

    [INFO] Installing /home/hudson/repos/maven-plugins/org/apache/maven/maven-project/2.0.7/maven-project-2.0.7.pom to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/maven-project/2.0.7/maven-project-2.0.7.pom

    [INFO] Installing /home/hudson/repos/maven-plugins/org/apache/maven/maven-settings/2.0.7/maven-settings-2.0.7.jar to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/maven-settings/2.0.7/maven-settings-2.0.7.jar

    [INFO] Installing /home/hudson/repos/maven-plugins/org/apache/maven/maven-settings/2.0.7/maven-settings-2.0.7.pom to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/maven-settings/2.0.7/maven-settings-2.0.7.pom

    [INFO] Installing /home/hudson/repos/maven-plugins/org/apache/maven/maven-model/2.0.7/maven-model-2.0.7.jar to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/maven-model/2.0.7/maven-model-2.0.7.jar

    [INFO] Installing /home/hudson/repos/maven-plugins/org/apache/maven/maven-model/2.0.7/maven-model-2.0.7.pom to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/maven-model/2.0.7/maven-model-2.0.7.pom

    [INFO] Installing /home/hudson/repos/maven-plugins/org/codehaus/plexus/plexus-utils/1.4.9/plexus-utils-1.4.9.jar to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/codehaus/plexus/plexus-utils/1.4.9/plexus-utils-1.4.9.jar

    [INFO] Installing /home/hudson/repos/maven-plugins/org/codehaus/plexus/plexus-utils/1.4.9/plexus-utils-1.4.9.pom to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/codehaus/plexus/plexus-utils/1.4.9/plexus-utils-1.4.9.pom

    [INFO] Installing /home/hudson/repos/maven-plugins/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.jar to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.jar

    [INFO] Installing /home/hudson/repos/maven-plugins/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.pom to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.pom

    [INFO] Installing /home/hudson/repos/maven-plugins/junit/junit/3.8.2/junit-3.8.2.jar to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/junit/junit/3.8.2/junit-3.8.2.jar

    [INFO] Installing /home/hudson/repos/maven-plugins/junit/junit/3.8.2/junit-3.8.2.pom to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/junit/junit/3.8.2/junit-3.8.2.pom

    [INFO] Installing /home/hudson/repos/maven-plugins/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar

    [INFO] Installing /home/hudson/repos/maven-plugins/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.pom to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.pom

    [INFO] Installing /home/hudson/repos/maven-plugins/org/apache/maven/maven-profile/2.0.7/maven-profile-2.0.7.jar to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/maven-profile/2.0.7/maven-profile-2.0.7.jar

    [INFO] Installing /home/hudson/repos/maven-plugins/org/apache/maven/maven-profile/2.0.7/maven-profile-2.0.7.pom to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/maven-profile/2.0.7/maven-profile-2.0.7.pom

    [INFO] Installing /home/hudson/repos/maven-plugins/org/apache/maven/maven-artifact-manager/2.0.7/maven-artifact-manager-2.0.7.jar to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/maven-artifact-manager/2.0.7/maven-artifact-manager-2.0.7.jar

    [INFO] Installing /home/hudson/repos/maven-plugins/org/apache/maven/maven-artifact-manager/2.0.7/maven-artifact-manager-2.0.7.pom to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/maven-artifact-manager/2.0.7/maven-artifact-manager-2.0.7.pom

    [INFO] Installing /home/hudson/repos/maven-plugins/org/apache/maven/maven-repository-metadata/2.0.7/maven-repository-metadata-2.0.7.jar to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/maven-repository-metadata/2.0.7/maven-repository-metadata-2.0.7.jar

    [INFO] Installing /home/hudson/repos/maven-plugins/org/apache/maven/maven-repository-metadata/2.0.7/maven-repository-metadata-2.0.7.pom to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/maven-repository-metadata/2.0.7/maven-repository-metadata-2.0.7.pom

    [INFO] Installing /home/hudson/repos/maven-plugins/org/apache/maven/maven-artifact/2.0.7/maven-artifact-2.0.7.jar to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/maven-artifact/2.0.7/maven-artifact-2.0.7.jar

    [INFO] Installing /home/hudson/repos/maven-plugins/org/apache/maven/maven-artifact/2.0.7/maven-artifact-2.0.7.pom to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/maven-artifact/2.0.7/maven-artifact-2.0.7.pom

    [INFO] Installing /home/hudson/repos/maven-plugins/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.jar to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.jar

    [INFO] Installing /home/hudson/repos/maven-plugins/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.pom to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.pom

    [INFO] Installing /home/hudson/repos/maven-plugins/org/apache/maven/maven-plugin-registry/2.0.7/maven-plugin-registry-2.0.7.jar to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/maven-plugin-registry/2.0.7/maven-plugin-registry-2.0.7.jar

    [INFO] Installing /home/hudson/repos/maven-plugins/org/apache/maven/maven-plugin-registry/2.0.7/maven-plugin-registry-2.0.7.pom to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/maven-plugin-registry/2.0.7/maven-plugin-registry-2.0.7.pom

    [INFO] Installing /home/hudson/repos/maven-plugins/org/apache/maven/maven-archiver/2.4-SNAPSHOT/maven-archiver-2.4-SNAPSHOT.jar to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/maven-archiver/2.4-SNAPSHOT/maven-archiver-2.4-20081010.223415-588.jar

    [INFO] Installing /home/hudson/repos/maven-plugins/org/apache/maven/maven-archiver/2.4-SNAPSHOT/maven-archiver-2.4-20081010.223415-588.pom to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/apache/maven/maven-archiver/2.4-SNAPSHOT/maven-archiver-2.4-20081010.223415-588.pom

    [INFO] Installing /home/hudson/repos/maven-plugins/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/plexus-archiver-1.0-alpha-9.jar to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/plexus-archiver-1.0-alpha-9.jar

    [INFO] Installing /home/hudson/repos/maven-plugins/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/plexus-archiver-1.0-alpha-9.pom to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/plexus-archiver-1.0-alpha-9.pom

    [INFO] Installing /home/hudson/repos/maven-plugins/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.jar to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.jar

    [INFO] Installing /home/hudson/repos/maven-plugins/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.pom to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.pom

    [INFO] Installing /home/hudson/repos/maven-plugins/org/codehaus/plexus/plexus-interpolation/1.5/plexus-interpolation-1.5.jar to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/codehaus/plexus/plexus-interpolation/1.5/plexus-interpolation-1.5.jar

    [INFO] Installing /home/hudson/repos/maven-plugins/org/codehaus/plexus/plexus-interpolation/1.5/plexus-interpolation-1.5.pom to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/org/codehaus/plexus/plexus-interpolation/1.5/plexus-interpolation-1.5.pom

    [INFO] Installing /home/hudson/repos/maven-plugins/commons-lang/commons-lang/2.1/commons-lang-2.1.jar to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/commons-lang/commons-lang/2.1/commons-lang-2.1.jar

    [INFO] Installing /home/hudson/repos/maven-plugins/commons-lang/commons-lang/2.1/commons-lang-2.1.pom to http://ci.sonatype.org/job/plugins-IT-with-maven-2.0.x/org.apache.maven.plugins$maven-jar-plugin/ws/target/local-repo/commons-lang/commons-lang/2.1/commons-lang-2.1.pom

    [WARNING] Filtering of parent/child POMs is not supported without cloning the projects

    [INFO] Building: MJAR-30-excludes/pom.xml

    [INFO] Building: mjar-71-01/pom.xml

    [INFO] Building: MJAR-80-exclude/pom.xml

    [INFO] Building: MJAR-70-recreation/pom.xml

    [INFO] . FAILED. The post-build script returned false.

    [INFO] Building: MJAR-80-fullcontent/pom.xml

    [INFO] Building: mjar-71-02/pom.xml

    [INFO] Building: mjar-90/pom.xml

    [INFO] Building: MJAR-30-include/pom.xml

    [INFO] Building: MJAR-82/pom.xml

    [INFO] Building: MJAR-70-no-recreation/pom.xml

    [INFO] . FAILED. The post-build script returned false.