
open-archetypes - issue #9
Default package name should be org.group.artifact instead of org.group only
What steps will reproduce the problem?
- run mvn archetype:generate -DarchetypeCatalog=http://open-archetypes.googlecode.com/svn/snapshots-repository/archetype-catalog.xml
- type archetype : 2, groupId net.reizz, artifactId bel, version as default
[INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0) Choose archetype: 1: http://open-archetypes.googlecode.com/svn/snapshots-repository/archetype-catalog.xml -> multi-javaee5-archetype (Generates a very basic multi module Java EE 5 project composed of a parent pom pro ject and 4 nested modules : Java Utility, EJB 3.0, Web 2.5 and EAR 5.0. No JSF nor persistence involved) 2: http://open-archetypes.googlecode.com/svn/snapshots-repository/archetype-catalog.xml -> seam-ear-archetype (Generates a multi module JBoss Seam project composed of a parent pom project and 5 nested modules : Java Utility, EJB 3.0, Web 2.5, EAR 5.0 and an integration test project (runs embedded JBoss tests).) Choose a number: (1/2): 2 [INFO] snapshot org.openarchetypes:seam-ear-archetype:0.0.1-SNAPSHOT: checking for updates from seam-ear-archetype-repo [INFO] snapshot org.openarchetypes:seam-ear-archetype:0.0.1-SNAPSHOT: checking for updates from snapshots.jboss.org Define value for groupId: : net.reizz Define value for artifactId: : bel Define value for version: 1.0-SNAPSHOT: : Define value for package: net.reizz: :
What is the expected output? What do you see instead?
Define value for package: net.reizz.bel: :
What maven archetype are you using? On what operating system? (select labels accordingly)
org.openarchetypes:seam-ear-archetype:0.0.1-SNAPSHOT on Windows Vista 32 java 1.6.0_18
Please provide any additional information below.
Comment #1
Posted on Jan 28, 2010 by Happy RhinoFranck,
I agree 100% with you on the subject, this is really annoying. Unfortunately there's nothing I can do (I tried), I'm sorry. The default pattern for package is set in the maven-archetype-plugin, which uses groupId.
I suggest you file an enhancement request at http://jira.codehaus.org/browse/ARCHETYPE
regards,
Fred Bricon
Status: WontFix
Labels:
Type-Enhancement
Priority-Medium