My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
WorkingPOM  
pom.xml with fixed dependencies including jasperreports, hibernate 3.1rc2 for successful build.
Updated May 4, 2007 by bibekshr...@gmail.com

Introduction

Please refer to following pom.xml which should successfully compile everything. Even jetty:run works ;-)

Details

<?xml version="1.0"?>
<project>
    <modelVersion>4.0.0</modelVersion>
    <groupId>net.veenas</groupId>
    <artifactId>Machapuchhre</artifactId>
    <packaging>war</packaging>
    <name>Machapuchhre Tapestry 4.1.2-SNAPSHOT Application</name>
    <version>1.0-SNAPSHOT</version>
    <build>
        <resources>
            <resource>
                <targetPath>/</targetPath>
                <filtering>true</filtering>
                <directory>src/main/meta</directory>
            </resource>
            <resource>
                <filtering>true</filtering>
                <directory>src/main/resources</directory>
            </resource>
        </resources>
        <plugins>
            <plugin>
                <artifactId>maven-war-plugin</artifactId>
                <version>2.0</version>
                <configuration>
                    <dependentWarExcludes>
                        WEB-INF/web.xml
                    </dependentWarExcludes>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.5</source>
                    <target>1.5</target>
                    <optimize>true</optimize>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.mortbay.jetty</groupId>
                <artifactId>maven-jetty-plugin</artifactId>
                <configuration>
                    <scanTargets>
                        <scanTarget>src/main/resources/</scanTarget>
                    </scanTargets>
                    <systemProperties>
                        <systemProperty>
                            <name>net.sf.ehcache.disabled</name>
                            <value>false</value>
                        </systemProperty>
                        <systemProperty>
                            <name>
                                org.apache.tapestry.disable-caching
                            </name>
                            <value>true</value>
                        </systemProperty>
                    </systemProperties>
                    <scanIntervalSeconds>10</scanIntervalSeconds>
                </configuration>
            </plugin>
        </plugins>
    </build>
    <repositories>
        <repository>
            <releases />
            <snapshots />
            <id>Maven Snapshots 2</id>
            <name>codehaus.org</name>
            <url>http://snapshots.repository.codehaus.org/</url>
        </repository>
        <repository>
            <releases />
            <snapshots />
            <id>apache.snapshots</id>
            <url>
                http://people.apache.org/repo/m2-snapshot-repository
            </url>
        </repository>
        <repository>
            <releases />
            <snapshots />
            <id>tapestry.javaforge</id>
            <url>http://howardlewisship.com/repository</url>
        </repository>
        <repository>
            <releases />
            <snapshots />
            <id>dev.java.net</id>
            <url>
                https://maven-repository.dev.java.net/nonav/repository/
            </url>
        </repository>
        <repository>
            <id>Maven Snapshots</id>
            <url>http://snapshots.maven.codehaus.org/maven2/</url>
        </repository>
    </repositories>
    <dependencies>
        <dependency>
            <groupId>commons-lang</groupId>
            <artifactId>commons-lang</artifactId>
            <version>2.2</version>
        </dependency>
        <dependency>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
            <version>1.1</version>
        </dependency>
        <dependency>
            <groupId>commons-collections</groupId>
            <artifactId>commons-collections</artifactId>
            <version>3.1</version>
        </dependency>
        <dependency>
            <groupId>commons-beanutils</groupId>
            <artifactId>commons-beanutils</artifactId>
            <version>1.7.0</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-core</artifactId>
            <version>1.2.7</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring</artifactId>
            <version>1.2.7</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-dao</artifactId>
            <version>1.2.7</version>
        </dependency>
        <dependency>
            <groupId>org.apache.maven.wagon</groupId>
            <artifactId>wagon-ftp</artifactId>
            <version>1.0-alpha-5</version>
        </dependency>
        <dependency>
            <groupId>com.javaforge.tapestry</groupId>
            <artifactId>tapestry-spring</artifactId>
            <version>0.1.2</version>
            <exclusions>
                <exclusion>
                    <artifactId>tapestry</artifactId>
                    <groupId>tapestry</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>tapestry-annotations</artifactId>
                    <groupId>tapestry</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>tapestry-contrib</artifactId>
                    <groupId>tapestry</groupId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>com.javaforge.tapestry</groupId>
            <artifactId>tapestry-prop</artifactId>
            <version>0.1.1</version>
            <exclusions>
                <exclusion>
                    <artifactId>tapestry</artifactId>
                    <groupId>tapestry</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>tapestry-annotations</artifactId>
                    <groupId>tapestry</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>tapestry-contrib</artifactId>
                    <groupId>tapestry</groupId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.apache.tapestry</groupId>
            <artifactId>tapestry-annotations</artifactId>
            <version>4.1.2-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>org.apache.tapestry</groupId>
            <artifactId>tapestry-framework</artifactId>
            <version>4.1.2-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>org.apache.tapestry</groupId>
            <artifactId>tapestry-contrib</artifactId>
            <version>4.1.2-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>org.testng</groupId>
            <artifactId>testng</artifactId>
            <version>5.1</version>
            <classifier>jdk15</classifier>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>hibernate</groupId>
            <artifactId>hibernate</artifactId>
            <version>3.1rc2</version>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.0</version>
        </dependency>
        <dependency>
            <groupId>jasperreports</groupId>
            <artifactId>jasperreports</artifactId>
            <version>1.3.3</version>
        </dependency>
    </dependencies>
</project>
Powered by Google Project Hosting