You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2011/09/28 15:21:50 UTC
svn commit: r1176875 -
/sling/trunk/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployMojo.java
Author: cziegeler
Date: Wed Sep 28 13:21:50 2011
New Revision: 1176875
URL: http://svn.apache.org/viewvc?rev=1176875&view=rev
Log:
Correct description
Modified:
sling/trunk/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployMojo.java
Modified: sling/trunk/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployMojo.java
URL: http://svn.apache.org/viewvc/sling/trunk/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployMojo.java?rev=1176875&r1=1176874&r2=1176875&view=diff
==============================================================================
--- sling/trunk/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployMojo.java (original)
+++ sling/trunk/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployMojo.java Wed Sep 28 13:21:50 2011
@@ -28,11 +28,11 @@ import org.apache.maven.project.MavenPro
* 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 Ab
* 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 Ab
super.execute();
}
-
+
@Override
protected String getJarFileName() {
return buildDirectory + "/" + jarName;
@@ -111,7 +111,7 @@ public class BundleDeployMojo extends Ab
}
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 Ab
} catch (OverConstrainedVersionException ocve) {
// we ignore this and don't append "final"!
}
-
+
// just return the file in case of some issues
return jarFile;
}