forked from sonatype/nexus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
240 lines (222 loc) · 9.32 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
<?xml version="1.0" encoding="UTF-8"?>
<!--
Sonatype Nexus (TM) Open Source Version
Copyright (c) 2007-2012 Sonatype, Inc.
All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
This program and the accompanying materials are made available under the terms of the Eclipse Public License Version 1.0,
which accompanies this distribution and is available at http://www.eclipse.org/legal/epl-v10.html.
Sonatype Nexus (TM) Professional Version is available from Sonatype, Inc. "Sonatype" and "Sonatype Nexus" are trademarks
of Sonatype, Inc. Apache Maven is a trademark of the Apache Software Foundation. M2eclipse is a trademark of the
Eclipse Foundation. All other trademarks are the property of their respective owners.
-->
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>org.sonatype.nexus</groupId>
<artifactId>nexus-aggregator</artifactId>
<version>2.3-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Nexus : Aggregator</name>
<description>Sonatype Nexus Aggregator</description>
<scm>
<connection>scm:git:git://github.com/sonatype/nexus.git</connection>
<developerConnection>scm:git:[email protected]:sonatype/nexus.git</developerConnection>
<url>https://github.com/sonatype/nexus</url>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<nexus-site-base-url>https://repository.sonatype.org/content/sites/maven-sites/nexus-oss</nexus-site-base-url>
</properties>
<modules>
<module>nexus-runtime-platform</module>
<module>nexus</module>
<module>nexus-plugin-archetype</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.0-beta-3</version>
</plugin>
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<!-- Manually run with: mvn clean com.mycila.maven-license-plugin:maven-license-plugin:1.9.0:format -->
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<version>1.9.0</version>
<configuration>
<header>header-eplv1.txt</header>
<encoding>UTF-8</encoding>
<strictCheck>true</strictCheck>
<useDefaultExcludes>false</useDefaultExcludes>
<includes>
<include>**/*.java</include>
<include>**/*.vm</include>
<include>**/*.xml</include>
<include>**/*.groovy</include>
<include>**/*.aj</include>
<include>**/*.css</include>
<include>**/*.html</include>
<include>**/*.js</include>
</includes>
<excludes>
<!-- we have target pattern in this format because of target package in nexus-api and nexus-proxy modules -->
<exclude>**/nexus*/target/**</exclude>
<exclude>**/nexus-ldap-plugin-parent/ldap-common/target/**</exclude>
<exclude>**/ext-2.3/**</exclude>
<exclude>**/js/filetree/**</exclude>
<exclude>**/editarea_0_8_2/**</exclude>
<exclude>**/org/sonatype/security/ldap/dao/password/hash/MD5Crypt.java</exclude>
<!-- FIXME is this really a good idea excluding all test resources? -->
<exclude>**/src/test/resources/**</exclude>
<exclude>**/nexus/nexus-test-harness/nexus-test-harness-its/resources/**</exclude>
<exclude>**/nexus-repository-metadata/**</exclude>
<exclude>**/gwt/ext/ui/**/*.js</exclude>
<exclude>**/gwt/ext/ui/**/*.css</exclude>
<!-- already has a lgpl license -->
<exclude>**/Ext.ux.form.LovCombo.css</exclude>
<!-- Apache licensed, see profile -->
<exclude>**/nexus-migration-plugin/**</exclude>
<!-- grid makes this directory -->
<exclude>.maven/**</exclude>
<!-- eclipse makes this directory -->
<exclude>**/.settings/**</exclude>
<!-- temp file created by maven-shade-plugin in basedir, deleted on maven jvm exit but possibly still around during license check -->
<exclude>**/dependency-reduced-pom.xml</exclude>
<!-- netbeans adds these -->
<exclude>**/nbactions*.xml</exclude>
<exclude>**/nb-configuration.xml</exclude>
<!-- IntelliJ IDEA files-->
<exclude>**/.idea/**</exclude>
<exclude>**/atlassian-ide-plugin.xml</exclude>
<!-- The classes in guava package are copied over from com.google.common.eventbus in order to make then extensible (they are package protected) -->
<exclude>**/org/sonatype/nexus/eventbus/internal/guava/**</exclude>
<exclude>**/sandbox/**</exclude>
<exclude>nexus-plugin-archetype/src/main/resources/archetype-resources/**</exclude>
</excludes>
<mapping>
<vm>SHARPSTAR_STYLE</vm>
<groovy>JAVADOC_STYLE</groovy>
<aj>JAVADOC_STYLE</aj>
</mapping>
<properties>
<year>2012</year>
</properties>
<!-- this is important for multi-module project -->
<aggregate>true</aggregate>
</configuration>
<goals>
<goal>check</goal>
</goals>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.2.1</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<!-- forge-parent settings -->
<useReleaseProfile>false</useReleaseProfile>
<goals>deploy</goals>
<!--<arguments>-Prelease</arguments>-->
<!-- Use a quick build to verify the tag, and a full build with ITs for the deploy -->
<arguments />
<preparationGoals />
<releaseProfiles>release</releaseProfiles>
<tagNameFormat>nexus-@{version}</tagNameFormat>
</configuration>
</plugin>
<!-- do not deploy aggregator POM -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.2</version>
</plugin>
</plugins>
</reporting>
<profiles>
<profile>
<id>nexus-maven-plugins</id>
<!-- HACK we leave out nexus-maven-plugins by default because when we release with it as part of aggregator -->
<!-- maven-release-plugin borks. It will be removed out after 2.1 anyways, then this profile no longer needed -->
<modules>
<module>nexus-maven-plugins</module>
</modules>
</profile>
<!-- produce code coverage reports -->
<profile>
<id>coverage</id>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.maven.plugin</groupId>
<artifactId>emma4it-maven-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<id>merge</id>
<phase>verify</phase>
<goals>
<goal>merge</goal>
</goals>
<configuration>
<searchPath>${basedir}</searchPath>
</configuration>
</execution>
<execution>
<id>report</id>
<phase>verify</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<sourceSets>
<sourceSet>
<directory>${basedir}</directory>
<includes>
<include>**/src/main/java/</include>
</includes>
</sourceSet>
</sourceSets>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>
<fileset>
<directory>${basedir}</directory>
<includes>
<include>/coverage.ec</include>
</includes>
<followSymlinks>true</followSymlinks>
</fileset>
</filesets>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>