[
http://jira.codehaus.org/browse/MOJO-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ives De Bruycker updated MOJO-1078:
-----------------------------------
Attachment: test-plugin.zip
I've created a test project for this issue, containing two modules.
mvn install in ./test-plugin/ fails with the above error.
mvn install in both ./test-plugin/java-module/ and
./test-plugin/javascript-module/ succeeds.
I've tested this with latest release available (revision 6713) for the plugin,
and Maven version 2.0.8.
> Build error when combining java and javascript module
> -----------------------------------------------------
>
> Key: MOJO-1078
> URL: http://jira.codehaus.org/browse/MOJO-1078
> Project: Mojo
> Issue Type: Bug
> Components: javascript-tools
> Environment: Maven 2.0.8, Vista, javascript-maven-plugin
> 1.0-alpha-1-SNAPSHOT
> Reporter: Ives De Bruycker
> Attachments: test-plugin.zip
>
>
> When building a project containing a java module and a javascript module, the
> build fails with the following error:
> [INFO] Internal error in the plugin manager executing goal
> 'org.apache.maven.plugins:maven-jar-plugin:2.2:jar': Unable to find the mojo
> 'org.apache.maven.plugins:maven-jar-plugin:2.2:jar' in the plugin
> 'org.apache.maven.plugins:maven-jar-plugin'
> Can not set org.codehaus.plexus.archiver.jar.JarArchiver field
> org.apache.maven.plugin.jar.AbstractJarMojo.jarArchiver to
> org.codehaus.plexus.archiver.jar.JarArchiver
> The build succeeds when only one module is included in the main POM (either
> the java or javascript module).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email