Skip to content

Commit de0bdea

Browse files
Merge pull request #10 from totalvoice/VIS-2259/correcao-deploy-pom
Vis 2259/correcao deploy pom
2 parents 77e7ebd + c170097 commit de0bdea

File tree

2 files changed

+47
-3
lines changed

2 files changed

+47
-3
lines changed

pom.xml

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>br.com.totalvoice</groupId>
55
<artifactId>totalvoice-java</artifactId>
6-
<version>1.2.1-SNAPSHOT</version>
6+
<version>1.4.13-SNAPSHOT</version>
77
<packaging>jar</packaging>
88
<name>TotalVoice API Client</name>
99

@@ -23,11 +23,22 @@
2323
</license>
2424
</licenses>
2525

26+
<distributionManagement>
27+
<snapshotRepository>
28+
<id>ossrh</id>
29+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
30+
</snapshotRepository>
31+
<repository>
32+
<id>ossrh</id>
33+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
34+
</repository>
35+
</distributionManagement>
36+
2637
<scm>
2738
<connection>scm:git:https://github.com/totalvoice/totalvoice-java.git</connection>
2839
<developerConnection>scm:git:https://github.com/totalvoice/totalvoice-java.git </developerConnection>
2940
<url>https://github.com/totalvoice/totalvoice-java.git</url>
30-
<tag>totalvoice-java-1.0.1-SNAPSHOT</tag>
41+
<tag>totalvoice-java-1.4.5</tag>
3142
</scm>
3243

3344
<developers>
@@ -116,4 +127,37 @@
116127
</plugins>
117128
</build>
118129

130+
<profiles>
131+
<profile>
132+
<id>sign-artifacts</id>
133+
<activation>
134+
<property>
135+
<name>performRelease</name>
136+
<value>true</value>
137+
</property>
138+
</activation>
139+
<build>
140+
<plugins>
141+
<plugin>
142+
<groupId>org.apache.maven.plugins</groupId>
143+
<artifactId>maven-gpg-plugin</artifactId>
144+
<version>1.5</version>
145+
<executions>
146+
<execution>
147+
<id>sign-artifacts</id>
148+
<phase>verify</phase>
149+
<goals>
150+
<goal>sign</goal>
151+
</goals>
152+
<configuration>
153+
<homedir>${gpg.homedir}</homedir>
154+
<passphrase>${gpg.passphrase}</passphrase>
155+
</configuration>
156+
</execution>
157+
</executions>
158+
</plugin>
159+
</plugins>
160+
</build>
161+
</profile>
162+
</profiles>
119163
</project>

src/main/java/br/com/totalvoice/TotalVoiceClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
public class TotalVoiceClient implements ClientInterface {
1313

14-
private static final String VERSION = "1.4.0";
14+
private static final String VERSION = "1.4.13";
1515

1616
private String token;
1717

0 commit comments

Comments
 (0)