]> git.argeo.org Git - gpl/argeo-slc.git/commitdiff
Fix for Maven 3
authorMathieu Baudier <mbaudier@argeo.org>
Mon, 17 Jan 2011 10:34:24 +0000 (10:34 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Mon, 17 Jan 2011 10:34:24 +0000 (10:34 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@4047 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

dep/org.argeo.slc.dep.server/pom.xml
dist/org.argeo.slc.sdk/pom.xml
pom.xml
runtime/pom.xml

index 3fd01d47947033ea2f43472fa98210606ece3b51..e8dd1f23b9538bcaef2d12c9d7fa7ee9dfb8d9c4 100644 (file)
                        <version>${version.argeo-commons}</version>
                        <type>pom</type>
                </dependency>
+               <dependency>
+                       <groupId>org.argeo.commons.security</groupId>
+                       <artifactId>org.argeo.security.modules</artifactId>
+                       <version>${version.argeo-commons}</version>
+                       <type>pom</type>
+               </dependency>
 
                <!-- Security -->
                <dependency>
                        <artifactId>org.argeo.security.dep.ads</artifactId>
                        <type>pom</type>
                </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.modules</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <type>pom</type>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons.security</groupId>
-                       <artifactId>org.argeo.security.modules</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <type>pom</type>
-               </dependency>
                <dependency>
                        <groupId>org.argeo.commons.server</groupId>
                        <artifactId>org.argeo.server.ads</artifactId>
index e60e73a88f4d6c60d186ea984935e2ea711bcf3c..2981d9c03134eb85644b584a6caaa92049cc0528 100644 (file)
@@ -1,4 +1,5 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <parent>
                <groupId>org.argeo.slc</groupId>
                                        </execution>
                                </executions>
                        </plugin>
-                       <!--
-                               <plugin> <groupId>org.codehaus.mojo</groupId>
-                               <artifactId>exec-maven-plugin</artifactId> <version>1.1</version>
-                               <executions> <execution> <id>create-repository</id>
-                               <phase>deploy</phase> <goals> <goal>exec</goal> </goals>
-                               </execution> </executions> <configuration>
-                               <executable>${argeo.p2.cmd}</executable> optional
-                               <workingDirectory>/tmp</workingDirectory> <arguments>
-                               <argument>-noSplash</argument> <argument>-application</argument>
-                               <argument>org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher</argument>
-                               <argument>-metadataRepository</argument>
-                               <argument>file:${argeo.p2.repository}</argument>
-                               <argument>-artifactRepository</argument>
-                               <argument>file:${argeo.p2.repository}</argument>
-                               <argument>-bundles</argument>
-                               <argument>${project.build.directory}</argument>
-                               <argument>-features</argument>
-                               <argument>${project.build.directory}</argument>
-                               <argument>-compress</argument>
-                               <argument>-publishArtifacts</argument> </arguments> </configuration>
-                               </plugin>
-                       -->
-                       <!-- 
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-antrun-plugin</artifactId>
-                               <executions>
-                                       <execution>
-                                               <id>p2-copyToRepo</id>
-                                               <phase>deploy</phase>
-                                               <goals>
-                                                       <goal>run</goal>
-                                               </goals>
-                                               <configuration>
-                                                       <tasks>
-                                                               <mkdir dir="${project.build.directory}/repobase" />
-                                                               <copy todir="${project.build.directory}/repobase">
-                                                                       <fileset dir="${project.build.directory}/lib">
-                                                                               <include name="*.jar" />
-                                                                       </fileset>
-                                                                       <fileset dir="${project.build.directory}/libsrc">
-                                                                               <include name="*.jar" />
-                                                                       </fileset>
-                                                               </copy>
-                                                               <exec executable="${argeo.p2.cmd}">
-                                                                       <arg value="-noSplash" />
-                                                                       <arg value="-application" />
-                                                                       <arg value="org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher" />
-                                                                       <arg value="-metadataRepository" />
-                                                                       <arg value="file:${argeo.p2.repository}" />
-                                                                       <arg value="-artifactRepository" />
-                                                                       <arg value="file:${argeo.p2.repository}" />
-                                                                       <arg value="-bundles" />
-                                                                       <arg value="${project.build.directory}/repobase" />
-                                                                       <arg value="-features" />
-                                                                       <arg value="${project.build.directory}/repobase" />
-                                                                       <arg value="-compress" />
-                                                                       <arg value="-publishArtifacts" />
-                                                               </exec>
-
-                                                       </tasks>
-                                               </configuration>
-                                       </execution>
-                               </executions>
-                       </plugin>
-                        -->
+                       <!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> 
+                               <version>1.1</version> <executions> <execution> <id>create-repository</id> 
+                               <phase>deploy</phase> <goals> <goal>exec</goal> </goals> </execution> </executions> 
+                               <configuration> <executable>${argeo.p2.cmd}</executable> optional <workingDirectory>/tmp</workingDirectory> 
+                               <arguments> <argument>-noSplash</argument> <argument>-application</argument> 
+                               <argument>org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher</argument> 
+                               <argument>-metadataRepository</argument> <argument>file:${argeo.p2.repository}</argument> 
+                               <argument>-artifactRepository</argument> <argument>file:${argeo.p2.repository}</argument> 
+                               <argument>-bundles</argument> <argument>${project.build.directory}</argument> 
+                               <argument>-features</argument> <argument>${project.build.directory}</argument> 
+                               <argument>-compress</argument> <argument>-publishArtifacts</argument> </arguments> 
+                               </configuration> </plugin> -->
+                       <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> 
+                               <executions> <execution> <id>p2-copyToRepo</id> <phase>deploy</phase> <goals> 
+                               <goal>run</goal> </goals> <configuration> <tasks> <mkdir dir="${project.build.directory}/repobase" 
+                               /> <copy todir="${project.build.directory}/repobase"> <fileset dir="${project.build.directory}/lib"> 
+                               <include name="*.jar" /> </fileset> <fileset dir="${project.build.directory}/libsrc"> 
+                               <include name="*.jar" /> </fileset> </copy> <exec executable="${argeo.p2.cmd}"> 
+                               <arg value="-noSplash" /> <arg value="-application" /> <arg value="org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher" 
+                               /> <arg value="-metadataRepository" /> <arg value="file:${argeo.p2.repository}" 
+                               /> <arg value="-artifactRepository" /> <arg value="file:${argeo.p2.repository}" 
+                               /> <arg value="-bundles" /> <arg value="${project.build.directory}/repobase" 
+                               /> <arg value="-features" /> <arg value="${project.build.directory}/repobase" 
+                               /> <arg value="-compress" /> <arg value="-publishArtifacts" /> </exec> </tasks> 
+                               </configuration> </execution> </executions> </plugin> -->
                </plugins>
        </build>
        <dependencies>
                                        <plugin>
                                                <groupId>org.codehaus.mojo</groupId>
                                                <artifactId>rpm-maven-plugin</artifactId>
+                                               <version>2.1-alpha-1</version>
                                                <extensions>true</extensions>
                                                <configuration>
                                                        <version>${package.version}</version>
                                                        </execution>
                                                </executions>
                                        </plugin>
-<!-- 
-                                       <plugin>
-                                               <groupId>org.apache.maven.plugins</groupId>
-                                               <artifactId>maven-antrun-plugin</artifactId>
-                                               <executions>
-                                                       <execution>
-                                                               <id>rpm-copyToRepo</id>
-                                                               <phase>deploy</phase>
-                                                               <goals>
-                                                                       <goal>run</goal>
-                                                               </goals>
-                                                               <configuration>
-                                                                       <tasks>
-                                                                               <mkdir dir="${distribution.root}/i386" />
-                                                                               <mkdir dir="${distribution.root}/x86_64" />
-                                                                               <delete verbose="true">
-                                                                                       <fileset dir="${distribution.root}" includes="*/org.argeo.slc.sdk-*.rpm" />
-                                                                               </delete>
-                                                                               <copy todir="${distribution.root}/x86_64" verbose="true">
-                                                                                       <fileset dir="target">
-                                                                                               <include name="rpm/*/RPMS/*/*.rpm" />
-                                                                                       </fileset>
-                                                                                       <flattenmapper />
-                                                                               </copy>
-                                                                               <exec executable="/usr/bin/createrepo">
-                                                                                       <arg value="${distribution.root}/x86_64" />
-                                                                               </exec>
-                                                                               <copy todir="${distribution.root}/i386" verbose="true">
-                                                                                       <fileset dir="target">
-                                                                                               <include name="rpm/*/RPMS/*/*.rpm" />
-                                                                                       </fileset>
-                                                                                       <flattenmapper />
-                                                                               </copy>
-                                                                               <exec executable="/usr/bin/createrepo">
-                                                                                       <arg value="${distribution.root}/i386" />
-                                                                               </exec>
-                                                                       </tasks>
-                                                               </configuration>
-                                                       </execution>
-                                               </executions>
-                                       </plugin>
- -->
+                                       <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> 
+                                               <executions> <execution> <id>rpm-copyToRepo</id> <phase>deploy</phase> <goals> 
+                                               <goal>run</goal> </goals> <configuration> <tasks> <mkdir dir="${distribution.root}/i386" 
+                                               /> <mkdir dir="${distribution.root}/x86_64" /> <delete verbose="true"> <fileset 
+                                               dir="${distribution.root}" includes="*/org.argeo.slc.sdk-*.rpm" /> </delete> 
+                                               <copy todir="${distribution.root}/x86_64" verbose="true"> <fileset dir="target"> 
+                                               <include name="rpm/*/RPMS/*/*.rpm" /> </fileset> <flattenmapper /> </copy> 
+                                               <exec executable="/usr/bin/createrepo"> <arg value="${distribution.root}/x86_64" 
+                                               /> </exec> <copy todir="${distribution.root}/i386" verbose="true"> <fileset 
+                                               dir="target"> <include name="rpm/*/RPMS/*/*.rpm" /> </fileset> <flattenmapper 
+                                               /> </copy> <exec executable="/usr/bin/createrepo"> <arg value="${distribution.root}/i386" 
+                                               /> </exec> </tasks> </configuration> </execution> </executions> </plugin> -->
                                </plugins>
                        </build>
 
diff --git a/pom.xml b/pom.xml
index 607a12dd0476bc13121996ed56a44c5b273127cb..d252fa50a4ee8596bf46d19502c36d3caf94a44b 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -292,6 +292,7 @@ limitations under the License.
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-project-info-reports-plugin</artifactId>
+                               <version>2.3.1</version>
                                <reportSets>
                                        <reportSet>
                                                <reports>
@@ -300,6 +301,7 @@ limitations under the License.
                                                        <report>license</report>
                                                        <report>scm</report>
                                                        <report>issue-tracking</report>
+                                                       <report>dependencies</report>
                                                </reports>
                                        </reportSet>
                                        <reportSet>
@@ -313,6 +315,7 @@ limitations under the License.
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-javadoc-plugin</artifactId>
+                               <version>2.7</version>
                                <inherited>false</inherited>
                                <configuration>
                                        <aggregate>true</aggregate>
@@ -322,6 +325,7 @@ limitations under the License.
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-jxr-plugin</artifactId>
+                               <version>2.2</version>
                                <configuration>
                                        <aggregate>true</aggregate>
                                </configuration>
@@ -329,6 +333,7 @@ limitations under the License.
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-surefire-report-plugin</artifactId>
+                               <version>2.7.1</version>
                                <inherited>false</inherited>
                                <configuration>
                                        <aggregate>true</aggregate>
@@ -337,6 +342,7 @@ limitations under the License.
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>taglist-maven-plugin</artifactId>
+                               <version>2.4</version>
                                <configuration>
                                        <aggregate>true</aggregate>
                                        <tags>
@@ -349,6 +355,7 @@ limitations under the License.
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-changelog-plugin</artifactId>
+                               <version>2.2</version>
                                <inherited>false</inherited>
                        </plugin>
                        <plugin>
index a3f2285e819be844c2f39887dd9027f117fe2e15..ee07851b1c7e6e220e77bf0ad19f5cc3323fc4e3 100644 (file)
                                        </filesets>
                                </configuration>
                        </plugin>
-<!-- 
-                       <plugin>
-                               <artifactId>maven-compiler-plugin</artifactId>
-                               <version>2.3.2</version>
-                               <configuration>
-                                       <compilerId>eclipse</compilerId>
-                               </configuration>
-                               <dependencies>
-                                       <dependency>
-                                               <groupId>org.codehaus.plexus</groupId>
-                                               <artifactId>plexus-compiler-eclipse</artifactId>
-                                               <version>1.8.1</version>
-                                       </dependency>
-                               </dependencies>
-                       </plugin>
- -->
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-jar-plugin</artifactId>
                                        <manifestLocation>META-INF</manifestLocation>
                                        <instructions>
                                                <Bundle-Version>${project.version}-r${buildNumber}</Bundle-Version>
-                                               <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                                               <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
                                                <Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
                                                <_removeheaders>Bnd-LastModified</_removeheaders>
                                        </instructions>