Subversion Repositories SmartDukaan

Rev

Rev 430 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
430 ashish 1
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
2
    <modelVersion>4.0.0</modelVersion>
3
    <groupId>in.shop2020</groupId>
4
    <artifactId>support</artifactId>
5
    <version>0.0.1-SNAPSHOT</version>
6
    <packaging>war</packaging>
7
    <name>support Tapestry 5 Application</name>
8
        <dependencies>
9
        <dependency>
10
            <groupId>org.apache.tapestry</groupId>
11
            <artifactId>tapestry-core</artifactId>
12
            <version>${tapestry-release-version}</version>
13
        </dependency>
14
        <!-- A dependency on either JUnit or TestNG is required, or the surefire plugin (which runs the tests)
15
will fail, preventing Maven from packaging the WAR. Tapestry includes a large number
16
of testing facilities designed for use with TestNG (http://testng.org/), so it's recommended. -->
17
        <dependency>
18
            <groupId>org.testng</groupId>
19
            <artifactId>testng</artifactId>
20
            <version>5.8</version>
21
            <classifier>jdk15</classifier>
22
            <scope>test</scope>
23
        </dependency>
24
 
25
        <dependency>
26
            <groupId>org.easymock</groupId>
27
            <artifactId>easymock</artifactId>
28
            <version>2.4</version>
29
            <scope>test</scope>
30
        </dependency>
31
 
32
        <!-- tapestry-test will conflict with RunJettyRun inside Eclipse. tapestry-test brings in Selenium, which
33
             is based on Jetty 5.1; RunJettyRun uses Jetty 6.
34
        <dependency>
35
            <groupId>org.apache.tapestry</groupId>
36
            <artifactId>tapestry-test</artifactId>
37
            <version>${tapestry-release-version}</version>
38
            <scope>test</scope>
39
        </dependency>
40
 
41
        -->
42
 
43
        <!-- Provided by the servlet container, but sometimes referenced in the application
44
       code. -->
45
        <dependency>
46
            <groupId>javax.servlet</groupId>
47
            <artifactId>servlet-api</artifactId>
48
            <version>2.5</version>
49
            <scope>provided</scope>
50
        </dependency>
51
 
52
    </dependencies>
53
    <build>
54
        <finalName>support</finalName>
55
        <plugins>
56
            <plugin>
57
                <groupId>org.apache.maven.plugins</groupId>
58
                <artifactId>maven-compiler-plugin</artifactId>
59
                <configuration>
60
                    <source>1.5</source>
61
                    <target>1.5</target>
62
                    <optimize>true</optimize>
63
                </configuration>
64
            </plugin>
65
 
66
            <!-- Run the application using "mvn jetty:run" -->
67
            <plugin>
68
                <groupId>org.mortbay.jetty</groupId>
69
                <artifactId>maven-jetty-plugin</artifactId>
70
                <version>6.1.9</version>
71
                <configuration>
72
                    <!-- Log to the console. -->
73
                    <requestLog implementation="org.mortbay.jetty.NCSARequestLog">
74
                        <!-- This doesn't do anything for Jetty, but is a workaround for a Maven bug
75
                             that prevents the requestLog from being set. -->
76
                        <append>true</append>
77
                    </requestLog>
78
                </configuration>
79
            </plugin>
80
        </plugins>
81
    </build>
82
 
83
    <reporting>
84
 
85
        <!-- Adds a report detailing the components, mixins and base classes defined by this module. -->
86
        <plugins>
87
            <plugin>
88
                <groupId>org.apache.tapestry</groupId>
89
                <artifactId>tapestry-component-report</artifactId>
90
                <version>${tapestry-release-version}</version>
91
                <configuration>
92
                    <rootPackage>in.shop2020.support</rootPackage>
93
                </configuration>
94
            </plugin>
95
        </plugins>
96
    </reporting>
97
 
98
    <repositories>
99
 
100
        <!-- This repository is only needed if the Tapestry released artifacts haven't made it to the central Maven repository yet. -->
101
        <repository>
102
            <id>tapestry</id>
103
            <url>http://tapestry.formos.com/maven-repository/</url>
104
        </repository>
105
 
106
        <!-- This repository is only needed when the tapestry-release-version is a snapshot release. -->
107
        <repository>
108
            <id>tapestry-snapshots</id>
109
            <url>http://tapestry.formos.com/maven-snapshot-repository/</url>
110
        </repository>
111
 
112
        <repository>
113
            <id>codehaus.snapshots</id>
114
            <url>http://snapshots.repository.codehaus.org</url>
115
        </repository>
116
        <repository>
117
            <id>OpenQA_Release</id>
118
            <name>OpenQA Release Repository</name>
119
            <url>http://archiva.openqa.org/repository/releases/</url>
120
        </repository>
121
    </repositories>
122
 
123
    <pluginRepositories>
124
 
125
        <!-- As above, this can be commented out when access to the snapshot version
126
of a Tapestry Maven plugin is not required.   -->
127
        <pluginRepository>
128
            <id>tapestry-snapshots</id>
129
            <url>http://tapestry.formos.com/maven-snapshot-repository/</url>
130
        </pluginRepository>
131
 
132
 
133
    </pluginRepositories>
134
 
135
    <properties>
136
        <tapestry-release-version>5.1.0.5</tapestry-release-version>
137
    </properties>
138
</project>