Skip to content

Commit d27d0f2

Browse files
committed
Switch to Sonatype OSS repo
1 parent 89c13c6 commit d27d0f2

File tree

1 file changed

+43
-50
lines changed

1 file changed

+43
-50
lines changed

pom.xml

Lines changed: 43 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<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">
33
<modelVersion>4.0.0</modelVersion>
4-
4+
55
<groupId>org.usb4java</groupId>
66
<artifactId>usb4java-javax</artifactId>
77
<packaging>jar</packaging>
@@ -16,25 +16,25 @@
1616
<name>usb4java Team</name>
1717
<url>http://usb4java.org/</url>
1818
</organization>
19-
19+
2020
<licenses>
2121
<license>
2222
<name>MIT</name>
2323
<url>LICENSE.md</url>
2424
<distribution>repo</distribution>
2525
</license>
2626
</licenses>
27-
27+
2828
<mailingLists>
2929
<mailingList>
3030
<name>Discussions</name>
3131
<subscribe>usb4java+subscribe@googlegroups.com</subscribe>
3232
<unsubscribe>usb4java+unsubscribe@googlegroups.com</unsubscribe>
3333
<post>usb4java@googlegroups.com</post>
3434
<archive>http://groups.google.com/group/usb4java</archive>
35-
</mailingList>
36-
</mailingLists>
37-
35+
</mailingList>
36+
</mailingLists>
37+
3838
<developers>
3939
<developer>
4040
<id>kayahr</id>
@@ -45,7 +45,7 @@
4545
</roles>
4646
<timezone>+1</timezone>
4747
<url>http://www.ailis.de/~k/</url>
48-
</developer>
48+
</developer>
4949
<developer>
5050
<id>llongi</id>
5151
<name>Luca Longinotti</name>
@@ -55,36 +55,29 @@
5555
</roles>
5656
<timezone>+1</timezone>
5757
<url>http://l.longi.li/</url>
58-
</developer>
58+
</developer>
5959
</developers>
6060

6161
<properties>
6262
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
63-
<repoBaseUrl>http://nexus.ailis.de/content/groups/public/org/usb4java/${project.artifactId}</repoBaseUrl>
64-
<artifactBaseUrl>${repoBaseUrl}/${project.version}/${project.artifactId}-${project.version}</artifactBaseUrl>
6563
</properties>
66-
64+
6765
<scm>
6866
<connection>scm:git:git://github.com/usb4java/${project.artifactId}.git</connection>
6967
<developerConnection>scm:git:ssh://git@github.com/usb4java/${project.artifactId}.git</developerConnection>
7068
<url>http://github.com/usb4java/${project.artifactId}</url>
7169
<tag>HEAD</tag>
7270
</scm>
73-
71+
7472
<issueManagement>
7573
<system>GitHub</system>
7674
<url>https://github.com/usb4java/${project.artifactId}/issues</url>
7775
</issueManagement>
78-
79-
<ciManagement>
80-
<system>Jenkins</system>
81-
<url>https://ci.ailis.de/job/${project.artifactId}/</url>
82-
</ciManagement>
83-
76+
8477
<prerequisites>
8578
<maven>3.0.5</maven>
8679
</prerequisites>
87-
80+
8881
<reporting>
8982
<plugins>
9083
<plugin>
@@ -107,11 +100,11 @@
107100
<report>dependencies</report>
108101
<report>plugins</report>
109102
<report>plugin-management</report>
110-
</reports>
111-
</reportSet>
112-
</reportSets>
103+
</reports>
104+
</reportSet>
105+
</reportSets>
113106
</plugin>
114-
<plugin>
107+
<plugin>
115108
<groupId>org.apache.maven.plugins</groupId>
116109
<artifactId>maven-changes-plugin</artifactId>
117110
<version>2.12.1</version>
@@ -138,13 +131,13 @@
138131
</reportSet>
139132
</reportSets>
140133
</plugin>
141-
</plugins>
142-
</reporting>
143-
134+
</plugins>
135+
</reporting>
136+
144137
<build>
145-
138+
146139
<plugins>
147-
140+
148141
<!-- Use Java 6 -->
149142
<plugin>
150143
<groupId>org.apache.maven.plugins</groupId>
@@ -156,11 +149,11 @@
156149
<encoding>${project.build.sourceEncoding}</encoding>
157150
</configuration>
158151
</plugin>
159-
152+
160153
<!-- Build the web site -->
161154
<plugin>
162155
<groupId>org.apache.maven.plugins</groupId>
163-
<artifactId>maven-site-plugin</artifactId>
156+
<artifactId>maven-site-plugin</artifactId>
164157
<version>3.7.1</version>
165158
<configuration>
166159
<chmod>false</chmod>
@@ -169,14 +162,14 @@
169162
<outputEncoding>${project.build.sourceEncoding}</outputEncoding>
170163
</configuration>
171164
</plugin>
172-
165+
173166
<!-- Build binary artifacts for Unix, Mac OS X and Windows -->
174-
<plugin>
167+
<plugin>
175168
<artifactId>maven-assembly-plugin</artifactId>
176169
<version>3.1.0</version>
177170
<configuration>
178171
<appendAssemblyId>false</appendAssemblyId>
179-
<attach>true</attach>
172+
<attach>false</attach>
180173
<descriptors>
181174
<descriptor>src/main/assembly/tarball.xml</descriptor>
182175
<descriptor>src/main/assembly/zip.xml</descriptor>
@@ -190,7 +183,7 @@
190183
<goal>single</goal>
191184
</goals>
192185
</execution>
193-
</executions>
186+
</executions>
194187
</plugin>
195188

