centralize maven compiler plugin
authorFilippo Carone <littlejohn@videolan.org>
Sun, 16 Mar 2008 16:10:13 +0000 (17:10 +0100)
committerFilippo Carone <littlejohn@videolan.org>
Sun, 16 Mar 2008 16:11:44 +0000 (17:11 +0100)
core/pom.xml
pom.xml
samples/client/pom.xml

index f8d6a37..356eed8 100644 (file)
   <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/pom.xml b/pom.xml
index 4fb0c7e..c8a0607 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     <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>
   <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>
 
         <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>
       <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>
index fc8b25d..3660d53 100644 (file)
    <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>