Skip to content

Commit 7ce3b88

Browse files
committed
Migrated from sonatype parent #91.
1 parent b0229f8 commit 7ce3b88

File tree

1 file changed

+50
-5
lines changed

1 file changed

+50
-5
lines changed

pom.xml

Lines changed: 50 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@
99
<name>JAXB2 Basics - Project</name>
1010
<url>https://github.com/highsource/jaxb2-basics</url>
1111
<description>JAXB2 Basics is a part of JAXB2 Commons project which implements plugins and tools for JAXB 2.x reference implementation.</description>
12-
<parent>
13-
<groupId>org.sonatype.oss</groupId>
14-
<artifactId>oss-parent</artifactId>
15-
<version>7</version>
16-
</parent>
1712
<issueManagement>
1813
<system>GitHub Issues</system>
1914
<url>https://github.com/highsource/jaxb2-basics/issues</url>
@@ -96,8 +91,53 @@
9691
<module>dist</module>
9792
</modules>
9893
</profile>
94+
<profile>
95+
<id>sonatype-oss-release</id>
96+
<build>
97+
<plugins>
98+
<plugin>
99+
<groupId>org.apache.maven.plugins</groupId>
100+
<artifactId>maven-source-plugin</artifactId>
101+
<executions>
102+
<execution>
103+
<id>attach-sources</id>
104+
<goals>
105+
<goal>jar-no-fork</goal>
106+
</goals>
107+
</execution>
108+
</executions>
109+
</plugin>
110+
<plugin>
111+
<groupId>org.apache.maven.plugins</groupId>
112+
<artifactId>maven-javadoc-plugin</artifactId>
113+
<executions>
114+
<execution>
115+
<id>attach-javadocs</id>
116+
<goals>
117+
<goal>jar</goal>
118+
</goals>
119+
</execution>
120+
</executions>
121+
</plugin>
122+
<plugin>
123+
<groupId>org.apache.maven.plugins</groupId>
124+
<artifactId>maven-gpg-plugin</artifactId>
125+
<executions>
126+
<execution>
127+
<id>sign-artifacts</id>
128+
<phase>verify</phase>
129+
<goals>
130+
<goal>sign</goal>
131+
</goals>
132+
</execution>
133+
</executions>
134+
</plugin>
135+
</plugins>
136+
</build>
137+
</profile>
99138
</profiles>
100139
<properties>
140+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
101141
<jaxb.version>2.3.0</jaxb.version>
102142
<activation.version>1.2.0</activation.version>
103143
<maven-jaxb2-plugin.version>0.14.0</maven-jaxb2-plugin.version>
@@ -386,6 +426,11 @@
386426
<artifactId>maven-shade-plugin</artifactId>
387427
<version>3.1.1</version>
388428
</plugin>
429+
<plugin>
430+
<groupId>org.apache.maven.plugins</groupId>
431+
<artifactId>maven-gpg-plugin</artifactId>
432+
<version>1.6</version>
433+
</plugin>
389434
<plugin>
390435
<groupId>org.jvnet.jaxb2.maven2</groupId>
391436
<artifactId>maven-jaxb2-plugin</artifactId>

0 commit comments

Comments
 (0)