Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 360 lines (348 sloc) 15.062 kb
bc07331 Jakob Færch Flyttet fra https://github.com/trifork/sdm2
jrftrifork authored
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/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4
5 <groupId>dk.nsi.stamdata4</groupId>
6 <artifactId>sdm-parent</artifactId>
2408cc2 Jakob Færch [maven-release-plugin] prepare for next development iteration
jrftrifork authored
7 <version>4.6-SNAPSHOT</version>
bc07331 Jakob Færch Flyttet fra https://github.com/trifork/sdm2
jrftrifork authored
8 <packaging>pom</packaging>
9
10 <scm>
bbfae6e Jakob Færch Afspejl ændret git-url i pom'en
jrftrifork authored
11 <url>scm:git:git@github.com:trifork/sdm4-parent</url>
12 <connection>scm:git:git@github.com:trifork/sdm4-parent.git</connection>
13 <developerConnection>scm:git:git@github.com:trifork/sdm4-parent.git</developerConnection>
2408cc2 Jakob Færch [maven-release-plugin] prepare for next development iteration
jrftrifork authored
14 <tag>HEAD</tag>
a05e9b1 Jakob Færch [maven-release-plugin] prepare release sdm-parent-4.2
jrftrifork authored
15 </scm>
bc07331 Jakob Færch Flyttet fra https://github.com/trifork/sdm2
jrftrifork authored
16 <issueManagement>
17 <system>JIRA</system>
18 <url>https://jira.trifork.com/</url>
19 </issueManagement>
20 <ciManagement>
21 <system>Jenkins</system>
bbfae6e Jakob Færch Afspejl ændret git-url i pom'en
jrftrifork authored
22 <url>https://ci02.trifork.com:8443/view/SDM4/job/SDM4-parent/</url>
bc07331 Jakob Færch Flyttet fra https://github.com/trifork/sdm2
jrftrifork authored
23 </ciManagement>
24
25 <prerequisites>
26 <maven>3.0.0</maven>
27 </prerequisites>
28
29 <distributionManagement>
30 <repository>
31 <id>Trifork-Nexus-Release-Repository</id>
32 <name>Trifork Nexus Release Repository</name>
33 <url>https://nexus.trifork.com/content/repositories/releases/</url>
34 </repository>
35 </distributionManagement>
36
37 <repositories>
38 <repository>
39 <id>Trifork-Nexus-Public-Repository</id>
40 <name>Trifork Nexus Public Repository</name>
41 <url>https://nexus.trifork.com/content/groups/public/</url>
42 </repository>
43 </repositories>
44
45 <pluginRepositories>
46 <pluginRepository>
47 <id>Trifork-Nexus-Public-Repository</id>
48 <name>Trifork Nexus Public Repository</name>
49 <url>https://nexus.trifork.com/content/groups/public/</url>
50 </pluginRepository>
51 </pluginRepositories>
52
53 <properties>
54 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
55 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
56 <spring.version>3.1.1.RELEASE</spring.version>
57 </properties>
58
59 <dependencyManagement>
60 <dependencies>
61 <dependency>
62 <groupId>org.springframework</groupId>
63 <artifactId>spring-core</artifactId>
64 <version>${spring.version}</version>
65 </dependency>
66 <dependency>
67 <groupId>org.springframework</groupId>
68 <artifactId>spring-jdbc</artifactId>
69 <version>${spring.version}</version>
70 </dependency>
71 <dependency>
72 <groupId>org.springframework</groupId>
73 <artifactId>spring-context</artifactId>
74 <version>${spring.version}</version>
75 </dependency>
76 <dependency>
77 <groupId>org.springframework</groupId>
78 <artifactId>spring-test</artifactId>
79 <version>${spring.version}</version>
80 </dependency>
81 <dependency>
82 <groupId>org.springframework</groupId>
83 <artifactId>spring-webmvc</artifactId>
84 <version>${spring.version}</version>
85 </dependency>
86 <dependency>
87 <groupId>junit</groupId>
88 <artifactId>junit</artifactId>
89 <version>4.10</version>
90 </dependency>
91 <dependency>
92 <groupId>log4j</groupId>
93 <artifactId>log4j</artifactId>
94 <version>1.2.17</version>
95 </dependency>
96 <dependency>
97 <groupId>dk.sdsd.nsp</groupId>
98 <artifactId>nsp-util</artifactId>
ae0934b Jakob Færch Skift til nsp-util 1.0.9
jrftrifork authored
99 <version>1.0.9</version>
bc07331 Jakob Færch Flyttet fra https://github.com/trifork/sdm2
jrftrifork authored
100 </dependency>
101 <dependency>
102 <groupId>org.hamcrest</groupId>
103 <artifactId>hamcrest-all</artifactId>
104 <version>1.1</version>
105 </dependency>
106 <dependency>
107 <groupId>mysql</groupId>
108 <artifactId>mysql-connector-java</artifactId>
109 <version>5.1.21</version>
110 </dependency>
111 </dependencies>
112 </dependencyManagement>
113
114 <build>
115 <plugins>
116 <plugin>
117 <artifactId>maven-dependency-plugin</artifactId>
118 <version>2.2</version>
119 </plugin>
120 <plugin>
121 <groupId>org.apache.maven.plugins</groupId>
122 <artifactId>maven-war-plugin</artifactId>
123 <version>2.2</version>
124 </plugin>
125 <plugin>
126 <groupId>org.apache.maven.plugins</groupId>
127 <artifactId>maven-compiler-plugin</artifactId>
128 <version>2.5.1</version>
129 <configuration>
130 <source>1.6</source>
131 <target>1.6</target>
132 <encoding>UTF-8</encoding>
133 </configuration>
134 </plugin>
135 <plugin>
136 <groupId>org.codehaus.mojo</groupId>
137 <artifactId>buildnumber-maven-plugin</artifactId>
138 <version>1.0</version>
139 <executions>
140 <execution>
141 <phase>validate</phase>
142 <goals>
143 <goal>create</goal>
144 </goals>
145 </execution>
146 </executions>
147 </plugin>
148 <plugin>
149 <groupId>dk.nsi.stamdata4</groupId>
150 <artifactId>vagrant-maven-plugin</artifactId>
151 <version>1.1</version>
152 <executions>
153 <execution>
154 <goals>
155 <goal>generate-jboss-descriptors</goal>
156 </goals>
157 </execution>
158 </executions>
159 </plugin>
160 <plugin>
161 <groupId>org.apache.maven.plugins</groupId>
162 <artifactId>maven-failsafe-plugin</artifactId>
163 <version>2.12</version>
164 <executions>
165 <execution>
166 <goals>
167 <goal>integration-test</goal>
168 <goal>verify</goal>
169 </goals>
170 </execution>
171 </executions>
172 </plugin>
7740311 Jakob Færch Automatisk enable af "styr-vagrant-vm'er" profil under release. Vagrant ...
jrftrifork authored
173 <plugin>
174 <artifactId>maven-release-plugin</artifactId>
175 <version>2.3.2</version>
176 <configuration>
177 <releaseProfiles>handle-vagrant-vms</releaseProfiles>
178 <goals>deploy</goals> <!-- skips site-deploy -->
179 </configuration>
180 </plugin>
a4f5661 Jakob Færch Cobertura-opsætning inkl xml
jrftrifork authored
181 <plugin>
182 <groupId>org.codehaus.mojo</groupId>
183 <artifactId>cobertura-maven-plugin</artifactId>
184 <version>2.5.1</version>
185 <configuration>
186 <instrumentation>
187 <excludes>
188 <exclude>dk/oio/**/*</exclude>
189 <exclude>oasis/**/*</exclude>
190 <exclude>org/**/*</exclude>
191 <exclude>dk/nsi/integrationstest/**/*</exclude>
192 <exclude>dk/nsi/**/*Test.class</exclude>
193 <exclude>dk/nsi/jmeter/**/*</exclude>
194 <exclude>dk/nsi/performance/**/*</exclude>
195 </excludes>
196 </instrumentation>
197 <formats>
198 <format>xml</format>
199 <format>html</format>
200 </formats>
201 </configuration>
202 <executions>
203 <execution>
204 <goals>
205 <goal>clean</goal>
206 </goals>
207 </execution>
208 </executions>
209 </plugin>
bc07331 Jakob Færch Flyttet fra https://github.com/trifork/sdm2
jrftrifork authored
210 </plugins>
211 </build>
212
213 <profiles>
214 <profile>
dc7e1ac Jakob Færch Tilføj maven-license-plugin
jrftrifork authored
215 <id>check-license</id>
216 <activation>
217 <file>
218 <!-- activate profile only in modules which seems to be actually contain source files -->
219 <exists>${basedir}/src/main/java</exists>
220 </file>
221 </activation>
222 <build>
223 <plugins>
224 <plugin>
225 <groupId>com.mycila.maven-license-plugin</groupId>
226 <artifactId>maven-license-plugin</artifactId>
227 <version>1.9.0</version>
228 <configuration>
229 <strictCheck>true</strictCheck>
230 <header>${basedir}/standardheader.txt</header>
231 <failIfMissing>true</failIfMissing>
232 <aggregate>true</aggregate>
233 <includes>
234 <include>**/src/**/*.java</include>
235 </includes>
236 </configuration>
237 <executions>
238 <execution>
239 <phase>verify</phase>
240 <goals>
241 <goal>check</goal>
242 </goals>
243 </execution>
244 </executions>
245 </plugin>
246 </plugins>
247 </build>
248 </profile>
249
250 <profile>
bc07331 Jakob Færch Flyttet fra https://github.com/trifork/sdm2
jrftrifork authored
251 <id>deploy-integrationtest-war</id>
252 <activation>
253 <file>
254 <!-- activate profile only in modules which seems to be war files -->
255 <exists>src/main/webapp/WEB-INF/web.xml</exists>
256 </file>
257 </activation>
258 <build>
259 <plugins>
260 <plugin>
261 <groupId>org.codehaus.mojo</groupId>
262 <artifactId>exec-maven-plugin</artifactId>
263 <version>1.2.1</version>
264 <executions>
265 <execution>
266 <id>provision</id>
267 <phase>pre-integration-test</phase>
268 <goals>
269 <goal>exec</goal>
270 </goals>
271 <configuration>
272 <executable>vagrant</executable>
273 <arguments>
274 <argument>provision</argument>
275 </arguments>
276 </configuration>
277 </execution>
278 <execution>
279 <id>prepare-deploy</id>
280 <phase>pre-integration-test</phase>
281 <goals>
282 <goal>exec</goal>
283 </goals>
284 <configuration>
285 <executable>ln</executable>
286 <arguments>
287 <argument>-f</argument>
288 <argument>${project.build.directory}/${project.build.finalName}.war</argument>
289 <argument>${project.build.directory}/${project.artifactId}.war</argument>
290 </arguments>
291 </configuration>
292 </execution>
293 <execution>
294 <id>deploy</id>
295 <phase>pre-integration-test</phase>
296 <goals>
297 <goal>exec</goal>
298 </goals>
299 <configuration>
300 <executable>vagrant</executable>
301 <arguments>
302 <argument>ssh</argument>
303 <argument>-c</argument>
304 <argument>/pack/jboss/bin/jboss-cli.sh -c --commands='deploy --force
305 /vagrant/sdm4-${project.artifactId}/target/${project.artifactId}.war' --user=sdmadmin --password=trifork
306 </argument>
307 </arguments>
308 </configuration>
309 </execution>
310 </executions>
311 </plugin>
312 </plugins>
313 </build>
314 </profile>
315 <profile>
316 <id>handle-vagrant-vms</id>
317 <activation><property><name>sdm.handle.vagrant.vms</name></property></activation>
318 <build>
319 <plugins>
320 <plugin>
321 <groupId>org.codehaus.mojo</groupId>
322 <artifactId>exec-maven-plugin</artifactId>
323 <version>1.2.1</version>
324 <executions>
325 <execution>
326 <id>vm-up</id>
327 <phase>initialize</phase>
328 <goals>
329 <goal>exec</goal>
330 </goals>
331 <configuration>
332 <executable>vagrant</executable>
333 <arguments>
334 <argument>up</argument>
7740311 Jakob Færch Automatisk enable af "styr-vagrant-vm'er" profil under release. Vagrant ...
jrftrifork authored
335 <argument>--no-provision</argument>
bc07331 Jakob Færch Flyttet fra https://github.com/trifork/sdm2
jrftrifork authored
336 </arguments>
337 </configuration>
338 </execution>
339 <execution>
340 <id>vm-destroy</id>
341 <phase>post-integration-test</phase>
342 <goals>
343 <goal>exec</goal>
344 </goals>
345 <configuration>
346 <executable>vagrant</executable>
347 <arguments>
348 <argument>destroy</argument>
349 <argument>--force</argument>
350 </arguments>
351 </configuration>
352 </execution>
353 </executions>
354 </plugin>
355 </plugins>
356 </build>
357 </profile>
358 </profiles>
359 </project>
Something went wrong with that request. Please try again.