This is an automated email from the ASF dual-hosted git repository.

cziegeler pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-slingstart-maven-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 9b872a9  Use static method
9b872a9 is described below

commit 9b872a9c67e533d12b4d39309af3ef2481f81ff9
Author: Carsten Ziegeler <czieg...@adobe.com>
AuthorDate: Tue Aug 14 10:31:38 2018 +0200

    Use static method
---
 .../sling/maven/slingstart/DependencyLifecycleParticipant.java | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/src/main/java/org/apache/sling/maven/slingstart/DependencyLifecycleParticipant.java
 
b/src/main/java/org/apache/sling/maven/slingstart/DependencyLifecycleParticipant.java
index 96ba69a..72db714 100644
--- 
a/src/main/java/org/apache/sling/maven/slingstart/DependencyLifecycleParticipant.java
+++ 
b/src/main/java/org/apache/sling/maven/slingstart/DependencyLifecycleParticipant.java
@@ -16,6 +16,10 @@
  */
 package org.apache.sling.maven.slingstart;
 
+import java.io.IOException;
+import java.io.InputStream;
+import java.util.Properties;
+
 import org.apache.maven.AbstractMavenLifecycleParticipant;
 import org.apache.maven.MavenExecutionException;
 import org.apache.maven.artifact.handler.manager.ArtifactHandlerManager;
@@ -29,10 +33,6 @@ import org.codehaus.plexus.component.annotations.Component;
 import org.codehaus.plexus.component.annotations.Requirement;
 import org.codehaus.plexus.logging.Logger;
 
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.Properties;
-
 /**
  * Maven lifecycle participant which adds the artifacts of the model to the 
dependencies.
  * This cannot happen as part of a regular Mojo (as there the dependencies 
have already been calculated)
@@ -97,7 +97,7 @@ public class DependencyLifecycleParticipant extends 
AbstractMavenLifecyclePartic
             }
         }
 
-        new FeatureModelConverter().convert(session, env);
+        FeatureModelConverter.convert(session, env);
         new ModelPreprocessor().addDependencies(env);
     }
 

Reply via email to