Skip to content

Commit b0604a8

Browse files
committed
update root pom
1 parent 33bb651 commit b0604a8

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

maven-nodejs-proxy/src/main/java/io/wcm/devops/maven/nodejsproxy/resource/MavenProxyResource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ public String getIndex() {
9494
+ "<p>This is a Maven Artifact Proxy for NodeJS binaries located at: "
9595
+ "<a href=\"" + config.getNodeJsBinariesRootUrl() + "\">" + config.getNodeJsBinariesRootUrl() + "</a></p>"
9696
+ "<p>Every call to this repository is routed directly to this URL.</p>"
97-
+ "<p>Please never use this Maven repository directly in your maven builds, but only via an Repository Manager "
98-
+ "which caches the resolved artifacts.</p>"
97+
+ "<p><strong>Please never use this Maven repository directly in your maven builds, but only via an Repository Manager "
98+
+ "which caches the resolved artifacts.</strong></p>"
9999
+ "<p>If you want to setup your own proxy get the source code:"
100100
+ "<a href=\"https://github.com/wcm-io-devops/maven-nodejs-proxy\">https://github.com/wcm-io-devops/maven-nodejs-proxy</a></p>"
101101
+ "<hr/>"

pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,19 @@
4848
<module>maven-nodejs-proxy</module>
4949
</modules>
5050

51+
<build>
52+
<plugins>
53+
54+
<!-- do not deploy this hierarchy pom into maven repository -->
55+
<plugin>
56+
<groupId>org.apache.maven.plugins</groupId>
57+
<artifactId>maven-deploy-plugin</artifactId>
58+
<configuration>
59+
<skip>true</skip>
60+
</configuration>
61+
</plugin>
62+
63+
</plugins>
64+
</build>
65+
5166
</project>

0 commit comments

Comments
 (0)