This is an automated email from the ASF dual-hosted git repository.
skygo pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nb-repository-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new ccf0601 Add repositoryId parameter to allow configuration
ccf0601 is described below
commit ccf0601e452a2b46e964517c2003d261b87fdea8
Author: Eric Barboni <[email protected]>
AuthorDate: Thu Jun 13 20:29:18 2019 +0200
Add repositoryId parameter to allow configuration
---
.../apache/netbeans/nbm/repository/PopulateRepositoryMojo.java | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git
a/src/main/java/org/apache/netbeans/nbm/repository/PopulateRepositoryMojo.java
b/src/main/java/org/apache/netbeans/nbm/repository/PopulateRepositoryMojo.java
index d193031..2df5b2f 100644
---
a/src/main/java/org/apache/netbeans/nbm/repository/PopulateRepositoryMojo.java
+++
b/src/main/java/org/apache/netbeans/nbm/repository/PopulateRepositoryMojo.java
@@ -132,6 +132,12 @@ public class PopulateRepositoryMojo
private String deployUrl;
/**
+ * an string id representing the server
+ */
+ @Parameter( defaultValue = "netbeans" , property = "deployId" )
+ private String deployId;
+
+ /**
* By default the generated metadata is installed in local repository.
* Setting this parameter to false will avoid installing the bits. Only
meaningful together with
* a defined "deployUrl" parameter.
@@ -308,7 +314,7 @@ public class PopulateRepositoryMojo
{
ArtifactRepositoryLayout layout = new DefaultRepositoryLayout();
deploymentRepository =
repositoryFactory.createDeploymentArtifactRepository(
- "netbeans", deployUrl, layout, true );
+ deployId, deployUrl, layout, true );
}
else if ( skipLocalInstall )
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists