Project

General

Profile

Download (8.61 KB) Statistics
| Branch: | Revision:
1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3
    <modelVersion>4.0.0</modelVersion>
4
    <groupId>eu.etaxonomy.cdm</groupId>
5
    <artifactId>app-parent</artifactId>
6
	<version>5.14.0-SNAPSHOT</version>
7
    <name>CDM Applications Parent</name>
8
    <description>The Java implementation of the Common Data Model (CDM), the data model for EDIT's internet platform for cybertaxonomy.</description>
9
    <url>http://wp5.e-taxonomy.eu/cdmlib/</url>
10
    <inceptionYear>2007</inceptionYear>
11
    <packaging>pom</packaging>
12
    <properties>
13
		<java.codelevel>1.8</java.codelevel>
14
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15
    </properties>
16
    <licenses>
17
        <license>
18
            <name>Mozilla Public License Version 1.1</name>
19
            <url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
20
            <distribution>repo</distribution>
21
        </license>
22
    </licenses>
23
    <organization>
24
        <name>EDIT</name>
25
        <url>http://www.e-taxonomy.eu/</url>
26
    </organization>
27
    <issueManagement>
28
        <system>Redmine</system>
29
        <url>https://dev.e-taxonomy.eu/redmine/projects/edit</url>
30
    </issueManagement>
31
    <ciManagement>
32
        <system>Jenkins</system>
33
        <url>http://160.45.63.201/jenkins</url>
34
    </ciManagement>
35
    <!-- **** REPOSITORIES **** -->
36
    <repositories>
37
        <!-- sun repository -->
38
        <repository>
39
            <id>java.net</id>
40
            <url>http://download.java.net/maven/1/</url>
41
        </repository>
42
        <!-- the cdm internal repository -->
43
        <repository>
44
            <id>EditRepository</id>
45
            <url>http://wp5.e-taxonomy.eu/mavenrepo/</url>
46
        </repository>
47
        <!-- apache incubating repository -->
48
        <repository>
49
            <id>ApacheIncubating</id>
50
            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
51
        </repository>
52
        <!-- Neccessary for hibernate-envers -->
53
        <repository>
54
            <releases>
55
                <enabled>true</enabled>
56
                <updatePolicy>always</updatePolicy>
57
                <checksumPolicy>warn</checksumPolicy>
58
            </releases>
59
            <snapshots>
60
                <enabled>false</enabled>
61
                <updatePolicy>never</updatePolicy>
62
                <checksumPolicy>fail</checksumPolicy>
63
            </snapshots>
64
            <id>jboss-repository</id>
65
            <name>JBoss Repository</name>
66
            <url>http://repository.jboss.com</url>
67
        </repository>
68
        <!-- current spring source repositories -->
69
        <repository>
70
            <id>SpringSource Enterprise Bundle Repository - External Bundle Milestones</id>
71
            <url>http://repository.springsource.com/maven/bundles/milestone</url>
72
        </repository>
73
        <repository>
74
            <id>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</id>
75
            <url>http://repository.springsource.com/maven/bundles/release</url>
76
        </repository>
77
        <repository>
78
            <id>SpringSource Enterprise Bundle Repository - External Bundle Releases</id>
79
            <url>http://repository.springsource.com/maven/bundles/external</url>
80
        </repository>
81
	    <!-- for ikey-plus -->
82
		<repository>
83
        	<id>itextpdf.com</id>
84
            <name>Maven Repository for iText</name>
85
            <url>http://maven.itextpdf.com/</url>
86
        </repository>
87
    </repositories>
88
    <!-- **** PLUGINS **** -->
89
    <build>
90
        <plugins>
91
            <plugin>
92
                <groupId>org.apache.maven.plugins</groupId>
93
                <artifactId>maven-compiler-plugin</artifactId>
94
                <configuration>
95
                    <source>${java.codelevel}</source>
96
                    <target>${java.codelevel}</target>
97
                    <encoding>UTF-8</encoding>
98
                </configuration>
99
                <version>2.3.2</version>
100
            </plugin>
101
            <plugin>
102
                <groupId>org.apache.maven.plugins</groupId>
103
                <artifactId>maven-surefire-plugin</artifactId>
104
                <configuration>
