Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 232 lines (209 sloc) 9.031 kb
f4947da o Initial version of Nexus Ivy support generously donated by Bosch, G…
Jason van Zyl 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"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4
5 <modelVersion>4.0.0</modelVersion>
6
7 <groupId>com.bosch.nexus</groupId>
8 <artifactId>ivy-support</artifactId>
9 <version>1.0-SNAPSHOT</version>
10 <packaging>nexus-plugin</packaging>
11 <name>TOOLS_NexusExtensions</name>
12 <description>Support for clean up IVY and different snapshot format</description>
13
14 <properties>
15 <nexus-version>2.0.2</nexus-version>
16 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17 </properties>
18
19 <dependencies>
20
21 <!-- helpful abstract classes
22 if contributing new kind of Repository,
23 content type, grouping, or any other repository related component -->
24 <dependency>
25 <groupId>org.sonatype.nexus</groupId>
26 <artifactId>nexus-proxy</artifactId>
27 <version>${nexus-version}</version>
28 <scope>provided</scope>
29 </dependency>
30
31 <!-- logger for tests -->
32 <dependency>
33 <groupId>log4j</groupId>
34 <artifactId>log4j</artifactId>
35 <version>1.2.14</version>
36 <scope>test</scope>
37 <type>jar</type>
38 </dependency>
39
40 <!--to plugin UTs -->
41 <dependency>
42 <groupId>org.sonatype.nexus</groupId>
43 <artifactId>nexus-plugin-test-api</artifactId>
44 <version>${nexus-version}</version>
45 <scope>test</scope>
46 </dependency>
47
48 <dependency>
49 <groupId>junit</groupId>
50 <artifactId>junit</artifactId>
51 <version>4.10</version>
52 <scope>test</scope>
53 </dependency>
54
55 <!-- utility methods to start/stop Nexus, communicate using REST API, automatically deploy files and more -->
56 <dependency>
57 <groupId>org.sonatype.nexus</groupId>
58 <artifactId>nexus-test-harness-launcher</artifactId>
59 <scope>test</scope>
60 <version>${nexus-version}</version>
61 <exclusions>
62 <exclusion>
63 <groupId>commons-logging</groupId>
64 <artifactId>commons-logging</artifactId>
65 </exclusion>
66 </exclusions>
67 </dependency>
68
69 <!-- matchers are very useful for testing -->
70 <dependency>
71 <groupId>org.hamcrest</groupId>
72 <artifactId>hamcrest-core</artifactId>
73 <version>1.3.RC2</version>
74 <scope>test</scope>
75 <type>jar</type>
76 </dependency>
77 </dependencies>
78
79 <dependencyManagement>
80 <dependencies>
81 <dependency>
82 <groupId>org.sonatype.nexus</groupId>
83 <artifactId>nexus-webapp-dependencies</artifactId>
84 <version>${nexus-version}</version>
85 <type>pom</type>
86 <scope>import</scope>
87 </dependency>
88 </dependencies>
89 </dependencyManagement>
90
91 <build>
92 <plugins>
93
94 <!--create a Maven module with packaging “nexus-plugin”-->
95 <plugin>
96 <groupId>org.sonatype.plugins</groupId>
97 <artifactId>app-lifecycle-maven-plugin</artifactId>
98 <version>1.6</version>
99 <extensions>true</extensions>
100 <dependencies>
101 <dependency>
102 <groupId>org.sonatype.plugins</groupId>
103 <artifactId>app-lifecycle-nexus</artifactId>
104 <version>1.6</version>
105 </dependency>
106 </dependencies>
107 </plugin>
108
109 <!-- compile the sources -->
110 <plugin>
111 <artifactId>maven-compiler-plugin</artifactId>
112 <version>2.3.2</version>
113 <configuration>
114 <source>1.6</source>
115 <target>1.6</target>
116 <encoding>${project.build.sourceEncoding}</encoding>
117 </configuration>
118 </plugin>
119
120 <!-- toolkit for measuring and reporting Java code coverage -->
121 <plugin>
122 <groupId>org.sonatype.maven.plugin</groupId>
123 <artifactId>emma-maven-plugin</artifactId>
124 <version>1.1</version>
125 <executions>
126 <execution>
127 <phase>process-classes</phase>
128 <goals>
129 <goal>instrument</goal>
130 </goals>
131 </execution>
132 </executions>
133 </plugin>
134
135 <!-- Fork Tests because of problems with Sisu-Guice-Version -->
136 <plugin>
137 <groupId>org.apache.maven.plugins</groupId>
138 <artifactId>maven-surefire-plugin</artifactId>
139 <version>2.9-SONATYPE</version>
140 <dependencies>
141 <dependency>
142 <groupId>org.apache.maven.surefire</groupId>
143 <artifactId>surefire-junit47</artifactId>
144 <version>2.9-SONATYPE</version>
145 </dependency>
146 </dependencies>
147 </plugin>
148
149 <!-- Plugin for creating a test instance of Nexus -->
150 <plugin>
151 <groupId>org.sonatype.nexus.plugins</groupId>
152 <artifactId>nexus-test-environment-maven-plugin</artifactId>
153 <version>${nexus-version}</version>
154 <executions>
155 <execution>
156 <goals>
157 <goal>package</goal>
158 <goal>setup-nexus-plugin-environment</goal>
159 </goals>
160 </execution>
161 </executions>
162 <configuration>
163 <nexusVersion>${nexus-version}</nexusVersion>
164 <nexusBundleArtifact>
165 <groupId>org.sonatype.nexus</groupId>
166 <artifactId>nexus-oss-webapp</artifactId>
167 <version>2.0.2</version>
168 <classifier>bundle</classifier>
169 <type>zip</type>
170 </nexusBundleArtifact>
171 </configuration>
172 </plugin>
173
174 <!-- Plugin for copy the resources into test instance -->
175 <plugin>
176 <artifactId>maven-resources-plugin</artifactId>
177 <version>2.5</version>
178 <executions>
179 <execution>
180 <phase>process-test-resources</phase>
181 <goals>
182 <goal>copy-resources</goal>
183 </goals>
184 <configuration>
185 <outputDirectory>${basedir}/target</outputDirectory>
186 <resources>
187 <resource>
188 <directory>${basedir}/src/test/resources</directory>
189 <filtering>true</filtering>
190 </resource>
191 </resources>
192 </configuration>
193 </execution>
194 </executions>
195 <configuration>
196 <encoding>${project.build.sourceEncoding}</encoding>
197 </configuration>
198 </plugin>
199
200 <!--Plugin to execute the integration tests, failsafe reports for example "TestSuite.txt" -->
201 <plugin>
202 <groupId>org.codehaus.mojo</groupId>
203 <artifactId>failsafe-maven-plugin</artifactId>
204 <version>2.4.3-alpha-2-SONATYPE-11146</version>
205 <executions>
206 <execution>
207 <goals>
208 <goal>integration-test</goal>
209 <goal>verify</goal>
210 </goals>
211 </execution>
212 </executions>
213 </plugin>
214 </plugins>
215
216 </build>
217
218 <distributionManagement>
219 <repository>
220 <id>tmp_releases</id>
221 <name>Releases Repo on TMP Innovations Waiblingen</name>
222 <url>${url.repo.release}</url>
223 </repository>
224 <snapshotRepository>
225 <id>tmp_snapshots</id>
226 <name>Snapshot Repo on TMP Innovations Waiblingen</name>
227 <url>${url.repo.snapshot}</url>
228 </snapshotRepository>
229 </distributionManagement>
230
231 </project>
Something went wrong with that request. Please try again.