Skip to content

Commit a1fe8f8

Browse files
committed
Use nexus-staging-maven-plugin for deployments
1 parent d8f2e7a commit a1fe8f8

File tree

1 file changed

+150
-155
lines changed

1 file changed

+150
-155
lines changed

pom.xml

Lines changed: 150 additions & 155 deletions
Original file line numberDiff line numberDiff line change
@@ -1,166 +1,161 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
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>
2+
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>
44

5-
<groupId>eu.adlogix.com.google.api.ads.dfp</groupId>
6-
<artifactId>googleads-dfp-utils</artifactId>
7-
<version>0.0.8-SNAPSHOT</version>
8-
<packaging>jar</packaging>
5+
<groupId>eu.adlogix.com.google.api.ads.dfp</groupId>
6+
<artifactId>googleads-dfp-utils</artifactId>
7+
<version>0.0.8-SNAPSHOT</version>
8+
<packaging>jar</packaging>
99

10-
<name>Google Ads DFP Utilities</name>
11-
<description>Google Ads DFP Utility classes to speed up the integration</description>
12-
<url>http://maven.apache.org</url>
10+
<name>Google Ads DFP Utilities</name>
11+
<description>Google Ads DFP Utility classes to speed up the integration</description>
12+
<url>http://maven.apache.org</url>
1313

14-
<properties>
15-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16-
</properties>
14+
<properties>
15+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16+
</properties>
1717

18-
<licenses>
19-
<license>
20-
<name>MIT License</name>
21-
<url>http://opensource.org/licenses/MIT</url>
22-
<distribution>repo</distribution>
23-
</license>
24-
</licenses>
18+
<licenses>
19+
<license>
20+
<name>MIT License</name>
21+
<url>http://opensource.org/licenses/MIT</url>
22+
<distribution>repo</distribution>
23+
</license>
24+
</licenses>
2525

26-
<scm>
27-
<connection>scm:git:[email protected]:adlogix/googleads-dfp-utils.git</connection>
28-
<developerConnection>scm:git:[email protected]:adlogix/googleads-dfp-utils.git</developerConnection>
29-
<url>[email protected]:adlogix/googleads-dfp-utils.git</url>
30-
</scm>
26+
<scm>
27+
<connection>scm:git:[email protected]:adlogix/googleads-dfp-utils.git</connection>
28+
<developerConnection>scm:git:[email protected]:adlogix/googleads-dfp-utils.git</developerConnection>
29+
<url>[email protected]:adlogix/googleads-dfp-utils.git</url>
30+
</scm>
3131

32-
<developers>
33-
<developer>
34-
<id>tonivdv</id>
35-
<name>Toni Van de Voorde</name>
36-
<email>[email protected]</email>
37-
<organization>Adlogix</organization>
38-
<organizationUrl>http://www.adlogix.eu</organizationUrl>
39-
<roles>
40-
<role>owner</role>
41-
<role>developer</role>
42-
</roles>
43-
<timezone>+2</timezone>
44-
</developer>
45-
</developers>
32+
<developers>
33+
<developer>
34+
<id>tonivdv</id>
35+
<name>Toni Van de Voorde</name>
36+
<email>[email protected]</email>
37+
<organization>Adlogix</organization>
38+
<organizationUrl>http://www.adlogix.eu</organizationUrl>
39+
<roles>
40+
<role>owner</role>
41+
<role>developer</role>
42+
</roles>
43+
<timezone>+2</timezone>
44+
</developer>
45+
</developers>
4646