105
                    <argLine>-Xmx1024M</argLine>
106
                    <runOrder>alphabetical</runOrder>
107
					<includes>
108
                        <include>**/*Test.java</include>
109
                    </includes>
110
                </configuration>
111
                <version>2.12</version>
112
            </plugin>
113
            <plugin>
114
                <groupId>org.codehaus.mojo</groupId>
115
                <artifactId>buildnumber-maven-plugin</artifactId>
116
                <version>1.0-beta-3</version>
117
                <executions>
118
                    <execution>
119
                        <!--<phase>deploy</phase>-->
120
                        <goals>
121
                            <goal>create</goal>
122
                        </goals>
123
                    </execution>
124
                </executions>
125
                <configuration>
126
                    <doCheck>false</doCheck>
127
                    <!-- Only create the build number if there are no local modifications -->
128
                    <doUpdate>false</doUpdate>
129
                    <!-- automatically update the local svn copy -->
130
                </configuration>
131
            </plugin>
132
            <plugin>
133
                <groupId>org.apache.maven.plugins</groupId>
134
                <artifactId>maven-site-plugin</artifactId>
135
                <version>3.0</version>
136
                <configuration>
137
                    <locales>en</locales>
138
		    <outputEncoding>UTF-8</outputEncoding>
139
                </configuration>
140
            </plugin>
141
            <plugin>
142
                <groupId>org.apache.maven.plugins</groupId>
143
                <artifactId>maven-source-plugin</artifactId>
144
                <version>2.1.2</version>
145
                <executions>
146
                    <execution>
147
                        <id>attach-sources</id>
148
                        <phase>verify</phase>
149
                        <goals>
150
                            <goal>jar</goal>
151
                        </goals>
152
                    </execution>
153
                </executions>
154
            </plugin>
155
            <plugin>
156
                <groupId>org.apache.maven.plugins</groupId>
157
                <artifactId>maven-javadoc-plugin</artifactId>
158
                <version>2.7</version>
159
                <configuration>
160
                    <stylesheet>maven</stylesheet>
161
                    <quiet>true</quiet>
162
                    <detectLinks>true</detectLinks>
163
                    <failOnError>false</failOnError>
164
                </configuration>
165
                <executions>
166
                    <execution>
167
                        <id>aggregate</id>
168
                        <goals>
169
                            <goal>aggregate</goal>
170
                        </goals>
171
                        <phase>site</phase>
172
                    </execution>
173
                </executions>
174
            </plugin>
175
            <plugin>
176
                <groupId>org.apache.maven.plugins</groupId>
177
                <artifactId>maven-eclipse-plugin</artifactId>
178
                <version>2.9</version>
179
                <configuration>
180
                    <downloadSources>true</downloadSources>
181
                    <downloadJavadocs>true</downloadJavadocs>
182
                </configuration>
183
            </plugin>
184
            <plugin>
185
                <groupId>org.codehaus.mojo</groupId>
186
                <artifactId>wagon-maven-plugin</artifactId>
187
                <version>1.0-beta-3</version>
188
                <configuration>
189
                    <fromDir>${project.build.directory}/docbkx/</fromDir>
190
                    <includes>**/*</includes>
191
                    <excludes />
192
                    <url>scpexe://wp5.e-taxonomy.eu</url>
193
                    <serverId>wp5.e-taxonomy.eu</serverId>
194
                    <toDir>var/www/wp5.e-taxonomy.eu/cdmlib/reference/${project.version}</toDir>
195
                </configuration>
196
                <executions>
197
                    <execution>
198
                        <id>upload-reference-documentation</id>
199
                        <phase>site-deploy</phase>
200
                        <goals>
201
                            <goal>upload</goal>
202
                        </goals>
203
                    </execution>
204
                </executions>
205
            </plugin>
206
		</plugins>
207
	</build>
208
    <!-- **** DEPENDENCIES **** -->
209

    
210
    <dependencyManagement>
211
        <dependencies>
212
            <dependency>
213
                <groupId>eu.etaxonomy</groupId>
214
                <artifactId>cdmlib-io</artifactId>
215
                <version>${project.version}</version>
216
            </dependency>
217
		</dependencies>
218
	</dependencyManagement>
219

    
220
</project>
    (1-1/1)