]> source.dussan.org Git - archiva.git/blob
eb7daa92ba58a3161d3b10dc8bf79fba2dc2b935
[archiva.git] /
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3     Licensed to the Apache Software Foundation (ASF) under one or more
4     contributor license agreements.  See the NOTICE file distributed with
5     this work for additional information regarding copyright ownership.
6     The ASF licenses this file to You under the Apache License, Version 2.0
7     (the "License"); you may not use this file except in compliance with
8     the License.  You may obtain a copy of the License at
9
10        http://www.apache.org/licenses/LICENSE-2.0
11
12     Unless required by applicable law or agreed to in writing, software
13     distributed under the License is distributed on an "AS IS" BASIS,
14     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15     See the License for the specific language governing permissions and
16     limitations under the License.
17 -->
18
19 <project xmlns="http://maven.apache.org/POM/4.0.0"
20          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
22
23     <modelVersion>4.0.0</modelVersion>
24     
25     <parent>
26         <groupId>org.apache.geronimo.genesis.config</groupId>
27         <artifactId>project-config</artifactId>
28         <version>1.1-SNAPSHOT</version>
29     </parent>
30     
31     <groupId>org.apache.geronimo.daytrader</groupId>
32     <artifactId>daytrader</artifactId>
33     <name>DayTrader :: Performance Benchmark Sample</name>
34     <packaging>pom</packaging>
35     <version>2.0-SNAPSHOT</version>
36     <description>J2EE 1.4 Performance Benchmark Sample Application</description>
37     <issueManagement>
38         <system>jira</system>
39         <url>http://issues.apache.org/jira/browse/GERONIMO</url>
40     </issueManagement>
41     <ciManagement>
42         <system>continuum</system>
43         <url>http://ci.gbuild.org/continuum</url>
44         <notifiers>
45             <notifier>
46                 <configuration>
47                     <address>scm@geronimo.apache.org</address>
48                 </configuration>
49             </notifier>
50         </notifiers>
51     </ciManagement>
52     <inceptionYear>2005</inceptionYear>
53
54     <developers>
55         <developer>
56             <name>Jeff Genender</name>
57             <id>jgenender</id>
58             <email>jgenender@apache.org</email>
59             <organization>Apache Software Foundation</organization>
60             <roles>
61                 <role>Development</role>
62             </roles>
63             <timezone>+7</timezone>
64         </developer>
65         <developer>
66             <name>Matt Hogstrom</name>
67             <id>hogstrom</id>
68             <email>hogstrom@apache.org</email>
69             <organization>Apache Software Foundation</organization>
70             <roles>
71                 <role>Performance Analysis</role>
72             </roles>
73             <timezone>+5</timezone>
74         </developer>
75         <developer>
76             <name>Vincent Massol</name>
77             <id>vmassol</id>
78             <email>vmassol@apache.org</email>
79             <organization>Apache Software Foundation</organization>
80             <roles>
81                 <role>Build Engineer</role>
82             </roles>
83             <timezone>+1</timezone>
84         </developer>
85     </developers>
86     <contributors>
87         <contributor>
88             <name>Christopher Blythe</name>
89             <roles>
90                 <role>Added code to improve stability and new features</role>
91             </roles>
92         </contributor>
93         <contributor>
94             <name>Stan (John) Cox</name>
95             <roles>
96                 <role>Original Developer</role>
97             </roles>
98             <timezone>+5</timezone>
99         </contributor>
100         <contributor>
101             <name>Andrew Spyker</name>
102             <roles>
103                 <role>Added the WSAppClient</role>
104             </roles>
105             <timezone>+5</timezone>
106         </contributor>
107     </contributors>
108     <dependencies/>
109     <scm>
110         <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/</connection>
111         <developerConnection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/</developerConnection>
112         <url>http://svn.apache.org/viewcvs.cgi/geronimo/gbuild/trunk/</url>
113     </scm>
114     <organization>
115         <name>Apache Software Foundation</name>
116         <url>http://www.apache.org/</url>
117     </organization>
118     <modules>
119         <module>modules/ejb</module>
120         <module>modules/web</module>
121         <module>modules/streamer</module>
122         <module>modules/wsappclient</module>
123         <module>modules/ear</module>
124     </modules>
125     <dependencyManagement>
126         <dependencies>
127             <dependency>
128                 <groupId>org.apache.geronimo.specs</groupId>
129                 <artifactId>geronimo-ejb_2.1_spec</artifactId>
130                 <version>[1.0,2.0)</version>
131                 <scope>provided</scope>
132             </dependency>
133             <dependency>
134                 <groupId>org.apache.geronimo.specs</groupId>
135                 <artifactId>geronimo-jaxrpc_1.1_spec</artifactId>
136                 <version>[1.0,2.0)</version>
137                 <scope>provided</scope>
138             </dependency>
139             <dependency>
140                 <groupId>org.apache.geronimo.specs</groupId>
141                 <artifactId>geronimo-jms_1.1_spec</artifactId>
142                 <version>[1.0,2.0)</version>
143                 <scope>provided</scope>
144             </dependency>
145             <dependency>
146                 <groupId>org.apache.geronimo.specs</groupId>
147                 <artifactId>geronimo-qname_1.1_spec</artifactId>
148                 <version>[1.0,2.0)</version>
149                 <scope>provided</scope>
150             </dependency>
151             <dependency>
152                 <groupId>org.apache.geronimo.specs</groupId>
153                 <artifactId>geronimo-servlet_2.4_spec</artifactId>
154                 <version>[1.0,2.0)</version>
155                 <scope>provided</scope>
156             </dependency>
157             <dependency>
158                 <groupId>org.apache.geronimo.specs</groupId>
159                 <artifactId>geronimo-jsp_2.0_spec</artifactId>
160                 <version>[1.0,2.0)</version>
161                 <scope>provided</scope>
162             </dependency>
163             <dependency>
164                 <groupId>org.apache.geronimo.specs</groupId>
165                 <artifactId>geronimo-jpa_3.0_spec</artifactId>
166                 <version>1.0-SNAPSHOT</version>
167                 <scope>provided</scope>
168             </dependency>
169             <dependency>
170                 <groupId>org.apache.openjpa</groupId>
171                 <artifactId>openjpa-all</artifactId>
172                 <version>0.9.6-incubating</version>
173                 <scope>provided</scope>
174             </dependency>
175             <dependency>
176                 <groupId>commons-logging</groupId>
177                 <artifactId>commons-logging</artifactId>
178                 <version>1.0.3</version>
179             </dependency>
180             <dependency>
181                 <groupId>junit</groupId>
182                 <artifactId>junit</artifactId>
183                 <version>3.8.1</version>
184             </dependency>
185         </dependencies>
186     </dependencyManagement>
187     <build>
188
189         <plugins>
190             <plugin>
191                 <groupId>org.apache.geronimo.genesis.plugins</groupId>
192                 <artifactId>tools-maven-plugin</artifactId>
193                 <executions>
194                     <execution>
195                         <id>validate-java-version</id>
196                         <phase>validate</phase>
197                         <goals>
198                             <goal>require-java-version</goal>
199                         </goals>
200                         <configuration>
201                             <version>1.5*</version>
202                         </configuration>
203                     </execution>
204
205                     <!--
206                     NOTE: This will copy LICENSE.txt and NOTICE.txt to classes/META-INF.
207
208                           Its a itty-bitty HACK to avoid adding resource definitions to
209                           the build, which causes the Eclipse plugin to generate invalid
210                           .classpath files. :-(
211                     -->
212                     <execution>
213                         <id>install-legal-files</id>
214                         <phase>generate-resources</phase>
215                         <goals>
216                             <goal>copy-legal-files</goal>
217                         </goals>
218                     </execution>
219                 </executions>
220             </plugin>
221
222             <plugin>
223                 <groupId>org.apache.maven.plugins</groupId>
224                 <artifactId>maven-compiler-plugin</artifactId>
225                 <configuration>
226                     <source>1.5</source>
227                     <target>1.5</target>
228                 </configuration>
229             </plugin>
230
231             <plugin>
232                 <groupId>org.apache.maven.plugins</groupId>
233                 <artifactId>maven-idea-plugin</artifactId>
234                 <configuration>
235                     <jdkName>1.5</jdkName>
236                     <linkModules>true</linkModules>
237                 </configuration>
238             </plugin>
239
240             <plugin>
241                 <groupId>org.apache.maven.plugins</groupId>
242                 <artifactId>maven-javadoc-plugin</artifactId>
243                 <configuration>
244                     <source>1.5</source>
245                 </configuration>
246             </plugin>
247
248             <plugin>
249                 <groupId>org.apache.maven.plugins</groupId>
250                 <artifactId>maven-release-plugin</artifactId>
251                 <configuration>
252                     <tagBase>https://svn.apache.org/repos/asf/geronimo/daytrader/tags</tagBase>
253                 </configuration>
254             </plugin>
255         </plugins>
256     </build>
257     
258     <repositories>
259         <!--
260         NOTE: The default repositories are picked up by Genesis, but need to
261               specify where Genesis lives to pick it up + any additional repositories.
262         -->
263         <repository>
264             <id>apache-snapshots</id>
265             <name>Apache Snapshots Repository</name>
266             <url>http://people.apache.org/repo/m2-snapshot-repository</url>
267             <layout>default</layout>
268             <snapshots>
269                 <enabled>true</enabled>
270                 <updatePolicy>daily</updatePolicy>
271                 <checksumPolicy>ignore</checksumPolicy>
272             </snapshots>
273             <releases>
274                 <enabled>false</enabled>
275             </releases>
276         </repository>
277     </repositories>
278     
279     <profiles>
280
281         <profile>
282             <id>db2</id>
283             <activation>
284                 <activeByDefault>true</activeByDefault>
285                 <property>
286                     <name>database</name>
287                     <value>db2</value>
288                 </property>
289             </activation>
290             <properties>
291                 <jboss.mapping>DB2</jboss.mapping>
292             </properties>
293         </profile>
294
295         <profile>
296             <id>mysql</id>
297             <activation>
298                 <property>
299                     <name>database</name>
300                     <value>mysql</value>
301                 </property>
302             </activation>
303             <properties>
304                 <jboss.mapping>mySQL</jboss.mapping>
305             </properties>
306         </profile>
307
308         <profile>
309             <id>test</id>
310             <modules>
311                 <module>functional-tests</module>
312             </modules>
313         </profile>
314     </profiles>
315 </project>