Hi,

This is caused by an Internet connectivity issue or a corrupted jar file. I
just tried building it on a clean repo and succeeded.

Thanks,
Sadeep

On Wed, Jul 6, 2011 at 2:18 PM, Tharindu Mathew <[email protected]> wrote:

> I get the following error at [1]. Deleted the specific jar and built
> online, but still getting the same.
>
> Anything that I have overlooked?
>
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building HttpCore NIO
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.3.1/maven-jar-plugin-2.3.1.pom
>
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.3.1/maven-jar-plugin-2.3.1.jar
>
> [INFO] [notice:generate {execution: attach-notice-license}]
> [INFO] Generating NOTICE and LICENSE resources
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] Copying 0 resource to META-INF
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] Copying 0 resource to META-INF
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Not compiling test sources
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Tests are skipped.
> [WARNING] POM for 'org.codehaus.plexus:plexus-io:pom:1.0:runtime' is
> invalid.
>
> Its dependencies (if any) will NOT be available to the current build.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Internal error in the plugin manager executing goal
> 'org.apache.maven.plugins:maven-jar-plugin:2.3.1:jar': Unable to load the
> mojo 'org.apache.maven.plugins:maven-jar-plugin:2.3.1:jar' in the plugin
> 'org.apache.maven.plugins:maven-jar-plugin'. A required class is missing:
> Lorg/codehaus/plexus/archiver/jar/JarArchiver;
> org.codehaus.plexus.archiver.jar.JarArchiver
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 10 seconds
> [INFO] Finished at: Wed Jul 06 14:14:12 IST 2011
> [INFO] Final Memory: 59M/343M
> [INFO]
> ------------------------------------------------------------------------
>
>
> --
> Regards,
>
> Tharindu
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - [email protected]
Mobile - +94 77 22 66 507
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to