camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zregv...@apache.org
Subject camel git commit: CAMEL-10884 Add a `cleanrepo` profile to Maven ...
Date Thu, 23 Feb 2017 09:59:24 GMT
Repository: camel
Updated Branches:
  refs/heads/master 4ab39fc3b -> 3148b5934


CAMEL-10884 Add a `cleanrepo` profile to Maven ...

...build

With this you can remove (ALL) Camel artifacts from your local Maven
repository by running `mvn -Pcleanrepo` from the source tree root, or
remove any single module's artifacts by running the same command from
the module directory.

This will delete all artifacts, i.e. all versions of the artifact from
your local repository.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/3148b593
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/3148b593
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/3148b593

Branch: refs/heads/master
Commit: 3148b5934f9e7a4452328dfb175f8d08efb7bc25
Parents: 4ab39fc
Author: Zoran Regvart <zregvart@apache.org>
Authored: Thu Feb 23 10:56:21 2017 +0100
Committer: Zoran Regvart <zregvart@apache.org>
Committed: Thu Feb 23 10:58:58 2017 +0100

----------------------------------------------------------------------
 parent/pom.xml | 8 ++++++++
 pom.xml        | 8 ++++++++
 2 files changed, 16 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/3148b593/parent/pom.xml
----------------------------------------------------------------------
diff --git a/parent/pom.xml b/parent/pom.xml
index d5a8da7..83dfcab 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -4954,6 +4954,14 @@
         </plugins>
       </build>
     </profile>
+
+    <profile>
+      <id>cleanrepo</id>
+      <build>
+        <defaultGoal>build-helper:remove-project-artifact</defaultGoal>
+      </build>
+    </profile>
+
     <profile>
       <id>setup.eclipse</id>
       <build>

http://git-wip-us.apache.org/repos/asf/camel/blob/3148b593/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index f17a4f0..0c85d09 100755
--- a/pom.xml
+++ b/pom.xml
@@ -703,5 +703,13 @@
         <javadoc.opts>-Xdoclint:none</javadoc.opts>
       </properties>
      </profile>
+
+     <profile>
+       <id>cleanrepo</id>
+       <build>
+         <defaultGoal>build-helper:remove-project-artifact</defaultGoal>
+       </build>
+     </profile>
+
   </profiles>
 </project>


Mime
View raw message