Hi, Perhaps it could be related to bug 59 ( http://jira.codehaus.org/browse/ARCHETYPE-59) which is corrected in Maven 2.0.9 and archetype plugin 2.0-alpha3 ...
Regards, Sébastien Deleuze On Tue, Apr 1, 2008 at 3:37 PM, Jason Dillon <[EMAIL PROTECTED]> wrote: > Hiya, I'm having some problem getting my archetype module installed > into my local repository (haven't tried a remote deploy yet) with > a .jar extention. It always puts the archive into the repo with > a .maven-archetype ext, which causes problems when trying to actually > use the archetype: > > <snip> > [INFO] > ------------------------------------------------------------------------ > [INFO] Building GMaven Archetypes :: Basic > [INFO] task-segment: [install] > [INFO] > ------------------------------------------------------------------------ > [INFO] [enforcer:enforce {execution: default}] > [INFO] [remote-resources:process {execution: default}] > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [resources:testResources] > [INFO] Using default encoding to copy filtered resources. > [INFO] Setting property: classpath.resource.loader.class => > 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. > [INFO] Setting property: velocimacro.messages.on => 'false'. > [INFO] Setting property: resource.loader => 'classpath'. > [INFO] Setting property: resource.manager.logwhenfound => 'false'. > [INFO] [archetype:jar] > [INFO] [archetype:add-archetype-metadata] > [INFO] [archetype:integration-test] > [INFO] [install:install] > [INFO] Installing /Users/jason/ws/groovy/gmaven/gmaven-archetypes/ > gmaven-archetype-basic/target/gmaven-archetype-basic-1.0-beta-4- > SNAPSHOT.jar to /Users/jason/.m2/repository/org/codehaus/groovy/maven/ > archetypes/gmaven-archetype-basic/1.0-beta-4-SNAPSHOT/gmaven-archetype- > basic-1.0-beta-4-SNAPSHOT.maven-archetype > </snip> > > I've configured my project with the extension: > > <snip> > <build> > <extensions> > <extension> > <groupId>org.apache.maven.archetype</groupId> > <artifactId>archetype-packaging</artifactId> > <version>2.0-alpha-2</version> > </extension> > </extensions> > </build> > </snip> > > And my archetype modules are using the maven-archetype packaging. I > also tried setting the archetype plugin as an extension, but that > didn't work. > > Anyone know what is going on? > > --jason > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >