There is a free maven book.  It start you out with installing maven and then 
building a simple app.

Better Builds with Maven. It is available as a free download (.pdf).

However, is he trying to build tapestry with maven or his own app?

Which problem are we trying to solve :-)?

regards,

Mark


-----Original Message-----
From: andyhot [mailto:[EMAIL PROTECTED]
Sent: Wed 8/16/2006 5:54 PM
To: Tapestry users
Subject: Re: How to setup 4.1 MAVEN2 snapshot
 
- create a folder for your app
- copy there (and make changes) the attached pom.xml
- create subfolders src/main/java, src/main/webapp (and if you want
src/test/java )
- mvn compile, it will download all deps
- mvn eclipse:eclipse will create eclipse files

<project>
    <modelVersion>4.0.0</modelVersion>
    <groupId>my.group</groupId>
    <artifactId>my-project</artifactId>
    <packaging>war</packaging>
    <version>0.1.1-SNAPSHOT</version>
    <description>My description</description>
    <name>My project name</name>

    <dependencies>
        <dependency>
            <groupId>org.apache.tapestry</groupId>
            <artifactId>tapestry-framework</artifactId>
        <version>4.1.1-SNAPSHOT</version>
        </dependency>issue
        <dependency>
            <groupId>org.apache.tapestry</groupId>
            <artifactId>tapestry-contrib</artifactId>
        <version>4.1.1-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>org.apache.tapestry</groupId>
            <artifactId>tapestry-annotations</artifactId>
        <version>4.1.1-SNAPSHOT</version>
        </dependency>
    </dependencies>

    <repositories>
        <repository>
            <id>apache.snapshots</id>
            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
        </repository>
        <repository>
            <id>tapestry.javaforge</id>
            <url>http://howardlewisship.com/repository</url>
        </repository>
    </repositories>

    <pluginRepositories>
        <pluginRepository>
            <id>apache.snapshots</id>
            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
        </pluginRepository>
        <pluginRepository>
            <id>tapestry.javaforge</id>
            <url>http://howardlewisship.com/repository</url>
        </pluginRepository>
    </pluginRepositories>

</project>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to