You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:17:10 UTC
[sling-maven-sling-plugin] 28/30: Correct description
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag maven-sling-plugin-2.0.6
in repository https://gitbox.apache.org/repos/asf/sling-maven-sling-plugin.git
commit 35af964b64058819efa30ca486a7cd5dcf069948
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Wed Sep 28 13:21:50 2011 +0000
Correct description
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/maven/maven-sling-plugin@1176875 13f79535-47bb-0310-9956-ffa450edef68
---
.../apache/sling/maven/bundlesupport/BundleDeployMojo.java | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployMojo.java b/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployMojo.java
index e837d4c..ae65778 100644
--- a/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployMojo.java
+++ b/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployMojo.java
@@ -28,11 +28,11 @@ import org.apache.maven.project.MavenProject;
* Deploy a JAR representing an OSGi Bundle. This method posts the bundle built
* by maven to an OSGi Bundle Repository accepting the bundle. The plugin uses
* a </em>multipart/format-data</em> POST request to just post the file to
- * the URL configured in the <code>obr</code> property.
+ * the URL configured in the <code>obr</code> property.
*
* @goal deploy
* @phase deploy
- * @description deploy an OSGi bundle jar to the Day OBR
+ * @description deploy an OSGi bundle jar to an OBR
*/
public class BundleDeployMojo extends AbstractBundleDeployMojo {
@@ -41,12 +41,12 @@ public class BundleDeployMojo extends AbstractBundleDeployMojo {
* project to be executed. This property may be set by the
* <code>sling.deploy.skip</code> comparable to the <code>maven.test.skip</code>
* property to prevent running the unit tests.
- *
+ *
* @parameter expression="${sling.deploy.skip}" default-value="false"
* @required
*/
private boolean skip;
-
+
/**
* The directory for the generated JAR.
*
@@ -82,7 +82,7 @@ public class BundleDeployMojo extends AbstractBundleDeployMojo {
super.execute();
}
-
+
@Override
protected String getJarFileName() {
return buildDirectory + "/" + jarName;
@@ -111,7 +111,7 @@ public class BundleDeployMojo extends AbstractBundleDeployMojo {
}
return changeVersion(jarFile, project.getVersion(), newVersion);
}
-
+
// if this is a final release append "final"
try {
final ArtifactVersion v = this.project.getArtifact().getSelectedVersion();
@@ -122,7 +122,7 @@ public class BundleDeployMojo extends AbstractBundleDeployMojo {
} catch (OverConstrainedVersionException ocve) {
// we ignore this and don't append "final"!
}
-
+
// just return the file in case of some issues
return jarFile;
}
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.