[ 
http://jira.codehaus.org/browse/MNBMODULE-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=142868#action_142868
 ] 

Johan Andrén commented on MNBMODULE-31:
---------------------------------------

When I compare the two outputs it seems as though the following happens:

mvn install from masterproject:
".jar"-file is installed as "nbm"
".nbm"-file is installed as "nbm-file"

mvn install from netbeansplatform-app:
".jar"-file is installed as "jar"
".nbm"-file is installed as "nbm"


In both debug outputs I have this error (not sure if it is relevant):
[DEBUG] Error looking up lifecycle mapping to retrieve optional mojos. 
Lifecycle ID: default. Error: Component descriptor cannot be found in the 
component repository: org.apache.maven.lifecycle.mapping.LifecycleMappingnbm.


> Different behaviour when building from different root projects
> --------------------------------------------------------------
>
>                 Key: MNBMODULE-31
>                 URL: http://jira.codehaus.org/browse/MNBMODULE-31
>             Project: Maven 2.x Netbeans Module Plugin
>          Issue Type: Bug
>    Affects Versions: 2.6
>            Reporter: Johan Andrén
>            Assignee: Milos Kleint
>             Fix For: 2.7
>
>
> We have a project structure where the netbeans platform application is not 
> the root project, something like this
> masterproject
> -- netbeansplatform app
> ----suite1
> ----suite2
> ------module1
> ------module2
> All subprojects are setup as modules in the parent maven projects.
> When we build from the netbeansplatform app all modules are deployed as 
> jar-files to the maven repository, but when we run from the masterproject the 
> nbm-files instead of the jars are deployed. Since we have intermodule 
> dependencies this makes the build fail.
> Not sure about what project information to attach to the issue to help 
> resolve this.

-- 
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


Reply via email to