196189
<plugin>
@@ -224,13 +217,14 @@
224217
<version>3.1.0</version>
225218
</plugin>
226219
</plugins>
227-
</build>
228-
220+
</build>
221+
229222
<repositories>
230223
<repository>
231-
<id>ailis</id>
232-
<name>Ailis Maven Repository</name>
233-
<url>http://nexus.ailis.de/content/groups/public/</url>
224+
<id>sonatype-snapshots</id>
225+
<name>Sonatype Snapshot Repository</name>
226+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
227+
<snapshots><enabled>true</enabled></snapshots>
234228
</repository>
235229
</repositories>
236230

@@ -240,25 +234,24 @@
240234
<url>file://${project.basedir}/../${project.artifactId}-site/</url>
241235
</site>
242236
<repository>
243-
<id>ailis-releases</id>
244-
<name>Ailis Maven Releases</name>
245-
<url>http://nexus.ailis.de/content/repositories/releases</url>
237+
<id>sonatype-staging</id>
238+
<name>Sonatype Staging Repository</name>
239+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
246240
</repository>
247241
<snapshotRepository>
248-
<id>ailis-snapshots</id>
249-
<name>Ailis Maven Snapshots</name>
250-
<url>http://nexus.ailis.de/content/repositories/snapshots</url>
251-
</snapshotRepository>
252-
242+
<id>sonatype-snapshots</id>
243+
<name>Sonatype Snapshot Repository</name>
244+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
245+
</snapshotRepository>
253246
</distributionManagement>
254-
247+
255248
<dependencies>
256249
<dependency>
257250
<groupId>junit</groupId>
258251
<artifactId>junit</artifactId>
259252
<version>4.12</version>
260253
<scope>test</scope>
261-
</dependency>
254+
</dependency>
262255
<dependency>
263256
<groupId>org.mockito</groupId>
264257
<artifactId>mockito-core</artifactId>
@@ -281,5 +274,5 @@
281274
<version>1.3.0-SNAPSHOT</version>
282275
</dependency>
283276
</dependencies>
284-
277+
285278
</project>

0 commit comments

Comments
 (0)