root/trunk/pom.xml

Revision 3537 (checked in by douglm, 1 year ago)

Two intertwined updates here.

Most projects are changed to go some way towards maven. Use maven-ant tasks to deal with build dependencies. Mostly chnages to build.xml and the additon of pom.xml.

Additionally, added a new bedenote project which handles JMS messages. This removes the need for special support from activemq.

Removed the auto-deploy of activemq config and made it a special target - "deployActivemq"

To install this stuff:

1. Check out the bedenote project
2. execute the deployActivemq target
3. Build/deploy bedenote
4. Restart


Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4     Licensed to Jasig under one or more contributor license
5     agreements. See the NOTICE file distributed with this work
6     for additional information regarding copyright ownership.
7     Jasig licenses this file to you under the Apache License,
8     Version 2.0 (the "License"); you may not use this file
9     except in compliance with the License. You may obtain a
10     copy of the License at:
11        
12     http://www.apache.org/licenses/LICENSE-2.0
13        
14     Unless required by applicable law or agreed to in writing,
15     software distributed under the License is distributed on
16     an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17     KIND, either express or implied. See the License for the
18     specific language governing permissions and limitations
19     under the License.
20 -->
21
22 <project xmlns="http://maven.apache.org/POM/4.0.0"
23          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
25          http://maven.apache.org/xsd/maven-4.0.0.xsd">
26   <modelVersion>4.0.0</modelVersion>
27
28   <groupId>org.bedework</groupId>
29   <artifactId>bedework</artifactId>
30   <version>3.8</version>
31   <packaging>pom</packaging>
32
33   <name>Bedework uber project</name>
34   <description>Bedework uber project</description>
35   <url>http://bedework.org/</url>
36  
37   <properties>
38     <bedeworkVersion>3.8</bedeworkVersion>
39     <bedeworkAnnotationsVersion>3.8</bedeworkAnnotationsVersion>
40     <bedeworkAccessVersion>3.8</bedeworkAccessVersion>
41     <bedeworkBedenoteVersion>3.8</bedeworkBedenoteVersion>
42     <bedeworkBwcaldavVersion>3.8</bedeworkBwcaldavVersion>
43     <bedeworkBwxmlVersion>3.8</bedeworkBwxmlVersion>
44     <bedeworkCalcoreVersion>3.8</bedeworkCalcoreVersion>
45     <bedeworkCaldavVersion>3.8</bedeworkCaldavVersion>
46     <bedeworkCalfacadeVersion>3.8</bedeworkCalfacadeVersion>
47     <bedeworkDavutilVersion>3.8</bedeworkDavutilVersion>
48     <bedeworkDumpresVersion>3.8</bedeworkDumpresVersion>
49     <bedeworkIcalendarVersion>3.8</bedeworkIcalendarVersion>
50     <bedeworkIndexerVersion>3.8</bedeworkIndexerVersion>
51     <bedeworkInterfacesVersion>3.8</bedeworkInterfacesVersion>
52     <bedeworkMiscVersion>3.8</bedeworkMiscVersion>
53     <bedeworkRpiutilVersion>3.8</bedeworkRpiutilVersion>
54     <bedeworkSynchVersion>3.8</bedeworkSynchVersion>
55     <bedeworkSyseventsVersion>3.8</bedeworkSyseventsVersion>
56     <bedeworkWebappsVersion>3.8</bedeworkWebappsVersion>
57     <bedeworkWebdavVersion>3.8</bedeworkWebdavVersion>
58     <bedeworkXmlschemaVersion>3.8</bedeworkXmlschemaVersion>
59   </properties>
60  
61   <mailingLists>
62     <mailingList>
63       <name>Bedework User List</name>
64       <subscribe>join-bedework-user@lists.wisc.edu</subscribe>
65       <unsubscribe>leave-bedework-user@lists.wisc.edu</unsubscribe>
66       <post>bedework-user@lists.ja-sig.org</post>
67       <archive>https://lists.wisc.edu/read/?forum=bedework-user</archive>
68     </mailingList>
69     <mailingList>
70       <name>Bedework Developer List</name>
71       <subscribe>join-bedework-dev@lists.wisc.edu</subscribe>
72       <unsubscribe>leave-bedework-dev@lists.wisc.edu</unsubscribe>
73       <post>bedework-dev@lists.ja-sig.org</post>
74       <archive>https://lists.wisc.edu/read/?forum=bedework-dev</archive>
75     </mailingList>
76   </mailingLists>
77
78   <scm>
79     <connection>scm:svn:https://www.bedework.org/svn/rpiutil</connection>
80     <developerConnection>scm:svn:https://www.bedework.org/svn/rpiutil</developerConnection>
81     <url>https://www.bedework.org/svn/rpiutil</url>
82   </scm>
83
84   <issueManagement>
85     <system>jira</system>
86     <url>https://issues.jasig.org/browse/BWK</url>
87   </issueManagement>
88
89   <repositories>
90     <repository>
91       <id>Jboss.org</id>
92       <name>Jboss.org</name>
93       <url>http://repository.jboss.org/nexus/content/groups/public</url>
94       <layout>default</layout>
95     </repository>
96     <repository>
97       <id>Bedework repository</id>
98       <name>Bedework repository</name>
99       <url>http://dev.bedework.org/downloads/lib/repository</url>
100       <layout>default</layout>
101     </repository>
102   </repositories>
103  
104   <dependencies>
105     <dependency>
106       <groupId>log4j</groupId>
107       <artifactId>log4j</artifactId>
108       <version>1.2.15</version>
109       <scope>provided</scope>
110       <exclusions>
111         <exclusion>
112           <groupId>javax.mail</groupId>
113           <artifactId>mail</artifactId>
114         </exclusion>
115         <exclusion>
116           <groupId>javax.jms</groupId>
117           <artifactId>jms</artifactId>
118         </exclusion>
119         <exclusion>
120           <groupId>com.sun.jdmk</groupId>
121           <artifactId>jmxtools</artifactId>
122         </exclusion>
123         <exclusion>
124           <groupId>com.sun.jmx</groupId>
125           <artifactId>jmxri</artifactId>
126         </exclusion>
127       </exclusions>
128     </dependency>
129      
130     <dependency>
131       <groupId>javax.servlet</groupId>
132       <artifactId>servlet-api</artifactId>
133       <version>2.4</version>
134     </dependency>
135      
136       <!-- scope runtime? Need these to get into the repository -->
137       <dependency>
138         <groupId>com.sun.mail</groupId>
139         <artifactId>dsn</artifactId>
140         <version>1.4.5</version>
141       </dependency>
142      
143       <dependency>
144         <groupId>com.sun.mail</groupId>
145         <artifactId>imap</artifactId>
146         <version>1.4.5</version>
147       </dependency>
148      
149       <dependency>
150         <groupId>com.sun.mail</groupId>
151         <artifactId>pop3</artifactId>
152         <version>1.4.5</version>
153       </dependency>
154      
155       <dependency>
156         <groupId>com.sun.mail</groupId>
157         <artifactId>smtp</artifactId>
158         <version>1.4.5</version>
159       </dependency>
160      
161       <dependency>
162         <groupId>net.sf.ehcache</groupId>
163         <artifactId>ehcache-core</artifactId>
164         <version>2.5.1</version>
165       </dependency>
166   </dependencies>
167
168   <build>
169     <plugins>
170       <plugin>
171         <groupId>org.apache.maven.plugins</groupId>
172         <artifactId>maven-dependency-plugin</artifactId>
173       </plugin>
174     </plugins>
175   </build>
176
177 <!--
178   <build>
179     <pluginManagement>
180       <plugins>
181         <plugin>
182           <artifactId>maven-compiler-plugin</artifactId>
183           <configuration>
184             <source>1.5</source>
185             <target>1.5</target>
186           </configuration>
187         </plugin>
188         <plugin>
189           <artifactId>maven-shade-plugin</artifactId>
190           <version>1.4</version>
191         </plugin>
192         <plugin>
193           <groupId>org.apache.maven.plugins</groupId>
194           <artifactId>maven-release-plugin</artifactId>
195           <configuration>
196             <tagBase>https://svn.apache.org/repos/asf/maven/ant-tasks/tags</tagBase>
197           </configuration>
198         </plugin>
199       </plugins>
200     </pluginManagement>
201     <plugins>
202       <plugin>
203         <groupId>org.apache.maven.plugins</groupId>
204         <artifactId>maven-shade-plugin</artifactId>
205         <executions>
206           <execution>
207             <phase>package</phase>
208             <goals>
209               <goal>shade</goal>
210             </goals>
211             <configuration>
212               <createDependencyReducedPom>false</createDependencyReducedPom>
213               <keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope>
214               <transformers>
215                 <transformer implementation="org.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformer" />
216               </transformers>
217               <artifactSet>
218                 <excludes>
219                   <exclude>junit:junit</exclude>
220                   <exclude>jtidy:jtidy</exclude>
221                   <exclude>xml-apis:xml-apis</exclude>
222                   <exclude>org.apache.ant:ant</exclude>
223                   <exclude>org.apache.ant:ant-launcher</exclude>
224                   <exclude>backport-util-concurrent:backport-util-concurrent</exclude>
225                 </excludes>
226               </artifactSet>
227               <relocations>
228                 <relocation>
229                   <pattern>org.codehaus.plexus.util</pattern>
230                   <shadedPattern>org.apache.maven.artifact.ant.shaded</shadedPattern>
231                   <excludes>
232                     <exclude>org.codehaus.plexus.util.xml.Xpp3Dom</exclude>
233                     <exclude>org.codehaus.plexus.util.xml.pull.*</exclude>
234                   </excludes>
235                 </relocation>
236                 <relocation>
237                   <pattern>edu.emory.mathcs.backport.java.util.concurrent</pattern>
238                   <shadedPattern>java.util.concurrent</shadedPattern>
239                 </relocation>
240               </relocations>
241             </configuration>
242           </execution>
243         </executions>
244       </plugin>
245     </plugins>
246   </build>  -->
247 </project>
Note: See TracBrowser for help on using the browser.