Skip to content

Commit 3daaa8d

Browse files
committed
Ajuste Dockerfile-build
1 parent b5059d3 commit 3daaa8d

File tree

1 file changed

+31
-2
lines changed

1 file changed

+31
-2
lines changed

pom-base.xml

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,26 @@
172172
<target>1.8</target>
173173
</configuration>
174174
</plugin>
175+
<plugin>
176+
<groupId>org.sonatype.plugins</groupId>
177+
<artifactId>nexus-staging-maven-plugin</artifactId>
178+
<version>1.6.8</version>
179+
<extensions>true</extensions>
180+
<configuration>
181+
<serverId>sonatype-nexus</serverId>
182+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
183+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
184+
</configuration>
185+
</plugin>
186+
<plugin>
187+
<groupId>org.apache.maven.plugins</groupId>
188+
<artifactId>maven-release-plugin</artifactId>
189+
<version>2.5.3</version>
190+
<configuration>
191+
<pushChanges>false</pushChanges>
192+
<localCheckout>true</localCheckout>
193+
</configuration>
194+
</plugin>
175195
<plugin>
176196
<groupId>org.apache.maven.plugins</groupId>
177197
<artifactId>maven-assembly-plugin</artifactId>
@@ -183,13 +203,22 @@
183203
</configuration>
184204
<executions>
185205
<execution>
186-
<phase>package</phase>
206+
<phase>none</phase>
187207
<goals>
188-
<goal>attached</goal>
208+
<goal>single</goal>
189209
</goals>
190210
</execution>
191211
</executions>
192212
</plugin>
213+
<plugin>
214+
<artifactId>maven-surefire-plugin</artifactId>
215+
<version>2.22.2</version>
216+
<configuration>
217+
<argLine>
218+
-javaagent:src/test/resources/agent.jar
219+
</argLine>
220+
</configuration>
221+
</plugin>
193222
</plugins>
194223
</build>
195224
</project>

0 commit comments

Comments
 (0)