[ https://jira.codehaus.org/browse/MNBMODULE-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesse Glick closed MNBMODULE-135. --------------------------------- Resolution: Fixed Looks like I already did this in revision 13977; just waiting for a new archetype release. > When creating NB Maven Platform Projects, child projects should be prefixed > with parent name > -------------------------------------------------------------------------------------------- > > Key: MNBMODULE-135 > URL: https://jira.codehaus.org/browse/MNBMODULE-135 > Project: Maven NetBeans Module Plugin > Issue Type: Improvement > Affects Versions: 3.5 > Reporter: Brett Ryan > Assignee: Jesse Glick > > When creating a Maven based NetBeans platform application the child projects > (branding and application) should both be prefixed by the parent projects > artifactId. > This is apparent if you start creating multiple NetBeans platform applications > with the same groupId you end up with application and branding being > duplicated. > The current workaround I employ is to perform the following: > # Create project. > # Close all three projects in NetBeans > # Rename folders for "application" and "branding" to start with the parent > projects artifactId. > # Edit parent project (root pom.xml) file and rename each "module" entry for > application and branding to those of the newly renamed folders. > # Reopen the project in NetBeans and rebuild. > Using a different groupId for projects is an incorrect assumption. The > default behaviour within this module is to use the following as defaults: > * Artifact Id: mavenproject1 > * Group Id: com.mycompany > * Package: com.mycompany.mavenproject1 > These defaults are correct for maven projects, if you take NetBeans own > modules they will all have a group ID of {{org.netbeans.modules}}. So given > the above, the child projects for branding and application should both be > created as: > * Artifact Id: mavenproject1-application > * Group Id: com.mycompany > * Package: com.mycompany.mavenproject1 > * Artifact Id: mavenproject1-branding > * Group Id: com.mycompany > * Package: com.mycompany.mavenproject1 -- This message is automatically generated by JIRA. 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