@@ -30,9 +30,8 @@ public final class IndexPageBuilder {
3030
3131 private static final String [] EXAMPLE_URLS = new String [] {
3232 "${groupIdPath}/${nodeJsArtifactId}/${nodeJsSampleVersion}/${nodeJsArtifactId}-${nodeJsSampleVersion}.pom" ,
33- "${groupIdPath}/${nodeJsArtifactId}/${nodeJsSampleVersion}/${nodeJsArtifactId}-${nodeJsSampleVersion}-windows-x86.exe" ,
34- "${groupIdPath}/${nodeJsArtifactId}/${nodeJsSampleVersion}/${nodeJsArtifactId}-${nodeJsSampleVersion}-windows-x64.exe" ,
35- "${groupIdPath}/${nodeJsArtifactId}/${nodeJsSampleVersion}/${nodeJsArtifactId}-${nodeJsSampleVersion}-linux-x86.tar.gz" ,
33+ "${groupIdPath}/${nodeJsArtifactId}/${nodeJsSampleVersion}/${nodeJsArtifactId}-${nodeJsSampleVersion}-win-x86.zip" ,
34+ "${groupIdPath}/${nodeJsArtifactId}/${nodeJsSampleVersion}/${nodeJsArtifactId}-${nodeJsSampleVersion}-win-x64.zip" ,
3635 "${groupIdPath}/${nodeJsArtifactId}/${nodeJsSampleVersion}/${nodeJsArtifactId}-${nodeJsSampleVersion}-linux-x64.tar.gz" ,
3736 "${groupIdPath}/${nodeJsArtifactId}/${nodeJsSampleVersion}/${nodeJsArtifactId}-${nodeJsSampleVersion}-darwin-x64.tar.gz" ,
3837 "${groupIdPath}/${npmArtifactId}/${npmSampleVersion}/${npmArtifactId}-${npmSampleVersion}.pom" ,
@@ -61,28 +60,28 @@ public static String build(MavenProxyConfiguration config) {
6160 String serviceVersion = IndexPageBuilder .class .getPackage ().getImplementationVersion ();
6261
6362 return "<!DOCTYPE html>\n <html>"
64- + "<head>"
65- + "<title>Maven NodeJS Proxy</title>"
66- + "<style>body { font-family: sans-serif; }</style>"
67- + "</head>"
68- + "<body>"
69- + "<h1>Maven NodeJS Proxy</h1>"
70- + "<p>This is a Maven Artifact Proxy for NodeJS binaries located at: "
71- + "<a href=\" " + config .getNodeJsBinariesRootUrl () + "\" >" + config .getNodeJsBinariesRootUrl () + "</a></p>"
72- + "<p>Every call to this Maven repository is routed directly to the NodeJS distribution server.</p>"
73- + "<p><strong>Please never use this Maven repository directly in your maven builds, use it only via a Repository Manager "
74- + "which caches the resolved artifacts.</strong></p>"
75- + "<p>If you want to setup your own proxy get the source code: "
76- + "<a href=\" https://github.com/wcm-io-devops/maven-nodejs-proxy\" >https://github.com/wcm-io-devops/maven-nodejs-proxy</a></p>"
77- + "<hr/>"
78- + "<p>Example artifacts:</p>"
79- + "<ul>"
80- + exampleUrlsMarkup
81- + "</ul>"
82- + "<p>For all files SHA1 checksums are supported (.sha1 suffix). MD5 checksums are not supported.</p>"
83- + (serviceVersion != null ? "<hr/><p>Version " + IndexPageBuilder .class .getPackage ().getImplementationVersion () + "</p>" : "" )
84- + "</body>"
85- + "</html>" ;
63+ + "<head>"
64+ + "<title>Maven NodeJS Proxy</title>"
65+ + "<style>body { font-family: sans-serif; }</style>"
66+ + "</head>"
67+ + "<body>"
68+ + "<h1>Maven NodeJS Proxy</h1>"
69+ + "<p>This is a Maven Artifact Proxy for NodeJS binaries located at: "
70+ + "<a href=\" " + config .getNodeJsBinariesRootUrl () + "\" >" + config .getNodeJsBinariesRootUrl () + "</a></p>"
71+ + "<p>Every call to this Maven repository is routed directly to the NodeJS distribution server.</p>"
72+ + "<p><strong>Please never use this Maven repository directly in your maven builds, use it only via a Repository Manager "
73+ + "which caches the resolved artifacts.</strong></p>"
74+ + "<p>If you want to setup your own proxy get the source code: "
75+ + "<a href=\" https://github.com/wcm-io-devops/maven-nodejs-proxy\" >https://github.com/wcm-io-devops/maven-nodejs-proxy</a></p>"
76+ + "<hr/>"
77+ + "<p>Example artifacts:</p>"
78+ + "<ul>"
79+ + exampleUrlsMarkup
80+ + "</ul>"
81+ + "<p>For all files SHA1 checksums are supported (.sha1 suffix). MD5 checksums are not supported.</p>"
82+ + (serviceVersion != null ? "<hr/><p>Version " + IndexPageBuilder .class .getPackage ().getImplementationVersion () + "</p>" : "" )
83+ + "</body>"
84+ + "</html>" ;
8685 }
8786
8887}
0 commit comments