[sikuli] 15/385: install sources and javadocs is now optional (use -PwithDocs, withSource) -

Gilles Filippini pini at moszumanska.debian.org
Sun Jun 29 19:25:42 UTC 2014


This is an automated email from the git hooks/post-receive script.

pini pushed a commit to tag upstream/1.1.0_beta1
in repository sikuli.

commit 34e008c6b2e63d0cab6f7be6f32ab365d4da9dae
Author: Raimund Hocke <rmhdevelop at me.com>
Date:   Tue Dec 24 12:46:31 2013 +0100

    install sources and javadocs is now optional (use -PwithDocs,withSource) -
---
 pom.xml | 72 ++++++++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 45 insertions(+), 27 deletions(-)

diff --git a/pom.xml b/pom.xml
index dbfbca4..6db9a88 100755
--- a/pom.xml
+++ b/pom.xml
@@ -158,6 +158,51 @@
         </dependency>
       </dependencies>
     </profile>
+    <profile>
+      <id>withDocs</id>
+      <activation>
+        <activeByDefault>no</activeByDefault>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <version>2.9.1</version>
+            <executions>
+              <execution>
+                <id>attach-javadocs</id>
+                <goals>
+                  <goal>jar</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    <profile>
+      <id>withSource</id>
+      <activation>
+        <activeByDefault>no</activeByDefault>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-source-plugin</artifactId>
+            <version>2.2.1</version>
+            <executions>
+              <execution>
+                <id>attach-sources</id>
+                <phase>verify</phase>
+                <goals>
+                  <goal>jar-no-fork</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
   
   <modules>
@@ -184,33 +229,6 @@
           <target>1.6</target>
         </configuration>
       </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-source-plugin</artifactId>
-        <version>2.2.1</version>
-        <executions>
-          <execution>
-            <id>attach-sources</id>
-            <phase>verify</phase>
-            <goals>
-              <goal>jar-no-fork</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-javadoc-plugin</artifactId>
-        <version>2.9.1</version>
-        <executions>
-          <execution>
-            <id>attach-javadocs</id>
-            <goals>
-              <goal>jar</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
   </build>
 </project>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/sikuli.git



More information about the pkg-java-commits mailing list