This repository has been archived by the owner on Aug 11, 2020. It is now read-only.
/
pom.xml
171 lines (155 loc) · 7.06 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
<?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:git@github.com: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>
<arguments>-Dtest=VOID -Dit.test=VOID</arguments>
</properties>
<prerequisites>
<maven>3.0.4</maven>
</prerequisites>
<modules>
<module>nexus-runtime-platform</module>
<module>nexus</module>
<module>nexus-plugin-archetype</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<!-- Manually run with: mvn license:format -N -->
<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>**/ldap-common/target/**</exclude>
<exclude>**/ext-2.3/**</exclude>
<exclude>**/ext-3.4.0/**</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-test-harness-its/resources/**</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>
<!-- 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>
<exclude>nexus-plugin-archetype/src/main/resources/archetype-resources/**</exclude>
<exclude>nexus/nexus-webapp/src/main/webapp/js/ext/ux/**</exclude>
<exclude>nexus/nexus-webapp/src/main/webapp/style/ext/ux/**</exclude>
<!-- tell license plugin to ignore workaround for MINDEXER-65 -->
<exclude>**/nexus-indexer-lucene-plugin/src/main/java/copied/org/apache/maven/index/DefaultScannerListener.java</exclude>
<!-- Exclude zion work directory -->
<exclude>zwork/**</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>-->
<arguments>${arguments}</arguments>
<preparationGoals />
<releaseProfiles>release,tattletale,optimize-js</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>
<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>
</profiles>
</project>