1- <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/maven-v4_0_0.xsd" >
1+ <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" >
32 <modelVersion >4.0.0</modelVersion >
43 <groupId >com.asana</groupId >
54 <artifactId >asana</artifactId >
98 <name >java-asana</name >
109 <description >A Java client for the Asana API.</description >
1110
12- <distributionManagement >
13- <snapshotRepository >
14- <id >ossrh</id >
15- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
16- </snapshotRepository >
17- <repository >
18- <id >ossrh</id >
19- <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
20- </repository >
21- </distributionManagement >
22-
2311 <issueManagement >
2412 <url >https://github.com/Asana/java-asana/issues</url >
2513 <system >GitHub Issues</system >
142130 </dependencies >
143131 </plugin >
144132
145- <!-- The below plugins are useful when debugging locally to be able to run an
133+ <plugin >
134+ <groupId >org.apache.maven.plugins</groupId >
135+ <artifactId >maven-javadoc-plugin</artifactId >
136+ <version >2.10.4</version >
137+ <executions >
138+ <execution >
139+ <id >attach-javadocs</id >
140+ <goals >
141+ <goal >jar</goal >
142+ </goals >
143+ </execution >
144+ </executions >
145+ </plugin >
146+
147+ <plugin >
148+ <groupId >org.apache.maven.plugins</groupId >
149+ <artifactId >maven-source-plugin</artifactId >
150+ <version >3.0.1</version >
151+ <executions >
152+ <execution >
153+ <id >attach-sources</id >
154+ <goals >
155+ <goal >jar</goal >
156+ </goals >
157+ </execution >
158+ </executions >
159+ </plugin >
160+
161+ <!-- The below plugins are useful when debugging locally to be able to run an
146162example, bringing in the proper CLASSPATHs of all dependencies, from the actual
147163final JAR file instead of the intermediate .class files. -->
148164
149- <!--
165+ <!--
150166 <plugin>
151167 <groupId>org.apache.maven.plugins</groupId>
152168 <artifactId>maven-dependency-plugin</artifactId>
@@ -195,10 +211,23 @@ final JAR file instead of the intermediate .class files. -->
195211
196212 <profiles >
197213 <profile >
198- <id >release</id >
214+ <id >ossrh</id >
215+ <activation >
216+ <activeByDefault >true</activeByDefault >
217+ </activation >
199218 <properties >
200219 <gpg .executable>gpg</gpg .executable>
201220 </properties >
221+ <distributionManagement >
222+ <snapshotRepository >
223+ <id >ossrh</id >
224+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
225+ </snapshotRepository >
226+ <repository >
227+ <id >ossrh</id >
228+ <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
229+ </repository >
230+ </distributionManagement >
202231 <build >
203232 <plugins >
204233 <plugin >
@@ -222,34 +251,6 @@ final JAR file instead of the intermediate .class files. -->
222251 </configuration >
223252 </plugin >
224253
225- <plugin >
226- <groupId >org.apache.maven.plugins</groupId >
227- <artifactId >maven-source-plugin</artifactId >
228- <version >2.2.1</version >
229- <executions >
230- <execution >
231- <id >attach-sources</id >
232- <goals >
233- <goal >jar-no-fork</goal >
234- </goals >
235- </execution >
236- </executions >
237- </plugin >
238-
239- <plugin >
240- <groupId >org.apache.maven.plugins</groupId >
241- <artifactId >maven-javadoc-plugin</artifactId >
242- <version >2.9.1</version >
243- <executions >
244- <execution >
245- <id >attach-javadocs</id >
246- <goals >
247- <goal >jar</goal >
248- </goals >
249- </execution >
250- </executions >
251- </plugin >
252-
253254 <plugin >
254255 <groupId >org.sonatype.plugins</groupId >
255256 <artifactId >nexus-staging-maven-plugin</artifactId >
@@ -265,5 +266,4 @@ final JAR file instead of the intermediate .class files. -->
265266 </build >
266267 </profile >
267268 </profiles >
268-
269269</project >
0 commit comments