You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2017/12/20 09:27:10 UTC
[maven-acr-plugin] 11/33: [MACR-18] Upgrade to maven-plugins
version 25 to 26 - Fixed checkstyle reported issues.
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to annotated tag maven-acr-plugin-3.0.0
in repository https://gitbox.apache.org/repos/asf/maven-acr-plugin.git
commit 9f0db9b73bd213c5599d018644a9d4406bc7b037
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Wed Nov 12 01:15:09 2014 +0000
[MACR-18] Upgrade to maven-plugins version 25 to 26
- Fixed checkstyle reported issues.
git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-acr-plugin@1638681 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
src/main/java/org/apache/maven/plugin/acr/AcrMojo.java | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 9ab7114..788b351 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@ under the License.
<parent>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugins</artifactId>
- <version>25</version>
+ <version>26</version>
<relativePath>../maven-plugins/pom.xml</relativePath>
</parent>
diff --git a/src/main/java/org/apache/maven/plugin/acr/AcrMojo.java b/src/main/java/org/apache/maven/plugin/acr/AcrMojo.java
index 4df9af9..921b876 100644
--- a/src/main/java/org/apache/maven/plugin/acr/AcrMojo.java
+++ b/src/main/java/org/apache/maven/plugin/acr/AcrMojo.java
@@ -54,7 +54,9 @@ import org.codehaus.plexus.util.FileUtils;
* @author <a href="snicoll@apache.org">Stephane Nicoll</a>
* @version $Id:
*/
+// CHECKSTYLE_OFF: LineLength
@Mojo( name = "acr", requiresDependencyResolution = ResolutionScope.RUNTIME, threadSafe = true, defaultPhase = LifecyclePhase.PACKAGE )
+// CHECKSTYLE_ON: LineLength
public class AcrMojo
extends AbstractMojo
{
@@ -191,7 +193,9 @@ public class AcrMojo
}
else
{
+ // CHECKSTYLE_OFF: LineLength
getLog().info( "JAR will only contain the META-INF/application-client.xml as no content was marked for inclusion" );
+ // CHECKSTYLE_ON: LineLength
}
if ( deploymentDescriptor.exists() )
@@ -218,6 +222,7 @@ public class AcrMojo
// create archive
archiver.createArchive( session, project, archive );
+ // CHECKSTYLE_OFF: LineLength
}
catch ( ArchiverException e )
{
@@ -250,6 +255,7 @@ public class AcrMojo
project.getArtifact().setFile( jarFile );
+ // CHECKSTYLE_ON: LineLength
}
/**
--
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.