I see ^_^ Is there a jira issue opened for this? I would like to follow its development ^_^
Many thanks ^_^ -Franz On 7/20/06, Jason van Zyl <[EMAIL PROTECTED]> wrote:
On 20 Jul 06, at 5:44 AM 20 Jul 06, FA Valencia See wrote: > Good day, > That goal is not finished yet. It doesn't completely make an archetype correctly and doesn't install it. > I'm trying to study how to use maven-archetype-plugin's > create-from-projectgoal. As of now, these are the things that i know > about it: > > * it creates an archetype given an existing maven project > * you need a ${basedir}/src/main/archetype/archetype.properties and > that > needs to state the value for "package". > * it generates the following output > > > target > |-- archetype-project > | `-- src > | |-- main > | | `-- java > | | `-- <java main files> > | `-- test > | `-- java > | `-- <java test files> > |-- filtered-project > | `-- src > | |-- main > | | `-- java > | | `-- <java main files in package format> > | `-- test > | `-- java > | `-- <java test files in package format> > |-- archetype.jar > |-- archetype.xml > `-- pom.xml > > > and the archetype.jar contains the following > > > archetype.jar > |-- archetype-resources > | |-- src > | | |-- main > | | | `-- java > | | | `-- <java main files> > | | `-- test > | | `-- java > | | | `-- <java test files> > | `-- pom.xml > |-- META-INF > | |-- maven > | | `-- archetype.xml > | |-- archetype.xml > | |-- MANIFEST.MF > `-- src > |-- main > | `-- java > | `-- <java main files> > `-- test > `-- java > `-- <java test files> > > > However, what will happen now after that? Do I install it (mvn > install)? > I've tried it as well and the archetype I created via > create-from-projectcannot be detected. > > > Thus, this boils down to my very simple question, am I using the goal > properly? If not, how should I have used it? ^_^ > > > (btw, I can create an archetype using Apache Maven's Guide to Creating > Archetype<http://maven.apache.org/guides/mini/guide-creating- > archetypes.html>. > I'm just interested with how the create-from-project works.) > > Thanks a bunch ^_^ > > - Franz Jason van Zyl [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]