Skip to content

Commit a9b7154

Browse files
committed
[maven-release-plugin] prepare release smiley-http-proxy-servlet-1.2
1 parent e8a257e commit a9b7154

File tree

1 file changed

+50
-25
lines changed

1 file changed

+50
-25
lines changed

pom.xml

Lines changed: 50 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
11
<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/xsd/maven-4.0.0.xsd">
22
<modelVersion>4.0.0</modelVersion>
33

4+
<parent>
5+
<groupId>org.sonatype.oss</groupId>
6+
<artifactId>oss-parent</artifactId>
7+
<version>7</version>
8+
</parent>
9+
410
<groupId>org.mitre.dsmiley.httpproxy</groupId>
511
<artifactId>smiley-http-proxy-servlet</artifactId>
6-
<version>1.2-SNAPSHOT</version>
12+
<version>1.2</version>
713
<packaging>jar</packaging>
814

915
<name>Smiley's HTTP Proxy Servlet</name>
16+
<description>An HTTP Proxy (aka gateway) in the form of a Java servlet. An
17+
HTTP proxy is useful for AJAX applications to communicate with web
18+
accessible services on hosts other than where the web application is hosted.
19+
</description>
20+
21+
<url>https://github.com/dsmiley/HTTP-Proxy-Servlet</url>
1022

1123
<licenses>
1224
<license>
@@ -25,7 +37,9 @@
2537
</developers>
2638

2739
<scm>
40+
<url>https://github.com/dsmiley/HTTP-Proxy-Servlet</url>
2841
<connection>scm:git:https://[email protected]/dsmiley/HTTP-Proxy-Servlet.git</connection>
42+
<developerConnection>scm:git:[email protected]:dsmiley/HTTP-Proxy-Servlet.git</developerConnection>
2943
</scm>
3044

3145
<properties>
@@ -103,33 +117,44 @@
103117
</configuration>
104118
</plugin>
105119

106-
<plugin>
107-
<groupId>org.apache.maven.plugins</groupId>
108-
<artifactId>maven-source-plugin</artifactId>
109-
<version>2.1.2</version>
110-
<executions>
111-
<execution>
112-
<goals>
113-
<goal>jar</goal>
114-
</goals>
115-
</execution>
116-
</executions>
117-
</plugin>
118120

119121
</plugins>
120122
</build>
121123

122-
<distributionManagement>
123-
<repository>
124-
<id>maven-proxy</id>
125-
<name>maven-proxy-releases</name>
126-
<url>http://maven-proxy.mitre.org/artifactory/libs-releases-local</url>
127-
</repository>
128-
<snapshotRepository>
129-
<id>maven-proxy</id>
130-
<name>maven-proxy-releases</name>
131-
<url>http://maven-proxy.mitre.org/artifactory/libs-snapshots-local</url>
132-
</snapshotRepository>
133-
</distributionManagement>
124+
<profiles>
125+
<profile>
126+
<id>release</id>
127+
<build>
128+
<plugins>
129+
<plugin>
130+
<groupId>org.apache.maven.plugins</groupId>
131+
<artifactId>maven-source-plugin</artifactId>
132+
<version>2.2.1</version>
133+
<executions>
134+
<execution>
135+
<id>attach-sources</id>
136+
<goals>
137+
<goal>jar-no-fork</goal>
138+
</goals>
139+
</execution>
140+
</executions>
141+
</plugin>
142+
<plugin>
143+
<groupId>org.apache.maven.plugins</groupId>
144+
<artifactId>maven-javadoc-plugin</artifactId>
145+
<version>2.9</version>
146+
<executions>
147+
<execution>
148+
<id>attach-javadocs</id>
149+
<goals>
150+
<goal>jar</goal>
151+
</goals>
152+
</execution>
153+
</executions>
154+
</plugin>
155+
</plugins>
156+
</build>
157+
</profile>
158+
</profiles>
134159

135160
</project>

0 commit comments

Comments
 (0)