Skip to content

Commit c83677c

Browse files
committed
Update the sonatype repository
1 parent 8bb20fb commit c83677c

File tree

1 file changed

+59
-5
lines changed

1 file changed

+59
-5
lines changed

pom.xml

Lines changed: 59 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<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">
33
<modelVersion>4.0.0</modelVersion>
4-
<parent>
5-
<groupId>org.sonatype.oss</groupId>
6-
<artifactId>oss-parent</artifactId>
7-
<version>7</version>
8-
</parent>
94
<groupId>org.modelmapper</groupId>
105
<artifactId>modelmapper-module-record</artifactId>
116
<version>1.0.1-SNAPSHOT</version>
@@ -63,4 +58,63 @@
6358
<scope>test</scope>
6459
</dependency>
6560
</dependencies>
61+
<profiles>
62+
<profile>
63+
<id>release</id>
64+
<build>
65+
<plugins>
66+
<plugin>
67+
<groupId>org.apache.maven.plugins</groupId>
68+
<artifactId>maven-javadoc-plugin</artifactId>
69+
<version>2.8.1</version>
70+
<executions>
71+
<execution>
72+
<id>attach-javadocs</id>
73+
<goals>
74+
<goal>jar</goal>
75+
</goals>
76+
</execution>
77+
</executions>
78+
</plugin>
79+
<plugin>
80+
<groupId>org.apache.maven.plugins</groupId>
81+
<artifactId>maven-source-plugin</artifactId>
82+
<version>2.1.2</version>
83+
<executions>
84+
<execution>
85+
<id>attach-sources</id>
86+
<goals>
87+
<goal>jar-no-fork</goal>
88+
</goals>
89+
</execution>
90+
</executions>
91+
</plugin>
92+
<plugin>
93+
<groupId>org.apache.maven.plugins</groupId>
94+
<artifactId>maven-gpg-plugin</artifactId>
95+
<version>1.1</version>
96+
<executions>
97+
<execution>
98+
<id>sign-artifacts</id>
99+
<phase>verify</phase>
100+
<goals>
101+
<goal>sign</goal>
102+
</goals>
103+
</execution>
104+
</executions>
105+
</plugin>
106+
<plugin>
107+
<groupId>org.sonatype.central</groupId>
108+
<artifactId>central-publishing-maven-plugin</artifactId>
109+
<version>0.9.0</version>
110+
<extensions>true</extensions>
111+
<configuration>
112+
<autoPublish>true</autoPublish>
113+
<publishingServerId>central</publishingServerId>
114+
</configuration>
115+
</plugin>
116+
</plugins>
117+
</build>
118+
</profile>
119+
</profiles>
66120
</project>

0 commit comments

Comments
 (0)