Chris,

It is better to ask questions related to general Maven use not specific to m2eclipse in the Maven users mailing list. See http://maven.apache.org/mail-lists.html

Most of the information related to Maven is also located at the Maven project site and you might be able to find answer to your question at this page describing Archetype metadata files. http://maven.apache.org/plugins/maven-archetype-plugin/specification/archetype-metadata.html

 regards,
 Eugene


[EMAIL PROTECTED] wrote:
How do we make use of our own properties/variables in archetypes?

The m2eclipse plugin allows us to define properties to be used at arcetype
generation time.

The problem is, I've not see a single references as to _how_ to do this!???

For example:

        <dependency>
            <groupId>${groupId}</groupId>
            <artifactId>${projectName}Web</artifactId>
            <version>1.0-SNAPSHOT</version>
            <type>war</type>
        </dependency>

I would like to be able to define the value of the variable projectName, so, if I defined projectName = Blah, it would expand to:

            <artifactId>BlahWeb</artifactId>

-Chris


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to