[vlc-devel] commit: centralize maven compiler plugin (Filippo Carone )

git version control git at videolan.org
Sun Mar 16 17:11:24 CET 2008


vlc | branch: master | Filippo Carone <littlejohn at videolan.org> | Sun Mar 16 17:10:13 2008 +0100| [b7c2f1b54a4c28d41b141ccd483f0508bd521662]

centralize maven compiler plugin

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b7c2f1b54a4c28d41b141ccd483f0508bd521662
---

 bindings/java/core/pom.xml           |   11 --------
 bindings/java/pom.xml                |   45 +++++++++++++++++++++++++--------
 bindings/java/samples/client/pom.xml |    7 -----
 3 files changed, 34 insertions(+), 29 deletions(-)

diff --git a/bindings/java/core/pom.xml b/bindings/java/core/pom.xml
index f8d6a37..356eed8 100644
--- a/bindings/java/core/pom.xml
+++ b/bindings/java/core/pom.xml
@@ -10,17 +10,6 @@
   <packaging>jar</packaging>
   <name>JVLC - Core</name>
   <description>Java Bindings for VideoLAN - Core</description>
-   <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <source>1.5</source>
-          <target>1.5</target>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build> 
   <dependencies>
     <dependency>
       <groupId>com.jna</groupId>
diff --git a/bindings/java/pom.xml b/bindings/java/pom.xml
index 4fb0c7e..c8a0607 100644
--- a/bindings/java/pom.xml
+++ b/bindings/java/pom.xml
@@ -28,6 +28,21 @@
     <url>http://trac.videolan.org/jvlc</url>
   </issueManagement>
 
+  <distributionManagement>
+    <site>
+      <id>jvlc</id>
+      <url>http://jvlc.ihack.it/maven-site</url>
+      <name>JVLC Maven Site</name>
+    </site>
+  </distributionManagement>
+
+  <scm>
+    <connection>scm:git:git://git.videolan.org/vlc</connection>
+    <developerConnection>scm:git:git://git.videolan.org/vlc</developerConnection>
+    <tag>HEAD</tag>
+    <url>http://git.videolan.org/gitweb.cgi</url>
+  </scm>
+
   <developers>
     <developer>
       <name>Filippo Carone</name>
@@ -58,9 +73,26 @@
   <build>
     <plugins>
       <plugin>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>1.5</source>
+          <target>1.5</target>
+        </configuration>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-site-plugin</artifactId>
+        <version>2.0-beta-5</version>
+        <configuration>
+          <stagingSiteURL>
+            scp://jvlc.ihack.it//home/littlejohn/www/ihack.it/jvlc/maven-site/staging/${pom.artifactId}/
+          </stagingSiteURL>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 
@@ -93,7 +125,7 @@
         <configuration>
           <links>
             <link>
-	      http://java.sun.com/j2se/1.5.0/docs/api/
+	          http://java.sun.com/j2se/1.5.0/docs/api/
             </link>
           </links>
         </configuration>
@@ -101,18 +133,9 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-project-info-reports-plugin</artifactId>
-        <reportSets>
-          <reportSet>
-            <reports>
-              <report>dependencies</report>
-              <report>issue-tracking</report>
-              <report>project-team</report>
-              <report>license</report>
-            </reports>
-          </reportSet>
-        </reportSets>
       </plugin>
     </plugins>
+    
   </reporting>
 
   <modules>
diff --git a/bindings/java/samples/client/pom.xml b/bindings/java/samples/client/pom.xml
index fc8b25d..3660d53 100644
--- a/bindings/java/samples/client/pom.xml
+++ b/bindings/java/samples/client/pom.xml
@@ -16,13 +16,6 @@
    <build>
     <plugins>
       <plugin>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <source>1.5</source>
-          <target>1.5</target>
-        </configuration>
-      </plugin>
-      <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>exec-maven-plugin</artifactId>
         <executions>




More information about the vlc-devel mailing list