47-
<build>
48-
<plugins>
49-
<plugin>
50-
<groupId>org.apache.maven.plugins</groupId>
51-
<artifactId>maven-compiler-plugin</artifactId>
52-
<version>2.3.2</version>
53-
<configuration>
54-
<compilerVersion>1.6</compilerVersion>
55-
<source>1.6</source>
56-
<target>1.6</target>
57-
</configuration>
58-
</plugin>
59-
<plugin>
60-
<groupId>org.apache.maven.plugins</groupId>
61-
<artifactId>maven-resources-plugin</artifactId>
62-
<version>2.5</version>
63-
<configuration>
64-
<encoding>UTF-8</encoding>
65-
</configuration>
66-
</plugin>
67-
<plugin>
68-
<groupId>org.apache.maven.plugins</groupId>
69-
<artifactId>maven-gpg-plugin</artifactId>
70-
<version>1.5</version>
71-
<executions>
72-
<execution>
73-
<id>sign-artifacts</id>
74-
<phase>verify</phase>
75-
<goals>
76-
<goal>sign</goal>
77-
</goals>
78-
</execution>
79-
</executions>
80-
</plugin>
81-
<plugin>
82-
<groupId>org.apache.maven.plugins</groupId>
83-
<artifactId>maven-source-plugin</artifactId>
84-
<version>2.2.1</version>
85-
<executions>
86-
<execution>
87-
<phase>package</phase>
88-
<goals>
89-
<goal>jar</goal>
90-
</goals>
91-
</execution>
92-
</executions>
93-
</plugin>
94-
<plugin>
95-
<groupId>org.apache.maven.plugins</groupId>
96-
<artifactId>maven-javadoc-plugin</artifactId>
97-
<version>2.9.1</version>
98-
<configuration>
99-
<reportOutputDirectory>.</reportOutputDirectory>
100-
<destDir>javadocs</destDir>
101-
</configuration>
102-
</plugin>
103-
<plugin>
104-
<groupId>org.apache.maven.plugins</groupId>
105-
<artifactId>maven-assembly-plugin</artifactId>
106-
<version>2.3</version>
107-
</plugin>
108-
</plugins>
109-
</build>
47+
<distributionManagement>
48+
<snapshotRepository>
49+
<id>ossrh</id>
50+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
51+
</snapshotRepository>
52+
<repository>
53+
<id>ossrh</id>
54+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
55+
</repository>
56+
</distributionManagement>
11057

111-
<profiles>
112-
<profile>
113-
<id>sonatype</id>
114-
<properties>
115-
<sonatypeReleaseId>sonatype-nexus-staging</sonatypeReleaseId>
116-
<sonatypeReleaseUrl>
117-
https://oss.sonatype.org/service/local/staging/deploy/maven2
118-
</sonatypeReleaseUrl>
119-
<sonatypeSnapshotId>sonatype-nexus-staging</sonatypeSnapshotId>
120-
<sonatypeSnapshotUrl>
121-
https://oss.sonatype.org/content/repositories/snapshots/
122-
</sonatypeSnapshotUrl>
123-
</properties>
124-
<distributionManagement>
125-
<repository>
126-
<id>${sonatypeReleaseId}</id>
127-
<url>${sonatypeReleaseUrl}</url>
128-
</repository>
129-
<snapshotRepository>
130-
<id>${sonatypeSnapshotId}</id>
131-
<url>${sonatypeSnapshotUrl}</url>
132-
</snapshotRepository>
133-
</distributionManagement>
134-
</profile>
135-
</profiles>
58+
<build>
59+
<plugins>
60+
<plugin>
61+
<groupId>org.apache.maven.plugins</groupId>
62+
<artifactId>maven-compiler-plugin</artifactId>
63+
<version>2.3.2</version>
64+
<configuration>
65+
<compilerVersion>1.6</compilerVersion>
66+
<source>1.6</source>
67+
<target>1.6</target>
68+
</configuration>
69+
</plugin>
70+
<plugin>
71+
<groupId>org.apache.maven.plugins</groupId>
72+
<artifactId>maven-resources-plugin</artifactId>
73+
<version>2.5</version>
74+
<configuration>
75+
<encoding>UTF-8</encoding>
76+
</configuration>
77+
</plugin>
78+
<plugin>
79+
<groupId>org.apache.maven.plugins</groupId>
80+
<artifactId>maven-gpg-plugin</artifactId>
81+
<version>1.5</version>
82+
<executions>
83+
<execution>
84+
<id>sign-artifacts</id>
85+
<phase>verify</phase>
86+
<goals>
87+
<goal>sign</goal>
88+
</goals>
89+
</execution>
90+
</executions>
91+
</plugin>
92+
<plugin>
93+
<groupId>org.apache.maven.plugins</groupId>
94+
<artifactId>maven-source-plugin</artifactId>
95+
<version>2.2.1</version>
96+
<executions>
97+
<execution>
98+
<phase>package</phase>
99+
<goals>
100+
<goal>jar</goal>
101+
</goals>
102+
</execution>
103+
</executions>
104+
</plugin>
105+
<plugin>
106+
<groupId>org.apache.maven.plugins</groupId>
107+
<artifactId>maven-javadoc-plugin</artifactId>
108+
<version>2.9.1</version>
109+
<configuration>
110+
<reportOutputDirectory>.</reportOutputDirectory>
111+
<destDir>javadocs</destDir>
112+
</configuration>
113+
</plugin>
114+
<plugin>
115+
<groupId>org.apache.maven.plugins</groupId>
116+
<artifactId>maven-assembly-plugin</artifactId>
117+
<version>2.3</version>
118+
</plugin>
119+
<plugin>
120+
<groupId>org.sonatype.plugins</groupId>
121+
<artifactId>nexus-staging-maven-plugin</artifactId>
122+
<extensions>true</extensions>
123+
<configuration>
124+
<serverId>ossrh</serverId>
125+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
126+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
127+
</configuration>
128+
</plugin>
129+
</plugins>
130+
</build>
136131

