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-slingfeature-maven-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new ece43bb SLING-7962 : Add mojo for downloading all artifacts and
putting them into a build directory. Fix includes/excludes
ece43bb is described below
commit ece43bb9fcdfb7822f1e2bf1d5473f9753d52cd2
Author: Carsten Ziegeler <[email protected]>
AuthorDate: Mon Oct 1 11:47:51 2018 +0200
SLING-7962 : Add mojo for downloading all artifacts and putting them into a
build directory. Fix includes/excludes
---
src/main/java/org/apache/sling/feature/maven/mojos/RepositoryMojo.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/src/main/java/org/apache/sling/feature/maven/mojos/RepositoryMojo.java
b/src/main/java/org/apache/sling/feature/maven/mojos/RepositoryMojo.java
index 1dc4abb..4f04011 100644
--- a/src/main/java/org/apache/sling/feature/maven/mojos/RepositoryMojo.java
+++ b/src/main/java/org/apache/sling/feature/maven/mojos/RepositoryMojo.java
@@ -31,6 +31,7 @@ import org.apache.maven.artifact.resolver.ArtifactResolver;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.plugins.annotations.Component;
+import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.plugins.annotations.Parameter;
import org.apache.maven.plugins.annotations.ResolutionScope;
@@ -46,6 +47,7 @@ import org.apache.sling.feature.maven.ProjectHelper;
*/
@Mojo(
name = "repository",
+ defaultPhase = LifecyclePhase.PACKAGE,
requiresDependencyResolution = ResolutionScope.TEST,
threadSafe = true
)