Did you ever get this working? I'm getting this error:
I'm trying to create/copy the directory structure form archetype-resources\business\core\src\main\java to business\core\src\main\java I've followed the directions here: http://maven.apache.org/guides/mini/guide-creating-archetypes.html But once I run the archetype:create command, all I get is my new project directory with a single pom.xml in it. Any ideas? bryan hansen wrote: > > I am creating a custom archetype and am not seeing a > way to have folders carried throught the archetype. I > have a source file in the resources directory such as: > > src/main/resources/archetype-resources/src/main/java/App.java > > When I run this through the archetype:create command > it will place this file under the package directory > correctly. src/main/java/com/mycompany/App.java > > I want to have some folders that get carried through > though such as: > > src/main/resources/archetype-resources/src/main/java/service/AppService.java > > so that when I run the archetype:create command it > will be placed in a folder like this: > > src/main/java/com/mycompany/service/AppService.java > > The way it is working now by putting it under the > resources directory it is building out a directory > structure and duplicating the package name underneath > it. > src/main/java/service/com/mycompany/AppService.java > > Is it possible with the archetype to have it create > the directory structure and carry it through like I > described? > > Thanks, > > Bryan > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/-m2--Archetype-packageName-directory-structure-tf1561315.html#a6209664 Sent from the Maven - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
