Skip to content

Commit 785d409

Browse files
authored
Fix/pom (#89)
* update pom/xml for beta release * set user agent * new pom configuration
1 parent 846466d commit 785d409

File tree

1 file changed

+34
-31
lines changed

1 file changed

+34
-31
lines changed

pom.xml

Lines changed: 34 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
<url>https://github.com/Bandwidth/java-sdk</url>
1111
<description>The official client SDK for Bandwidth&#39;s Voice, Messaging, MFA, and WebRTC APIs</description>
1212
<scm>
13-
<connection>scm:git:git@github.com:openapitools/openapi-generator.git</connection>
14-
<developerConnection>scm:git:[email protected]:openapitools/openapi-generator.git</developerConnection>
15-
<url>https://github.com/openapitools/openapi-generator</url>
13+
<url>https://github.com/Bandwidth/java-sdk</url>
14+
<connection>scm:git:[email protected]:Bandwidth/java-sdk.git</connection>
15+
<developerConnection>scm:git:git@github.com:Bandwidth/java-sdk.git</developerConnection>
1616
</scm>
1717

1818
<licenses>
@@ -36,10 +36,12 @@
3636

3737
<developers>
3838
<developer>
39-
<name>OpenAPI-Generator Contributors</name>
40-
<email>[email protected]</email>
41-
<organization>Bandwidth</organization>
42-
<organizationUrl>http://openapitools.org</organizationUrl>
39+
<id>support</id>
40+
<name>Bandwidth Support</name>
41+
<email>[email protected]</email>
42+
<organization>Bandwidth, Inc.</organization>
43+
<organizationUrl>http://bandwidth.com</organizationUrl>
44+
<timezone>-5</timezone>
4345
</developer>
4446
</developers>
4547

@@ -205,6 +207,31 @@
205207
</execution>
206208
</executions>
207209
</plugin>
210+
<plugin>
211+
<groupId>org.apache.maven.plugins</groupId>
212+
<artifactId>maven-gpg-plugin</artifactId>
213+
<version>3.0.1</version>
214+
<executions>
215+
<execution>
216+
<id>sign-artifacts</id>
217+
<phase>verify</phase>
218+
<goals>
219+
<goal>sign</goal>
220+
</goals>
221+
</execution>
222+
</executions>
223+
</plugin>
224+
<plugin>
225+
<groupId>org.sonatype.plugins</groupId>
226+
<artifactId>nexus-staging-maven-plugin</artifactId>
227+
<version>1.6.2</version>
228+
<extensions>true</extensions>
229+
<configuration>
230+
<serverId>ossrh</serverId>
231+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
232+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
233+
</configuration>
234+
</plugin>
208235
<!-- Use spotless plugin to automatically format code, remove unused import, etc
209236
To apply changes directly to the file, run `mvn spotless:apply`
210237
Ref: https://github.com/diffplug/spotless/tree/main/plugin-maven
@@ -251,30 +278,6 @@
251278
</plugins>
252279
</build>
253280

254-
<profiles>
255-
<profile>
256-
<id>sign-artifacts</id>
257-
<build>
258-
<plugins>
259-
<plugin>
260-
<groupId>org.apache.maven.plugins</groupId>
261-
<artifactId>maven-gpg-plugin</artifactId>
262-
<version>3.0.1</version>
263-
<executions>
264-
<execution>
265-
<id>sign-artifacts</id>
266-
<phase>verify</phase>
267-
<goals>
268-
<goal>sign</goal>
269-
</goals>
270-
</execution>
271-
</executions>
272-
</plugin>
273-
</plugins>
274-
</build>
275-
</profile>
276-
</profiles>
277-
278281
<dependencies>
279282
<dependency>
280283
<groupId>org.glassfish.jaxb</groupId>

0 commit comments

Comments
 (0)