Skip to content

Commit 8d640f1

Browse files
committed
Extended our pom from the Sonatype parent pom which cleaned up our pom even more!
1 parent fe9e5b0 commit 8d640f1

File tree

1 file changed

+5
-67
lines changed

1 file changed

+5
-67
lines changed

pom.xml

Lines changed: 5 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
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/maven-v4_0_0.xsd">
2+
<parent>
3+
<groupId>org.sonatype.oss</groupId>
4+
<artifactId>oss-parent</artifactId>
5+
<version>2</version>
6+
</parent>
27
<modelVersion>4.0.0</modelVersion>
38
<groupId>org.mybatis</groupId>
49
<artifactId>mybatis</artifactId>
@@ -41,9 +46,6 @@
4146
<email>[email protected]</email>
4247
</developer>
4348
</developers>
44-
<properties>
45-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
46-
</properties>
4749
<scm>
4850
<url>scm:svn:https://mybatis.googlecode.com/svn/</url>
4951
<connection>scm:svn:https://mybatis.googlecode.com/svn/</connection>
@@ -70,14 +72,6 @@
7072
</reporting>
7173
<build>
7274
<plugins>
73-
<plugin>
74-
<groupId>org.apache.maven.plugins</groupId>
75-
<artifactId>maven-release-plugin</artifactId>
76-
<configuration>
77-
<tagBase>https://mybatis.googlecode.com/svn/tags/</tagBase>
78-
<mavenExecutorId>forked-path</mavenExecutorId>
79-
</configuration>
80-
</plugin>
8175
<plugin>
8276
<artifactId>maven-assembly-plugin</artifactId>
8377
<version>2.2-beta-5</version>
@@ -96,10 +90,6 @@
9690
<target>1.5</target>
9791
</configuration>
9892
</plugin>
99-
<plugin>
100-
<groupId>org.apache.maven.plugins</groupId>
101-
<artifactId>maven-javadoc-plugin</artifactId>
102-
</plugin>
10393
<plugin>
10494
<groupId>org.codehaus.mojo</groupId>
10595
<artifactId>cobertura-maven-plugin</artifactId>
@@ -121,17 +111,6 @@
121111
</execution>
122112
</executions>
123113
</plugin>
124-
<plugin>
125-
<groupId>org.apache.maven.plugins</groupId>
126-
<artifactId>maven-source-plugin</artifactId>
127-
<executions>
128-
<execution>
129-
<goals>
130-
<goal>jar</goal>
131-
</goals>
132-
</execution>
133-
</executions>
134-
</plugin>
135114
</plugins>
136115
<resources>
137116
<resource>
@@ -225,45 +204,4 @@
225204
<scope>test</scope>
226205
</dependency>
227206
</dependencies>
228-
<distributionManagement>
229-
<snapshotRepository>
230-
<id>sonatype-nexus-snapshots</id>
231-
<name>Sonatype Nexus Snapshots</name>
232-
<url>http://oss.sonatype.org/content/repositories/snapshots</url>
233-
</snapshotRepository>
234-
<repository>
235-
<id>sonatype-nexus-staging</id>
236-
<name>Nexus Release Repository</name>
237-
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2</url>
238-
</repository>
239-
</distributionManagement>
240-
<profiles>
241-
<profile>
242-
<id>release-sign-artifacts</id>
243-
<activation>
244-
<property>
245-
<name>performRelease</name>
246-
<value>true</value>
247-
</property>
248-
</activation>
249-
<build>
250-
<plugins>
251-
<plugin>
252-
<groupId>org.apache.maven.plugins</groupId>
253-
<artifactId>maven-gpg-plugin</artifactId>
254-
<version>1.0-alpha-4</version>
255-
<executions>
256-
<execution>
257-
<id>sign-artifacts</id>
258-
<phase>verify</phase>
259-
<goals>
260-
<goal>sign</goal>
261-
</goals>
262-
</execution>
263-
</executions>
264-
</plugin>
265-
</plugins>
266-
</build>
267-
</profile>
268-
</profiles>
269207
</project>

0 commit comments

Comments
 (0)