[
http://jira.codehaus.org/browse/MNBMODULE-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Milos Kleint closed MNBMODULE-27.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.7
the primary artifact is the module jar. The nbm file is only secondary as it's
only used for update center but cannot be used for building the project.
in 2.7 (not released yet but in snapshot repository) the building workflow is
slightly adjusted.
The default lifecycle only creates the jar file, no nbm file at all, you need
to add the nbm:nbm goal manually. However when you do the nbm file gets
installed/deployed alongside the module jar file.
The rule applies to creation of expanded module directory structure (used for
creation of module clusters), it's not built by default but needs to be
specified on the command line.
> Plugin deploys jar instead of nbm
> ---------------------------------
>
> Key: MNBMODULE-27
> URL: http://jira.codehaus.org/browse/MNBMODULE-27
> Project: Maven 2.x Netbeans Module Plugin
> Issue Type: Bug
> Affects Versions: 2.6
> Environment: Windows XP
> Java 1.6
> Netbeans 6.0
> Maven 2.0.7
> Reporter: Jacques Ledoux
> Assignee: Milos Kleint
> Priority: Minor
> Fix For: 2.7
>
>
> I want to wrap 3rd parties library (ies) in a nbm. Everything is fine
> working locally. Then, I want to deploy the nbm's on a local repository for
> sharing with other developpers. I use the Custom->Goals project menu item to
> define a goal.
> I does not work if I use the Custom->Goals menu item and set a deploy or
> deploy-file goal with the following options:
> version=1.0-SNAPSHOT
> url=http://software3.nertec.com:8081/artifactory/ext-snapshots
> groupId=com.trilliantnetworks.netbeans.libraries
> packaging=nbm
> repositoryId=trilliant-repository
> artifactId=aopalliance-nbm
> If I drop to command line, the following command works just fine
> C:\Prjcts\griffin\proto\Exlibs\netbeans\aopalliance\target>mvn
> deploy:deploy-file \
> -DrepositoryId=trilliant-repository
> -Durl=http://software3.nertec.com:8081/artifactory/ext-snapshots \
> -DgroupId=com.trilliantnetworks.netbeans.libraries
> -DartifactId=aopalliance-nbm \
> -Dversion=1.0-SNAPSHOT -Dpackaging=nbm
> -Dfile=aopalliance-nbm-1.0-SNAPSHOT.nbm
> Obviously, the nbm-maven-plugin is not processing all parameters correctly or
> there is something I don't understand.
> thanks
> Jacques Ledoux
--
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