Skip to content

Commit 13d8f1e

Browse files
committed
Update pom
1 parent c712537 commit 13d8f1e

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ target/
88
*.zip
99
*.tar.gz
1010
*~
11+
*.log
1112

1213
Thumbs.db
1314
build.sh
1415
log/
16+
ci/

pom.xml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,49 @@
8181
</plugin>
8282
</plugins>
8383
</build>
84+
<profiles>
85+
<profile>
86+
<id>release</id>
87+
<build>
88+
<plugins>
89+
<plugin>
90+
<groupId>org.sonatype.plugins</groupId>
91+
<artifactId>nexus-staging-maven-plugin</artifactId>
92+
<version>1.7.0</version>
93+
<extensions>true</extensions>
94+
<configuration>
95+
<serverId>ossrh</serverId>
96+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
97+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
98+
</configuration>
99+
</plugin>
100+
<plugin>
101+
<artifactId>maven-gpg-plugin</artifactId>
102+
<version>3.2.1</version>
103+
<executions>
104+
<execution>
105+
<id>sign-artifacts</id>
106+
<phase>verify</phase>
107+
<goals>
108+
<goal>sign</goal>
109+
</goals>
110+
</execution>
111+
</executions>
112+
</plugin>
113+
</plugins>
114+
</build>
115+
<distributionManagement>
116+
<snapshotRepository>
117+
<id>ossrh</id>
118+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
119+
</snapshotRepository>
120+
<repository>
121+
<id>ossrh</id>
122+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
123+
</repository>
124+
</distributionManagement>
125+
</profile>
126+
</profiles>
84127
<dependencies>
85128
<dependency>
86129
<groupId>org.red5</groupId>

0 commit comments

Comments
 (0)