You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by rmatthews <rm...@nakedobjects.org> on 2009/04/17 21:48:30 UTC

Installing a generated archetype

Hi

I have a set of modules that I create an archetype from using the following
binding

    <build>
        <plugins>
            <plugin>
                <artifactId>maven-archetype-plugin</artifactId>
                <executions>
                    <execution>
                        <id>generate</id>
                        <phase>package</phase>
                        <goals>
                          <goal>create-from-project</goal>
                        </goals>
                        <inherited>false</inherited>
                        <configuration>
                           
<archetype.filteredExtensions>java</archetype.filteredExtensions>
                        </configuration>
                      </execution>
                 </executions>
            </plugin>
        </plugins>
    </build>
	
so that it is created during the package phase.  What I want to do now is to
install the results in the repository as part of the lifecycle.  The only
thing I know how to do at the moment is to manually go the generated source
directory within target and run mvn install.  How can I specify this in the
pom so it is done automatically.

Thanks again

Robert Matthews
-- 
View this message in context: http://www.nabble.com/Installing-a-generated-archetype-tp23104763p23104763.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org