Skip to content

Commit 65334c4

Browse files
committed
made modifications for deployment to Maven Centeral
1 parent 0b511c5 commit 65334c4

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

pom.xml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@
5555
<id>ossrh</id>
5656
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
5757
</snapshotRepository>
58+
<repository>
59+
<id>ossrh</id>
60+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
61+
</repository>
5862
</distributionManagement>
5963

6064
<build>
@@ -71,9 +75,10 @@
7175
<plugin>
7276
<groupId>org.apache.maven.plugins</groupId>
7377
<artifactId>maven-compiler-plugin</artifactId>
78+
<version>3.12.1</version>
7479
<configuration>
75-
<source>8</source>
76-
<target>8</target>
80+
<source>1.8</source>
81+
<target>1.8</target>
7782
</configuration>
7883
</plugin>
7984
<plugin>
@@ -127,6 +132,17 @@
127132
<autoReleaseAfterClose>true</autoReleaseAfterClose>
128133
</configuration>
129134
</plugin>
135+
<plugin>
136+
<groupId>org.apache.maven.plugins</groupId>
137+
<artifactId>maven-release-plugin</artifactId>
138+
<version>2.5.3</version>
139+
<configuration>
140+
<autoVersionSubmodules>true</autoVersionSubmodules>
141+
<useReleaseProfile>false</useReleaseProfile>
142+
<releaseProfiles>release</releaseProfiles>
143+
<goals>deploy</goals>
144+
</configuration>
145+
</plugin>
130146
</plugins>
131147
</build>
132148
</project>

0 commit comments

Comments
 (0)