137-
<dependencies>
138-
<dependency>
139-
<groupId>com.google.api-ads</groupId>
140-
<artifactId>ads-lib</artifactId>
141-
<version>RELEASE</version>
142-
</dependency>
143-
<dependency>
144-
<groupId>com.google.api-ads</groupId>
145-
<artifactId>dfp-axis</artifactId>
146-
<version>RELEASE</version>
147-
</dependency>
148-
<dependency>
149-
<groupId>org.projectlombok</groupId>
150-
<artifactId>lombok</artifactId>
151-
<version>1.12.6</version>
152-
<scope>provided</scope>
153-
</dependency>
154-
<dependency>
155-
<groupId>com.google.guava</groupId>
156-
<artifactId>guava</artifactId>
157-
<version>16.0.1</version>
158-
</dependency>
159-
<dependency>
160-
<groupId>org.testng</groupId>
161-
<artifactId>testng</artifactId>
162-
<version>6.8.8</version>
163-
<scope>test</scope>
164-
</dependency>
165-
</dependencies>
132+
<dependencies>
133+
<dependency>
134+
<groupId>com.google.api-ads</groupId>
135+
<artifactId>ads-lib</artifactId>
136+
<version>RELEASE</version>
137+
</dependency>
138+
<dependency>
139+
<groupId>com.google.api-ads</groupId>
140+
<artifactId>dfp-axis</artifactId>
141+
<version>RELEASE</version>
142+
</dependency>
143+
<dependency>
144+
<groupId>org.projectlombok</groupId>
145+
<artifactId>lombok</artifactId>
146+
<version>1.12.6</version>
147+
<scope>provided</scope>
148+
</dependency>
149+
<dependency>
150+
<groupId>com.google.guava</groupId>
151+
<artifactId>guava</artifactId>
152+
<version>16.0.1</version>
153+
</dependency>
154+
<dependency>
155+
<groupId>org.testng</groupId>
156+
<artifactId>testng</artifactId>
157+
<version>6.8.8</version>
158+
<scope>test</scope>
159+
</dependency>
160+
</dependencies>
166161
</project>

0 commit comments

Comments
 (0)