Use parent from Argeo Maven.
authorMathieu Baudier <mbaudier@argeo.org>
Tue, 18 Feb 2020 12:12:45 +0000 (13:12 +0100)
committerMathieu Baudier <mbaudier@argeo.org>
Tue, 18 Feb 2020 12:12:45 +0000 (13:12 +0100)
maven/.gitignore [deleted file]
maven/assembly-descriptors/.gitignore [deleted file]
maven/assembly-descriptors/META-INF/.gitignore [deleted file]
maven/assembly-descriptors/assemblies/a2-source-snapshots.xml [deleted file]
maven/assembly-descriptors/assemblies/a2-source-tp.xml [deleted file]
maven/assembly-descriptors/assemblies/a2-source.xml [deleted file]
maven/assembly-descriptors/bnd.bnd [deleted file]
maven/assembly-descriptors/pom.xml [deleted file]
maven/pom.xml [deleted file]
pom.xml

diff --git a/maven/.gitignore b/maven/.gitignore
deleted file mode 100644 (file)
index b83d222..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/target/
diff --git a/maven/assembly-descriptors/.gitignore b/maven/assembly-descriptors/.gitignore
deleted file mode 100644 (file)
index b83d222..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/target/
diff --git a/maven/assembly-descriptors/META-INF/.gitignore b/maven/assembly-descriptors/META-INF/.gitignore
deleted file mode 100644 (file)
index 4854a41..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/MANIFEST.MF
diff --git a/maven/assembly-descriptors/assemblies/a2-source-snapshots.xml b/maven/assembly-descriptors/assemblies/a2-source-snapshots.xml
deleted file mode 100644 (file)
index bf796ac..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-<assembly
-       xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
-       <id>a2-source-snapshots</id>
-       <baseDirectory></baseDirectory>
-       <formats>
-               <format>dir</format>
-       </formats>
-       <dependencySets>
-               <dependencySet>
-                       <unpack>false</unpack>
-                       <outputFileNameMapping>${artifact.groupId}/${artifact.artifactId}-${artifact.version}.${artifact.extension}</outputFileNameMapping>
-                       <outputDirectory></outputDirectory>
-                       <useTransitiveDependencies>true</useTransitiveDependencies>
-                       <scope>runtime</scope>
-                       <includes>
-                               <include>*:*:jar:*-SNAPSHOT</include>
-                       </includes>
-                       <excludes>
-                               <exclude>*:*:pom:*</exclude>
-                       </excludes>
-               </dependencySet>
-       </dependencySets>
-</assembly>
\ No newline at end of file
diff --git a/maven/assembly-descriptors/assemblies/a2-source-tp.xml b/maven/assembly-descriptors/assemblies/a2-source-tp.xml
deleted file mode 100644 (file)
index 0d93a2e..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-<assembly
-       xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
-       <id>a2-source-tp</id>
-       <baseDirectory></baseDirectory>
-       <formats>
-               <format>dir</format>
-       </formats>
-       <dependencySets>
-               <dependencySet>
-                       <unpack>false</unpack>
-                       <outputFileNameMapping>${artifact.groupId}/${artifact.artifactId}-${artifact.version}.${artifact.extension}</outputFileNameMapping>
-                       <outputDirectory></outputDirectory>
-                       <useTransitiveDependencies>false</useTransitiveDependencies>
-                       <scope>runtime</scope>
-                       <includes>
-                               <include>org.argeo.tp.*:*</include>
-                       </includes>
-                       <excludes>
-                               <exclude>*:*:pom:*</exclude>
-                       </excludes>
-               </dependencySet>
-       </dependencySets>
-</assembly>
\ No newline at end of file
diff --git a/maven/assembly-descriptors/assemblies/a2-source.xml b/maven/assembly-descriptors/assemblies/a2-source.xml
deleted file mode 100644 (file)
index 5e8caac..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-<assembly
-       xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
-       <id>a2-source</id>
-       <baseDirectory></baseDirectory>
-       <formats>
-               <format>dir</format>
-       </formats>
-       <dependencySets>
-               <dependencySet>
-                       <unpack>false</unpack>
-                       <outputFileNameMapping>${artifact.groupId}/${artifact.artifactId}-${artifact.version}.${artifact.extension}</outputFileNameMapping>
-                       <outputDirectory></outputDirectory>
-                       <useTransitiveDependencies>false</useTransitiveDependencies>
-                       <scope>runtime</scope>
-                       <excludes>
-                               <exclude>org.argeo.tp.*:*</exclude>
-                               <exclude>*:*:pom:*</exclude>
-                       </excludes>
-               </dependencySet>
-       </dependencySets>
-</assembly>
\ No newline at end of file
diff --git a/maven/assembly-descriptors/bnd.bnd b/maven/assembly-descriptors/bnd.bnd
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/maven/assembly-descriptors/pom.xml b/maven/assembly-descriptors/pom.xml
deleted file mode 100644 (file)
index cc5dd26..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<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.commons</groupId>
-               <version>2.1.86-SNAPSHOT</version>
-               <artifactId>maven</artifactId>
-               <relativePath>..</relativePath>
-       </parent>
-       <artifactId>assembly-descriptors</artifactId>
-       <name>Assembly Descriptors</name>
-</project>
\ No newline at end of file
diff --git a/maven/pom.xml b/maven/pom.xml
deleted file mode 100644 (file)
index e5b2229..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<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.commons</groupId>
-               <artifactId>argeo-commons</artifactId>
-               <version>2.1.86-SNAPSHOT</version>
-               <relativePath>..</relativePath>
-       </parent>
-       <artifactId>maven</artifactId>
-       <name>Maven Helpers and Templates</name>
-       <packaging>pom</packaging>
-       <modules>
-               <module>assembly-descriptors</module>
-       </modules>
-</project>
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 09e6d40f98de185da089e667045eed2187dac196..b12df1f54569e327375802b896cf2fe131c31f79 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,11 @@
        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>
-       <groupId>org.argeo.commons</groupId>
+       <parent>
+               <groupId>org.argeo.maven</groupId>
+               <artifactId>argeo-osgi-parent</artifactId>
+               <version>2.1.2</version>
+       </parent>
        <artifactId>argeo-commons</artifactId>
        <version>2.1.86-SNAPSHOT</version>
        <name>Argeo Commons</name>
                <!-- RPM -->
                <argeo.rpm.release>7</argeo.rpm.release>
                <argeo.rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-2/el7</argeo.rpm.stagingRepository>
-               <!-- Encoding, see http://is.gd/mvn_source_encoding -->
-               <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-               <!-- Timestamp -->
-               <maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
                <project.scm.id>code.argeo.org</project.scm.id>
        </properties>
        <modules>
@@ -44,7 +44,6 @@
                <module>org.argeo.ext.jackrabbit</module>
                <module>org.argeo.ext.equinox.jetty</module>
                <!-- Distribution -->
-               <module>maven</module>
                <module>dep</module>
                <module>demo</module>
                <module>doc</module>
@@ -82,257 +81,6 @@ limitations under the License.
                        </comments>
                </license>
        </licenses>
-       <build>
-               <extensions>
-                       <extension>
-                               <groupId>org.apache.maven.wagon</groupId>
-                               <artifactId>wagon-webdav-jackrabbit</artifactId>
-                               <version>2.10</version>
-                       </extension>
-               </extensions>
-               <sourceDirectory>src</sourceDirectory>
-               <testSourceDirectory>ext/test</testSourceDirectory>
-               <resources>
-                       <resource>
-                               <directory>src</directory>
-                               <includes>
-                                       <include>**</include>
-                               </includes>
-                               <excludes>
-                                       <exclude>**/*.java</exclude>
-                               </excludes>
-                       </resource>
-                       <resource>
-                               <directory>.</directory>
-                               <includes>
-                                       <include>**</include>
-                               </includes>
-                               <excludes>
-                                       <exclude>.*</exclude>
-                                       <exclude>.*/**</exclude>
-                                       <!-- MANIFEST is set explicitly in the jar plugin configuration. We 
-                                               don't copy it in order to avoid side-effects with BND -->
-                                       <exclude>META-INF/MANIFEST.MF</exclude>
-                                       <exclude>src/**</exclude>
-                                       <exclude>ext/**</exclude>
-                                       <exclude>target/**</exclude>
-                                       <exclude>bin/**</exclude>
-                                       <exclude>pom.xml</exclude>
-                                       <exclude>build.properties</exclude>
-                                       <exclude>*.bnd</exclude>
-                                       <exclude>*.target</exclude>
-                                       <exclude>**/*.xcf</exclude>
-                               </excludes>
-                       </resource>
-               </resources>
-               <testResources>
-                       <testResource>
-                               <directory>ext/test</directory>
-                               <includes>
-                                       <include>**</include>
-                               </includes>
-                               <excludes>
-                                       <exclude>**/*.java</exclude>
-                               </excludes>
-                       </testResource>
-               </testResources>
-               <pluginManagement>
-                       <plugins>
-                               <!-- Maven -->
-                               <plugin>
-                                       <artifactId>maven-compiler-plugin</artifactId>
-                                       <version>3.8.1</version>
-                                       <configuration>
-                                               <source>11</source>
-                                               <target>1.8</target>
-                                               <compilerId>eclipse</compilerId>
-                                               <!-- Hack to work around issues with generated annotations : -->
-                                               <generatedSourcesDirectory>target/classes</generatedSourcesDirectory>
-                                               <generatedTestSourcesDirectory>target/test-classes</generatedTestSourcesDirectory>
-                                       </configuration>
-                                       <dependencies>
-                                               <dependency>
-                                                       <groupId>org.codehaus.plexus</groupId>
-                                                       <artifactId>plexus-compiler-eclipse</artifactId>
-                                                       <version>2.8.5</version>
-                                               </dependency>
-                                               <dependency>
-                                                       <groupId>org.eclipse.jdt</groupId>
-                                                       <artifactId>ecj</artifactId>
-                                                       <version>3.19.0</version>
-                                               </dependency>
-                                       </dependencies>
-                               </plugin>
-                               <plugin>
-                                       <artifactId>maven-clean-plugin</artifactId>
-                                       <version>2.6.1</version>
-                               </plugin>
-                               <plugin>
-                                       <artifactId>maven-surefire-plugin</artifactId>
-                                       <version>2.18</version>
-                               </plugin>
-                               <plugin>
-                                       <artifactId>maven-jar-plugin</artifactId>
-                                       <version>2.5</version>
-                                       <configuration>
-                                               <archive>
-                                                       <manifestFile>META-INF/MANIFEST.MF</manifestFile>
-                                               </archive>
-                                       </configuration>
-                               </plugin>
-                               <plugin>
-                                       <artifactId>maven-source-plugin</artifactId>
-                                       <version>3.1.0</version>
-                                       <configuration>
-                                               <excludes>
-                                                       <exclude>**/*.class</exclude>
-                                                       <!-- Prevents source jars to contain misleading data -->
-                                                       <exclude>plugin.xml</exclude>
-                                                       <exclude>META-INF/MANIFEST.MF</exclude>
-                                               </excludes>
-                                       </configuration>
-                               </plugin>
-                               <plugin>
-                                       <artifactId>maven-antrun-plugin</artifactId>
-                                       <version>1.8</version>
-                               </plugin>
-                               <plugin>
-                                       <artifactId>maven-resources-plugin</artifactId>
-                                       <version>2.7</version>
-                               </plugin>
-                               <plugin>
-                                       <artifactId>maven-dependency-plugin</artifactId>
-                                       <version>2.9</version>
-                               </plugin>
-                               <plugin>
-                                       <artifactId>maven-site-plugin</artifactId>
-                                       <version>3.7</version>
-                               </plugin>
-                               <plugin>
-                                       <artifactId>maven-javadoc-plugin</artifactId>
-                                       <version>3.0.0</version>
-                                       <configuration>
-                                               <failOnError>false</failOnError>
-                                               <additionalJOption>-Xdoclint:none</additionalJOption>
-                                               <excludePackageNames>*.internal.*,org.eclipse.*</excludePackageNames>
-                                               <encoding>UTF-8</encoding>
-                                       </configuration>
-                               </plugin>
-                               <plugin>
-                                       <groupId>pl.project13.maven</groupId>
-                                       <artifactId>git-commit-id-plugin</artifactId>
-                                       <version>3.0.0</version>
-                               </plugin>
-                               <plugin>
-                                       <artifactId>maven-release-plugin</artifactId>
-                                       <version>2.5.1</version>
-                                       <configuration>
-                                               <autoVersionSubmodules>true</autoVersionSubmodules>
-                                       </configuration>
-                               </plugin>
-                               <plugin>
-                                       <groupId>org.apache.felix</groupId>
-                                       <artifactId>maven-bundle-plugin</artifactId>
-                                       <version>4.2.1</version>
-                                       <extensions>true</extensions>
-                                       <configuration>
-                                               <manifestLocation>META-INF</manifestLocation>
-                                               <niceManifest>true</niceManifest>
-                                               <noWarningProjectTypes>
-                                                       <noWarningProjectType>pom</noWarningProjectType>
-                                               </noWarningProjectTypes>
-                                               <instructions>
-                                                       <_include>bnd.bnd</_include>
-                                                       <Bundle-Version>${project.version}-r${maven.build.timestamp}</Bundle-Version>
-                                                       <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                                                       <Bundle-RequiredExecutionEnvironment>JavaSE-11,JavaSE-1.8</Bundle-RequiredExecutionEnvironment>
-                                                       <_removeheaders>Bnd-LastModified,Build-Jdk,Built-By,Tool,Created-By</_removeheaders>
-                                                       <Automatic-Module-Name>${project.artifactId}</Automatic-Module-Name>
-                                                       <SLC-Category>${project.groupId}</SLC-Category>
-                                                       <SLC-Build-Timestamp>${maven.build.timestamp}</SLC-Build-Timestamp>
-                                               </instructions>
-                                       </configuration>
-                               </plugin>
-                               <!-- Codehaus -->
-                               <plugin>
-                                       <groupId>org.codehaus.mojo</groupId>
-                                       <artifactId>rpm-maven-plugin</artifactId>
-                                       <version>2.2.0</version>
-                                       <extensions>true</extensions>
-                                       <configuration>
-                                               <version>${project.version}</version>
-                                               <distribution>argeo${argeo.rpm.release}</distribution>
-                                               <group>Applications/System</group>
-                                               <prefix>/usr</prefix>
-                                               <defaultDirMode>755</defaultDirMode>
-                                               <defaultFileMode>644</defaultFileMode>
-                                               <autoRequires>false</autoRequires>
-                                       </configuration>
-                               </plugin>
-                               <plugin>
-                                       <groupId>org.codehaus.mojo</groupId>
-                                       <artifactId>exec-maven-plugin</artifactId>
-                                       <version>1.3.2</version>
-                               </plugin>
-                               <!-- Argeo -->
-                               <plugin>
-                                       <groupId>org.argeo.maven.plugins</groupId>
-                                       <artifactId>argeo-osgi-plugin</artifactId>
-                                       <version>2.1.1</version>
-                               </plugin>
-                       </plugins>
-               </pluginManagement>
-               <plugins>
-                       <plugin>
-                               <artifactId>maven-resources-plugin</artifactId>
-                               <configuration>
-                                       <encoding>UTF-8</encoding>
-                               </configuration>
-                       </plugin>
-                       <plugin>
-                               <artifactId>maven-site-plugin</artifactId>
-                               <inherited>false</inherited>
-                               <configuration>
-                                       <skip>false</skip>
-                               </configuration>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-source-plugin</artifactId>
-                               <executions>
-                                       <execution>
-                                               <id>attach-sources</id>
-                                               <phase>package</phase>
-                                               <goals>
-                                                       <goal>jar</goal>
-                                               </goals>
-                                       </execution>
-                               </executions>
-                       </plugin>
-                       <!-- MANIFEST generation by BND -->
-                       <plugin>
-                               <groupId>org.apache.felix</groupId>
-                               <artifactId>maven-bundle-plugin</artifactId>
-                               <executions>
-                                       <execution>
-                                               <id>bundle-manifest</id>
-                                               <phase>process-classes</phase>
-                                               <goals>
-                                                       <goal>manifest</goal>
-                                               </goals>
-                                       </execution>
-                               </executions>
-                       </plugin>
-                       <!-- Releases -->
-                       <plugin>
-                               <artifactId>maven-release-plugin</artifactId>
-                               <configuration>
-                                       <goals>deploy</goals>
-                                       <releaseProfiles>rpmbuild</releaseProfiles>
-                               </configuration>
-                       </plugin>
-               </plugins>
-       </build>
        <dependencies>
                <dependency>
                        <groupId>org.argeo.tp</groupId>
@@ -374,6 +122,22 @@ limitations under the License.
                        </dependency>
                </dependencies>
        </dependencyManagement>
+       <distributionManagement>
+               <repository>
+                       <id>staging</id>
+                       <url>dav:https://forge.argeo.org/data/java/argeo-2.1/</url>
+                       <uniqueVersion>false</uniqueVersion>
+               </repository>
+               <snapshotRepository>
+                       <id>staging</id>
+                       <url>file:///srv/javafactory/argeo-2.1</url>
+                       <uniqueVersion>true</uniqueVersion>
+               </snapshotRepository>
+               <site>
+                       <id>staging</id>
+                       <url>file:///srv/docfactory/argeo-2.1/site/argeo-commons/</url>
+               </site>
+       </distributionManagement>
        <repositories>
                <repository>
                        <id>argeo</id>
@@ -399,173 +163,19 @@ limitations under the License.
                                <checksumPolicy>warn</checksumPolicy>
                        </snapshots>
                </repository>
-       </repositories>
-       <pluginRepositories>
-               <pluginRepository>
-                       <id>argeo-maven-plugins</id>
-                       <url>http://repo.argeo.org/data/java/argeo-2.1</url>
-                       <releases>
-                               <enabled>true</enabled>
-                               <updatePolicy>never</updatePolicy>
-                               <checksumPolicy>warn</checksumPolicy>
-                       </releases>
-                       <snapshots>
-                               <enabled>false</enabled>
-                       </snapshots>
-               </pluginRepository>
-               <pluginRepository>
-                       <id>argeo-maven-plugins-snapshots</id>
-                       <url>http://snapshots.argeo.org/data/java/argeo-2.1/</url>
+               <!-- Disable Maven default repository -->
+               <repository>
+                       <id>central</id>
+                       <url>http://repo1.maven.org/maven2</url>
                        <releases>
                                <enabled>false</enabled>
                        </releases>
                        <snapshots>
-                               <enabled>true</enabled>
-                               <updatePolicy>always</updatePolicy>
-                               <checksumPolicy>warn</checksumPolicy>
+                               <enabled>false</enabled>
                        </snapshots>
-               </pluginRepository>
-       </pluginRepositories>
-       <distributionManagement>
-               <repository>
-                       <id>staging</id>
-                       <url>dav:https://forge.argeo.org/data/java/argeo-2.1/</url>
-                       <uniqueVersion>false</uniqueVersion>
                </repository>
-               <snapshotRepository>
-                       <id>staging</id>
-                       <url>file:///srv/javafactory/argeo-2.1</url>
-                       <uniqueVersion>true</uniqueVersion>
-               </snapshotRepository>
-               <site>
-                       <id>staging</id>
-                       <url>file:///srv/docfactory/argeo-2.1/site/argeo-commons/</url>
-               </site>
-       </distributionManagement>
-       <reporting>
-               <plugins>
-                       <plugin>
-                               <artifactId>maven-project-info-reports-plugin</artifactId>
-                               <version>2.9</version>
-                               <reportSets>
-                                       <reportSet>
-                                               <reports>
-                                                       <report>index</report>
-                                                       <report>summary</report>
-                                                       <report>license</report>
-                                                       <report>scm</report>
-                                               </reports>
-                                       </reportSet>
-                               </reportSets>
-                       </plugin>
-                       <plugin>
-                               <artifactId>maven-javadoc-plugin</artifactId>
-                               <version>3.0.0</version>
-                               <configuration>
-                                       <failOnError>false</failOnError>
-                                       <additionalJOption>-Xdoclint:none</additionalJOption>
-                                       <excludePackageNames>*.internal.*,org.eclipse.*</excludePackageNames>
-                                       <encoding>UTF-8</encoding>
-                                       <detectLinks>true</detectLinks>
-                                       <links>
-                                               <link>http://docs.oracle.com/javase/8/docs/api</link>
-                                               <link>https://osgi.org/javadoc/r5/core</link>
-                                               <link>https://osgi.org/javadoc/r5/enterprise</link>
-                                               <link>https://docs.adobe.com/docs/en/spec/javax.jcr/javadocs/jcr-2.0</link>
-                                               <link>http://help.eclipse.org/oxygen/topic/org.eclipse.platform.doc.isv/reference/api</link>
-                                               <link>http://docs.spring.io/spring/docs/3.2.x/javadoc-api</link>
-                                       </links>
-                               </configuration>
-                               <reportSets>
-                                       <reportSet>
-                                               <id>aggregate-javadoc</id>
-                                               <inherited>false</inherited>
-                                               <reports>
-                                                       <report>aggregate</report>
-                                               </reports>
-                                       </reportSet>
-                                       <reportSet>
-                                               <id>javadoc</id>
-                                               <reports />
-                                       </reportSet>
-                               </reportSets>
-                       </plugin>
-                       <plugin>
-                               <artifactId>maven-jxr-plugin</artifactId>
-                               <version>2.5</version>
-                               <reportSets>
-                                       <reportSet>
-                                               <id>aggregate-jxr</id>
-                                               <inherited>false</inherited>
-                                               <reports>
-                                                       <report>aggregate</report>
-                                               </reports>
-                                       </reportSet>
-                                       <reportSet>
-                                               <id>jxr</id>
-                                               <reports />
-                                       </reportSet>
-                               </reportSets>
-                       </plugin>
-               </plugins>
-       </reporting>
+       </repositories>
        <profiles>
-               <profile>
-                       <id>rpmbuild</id>
-                       <build>
-                               <plugins>
-                                       <plugin>
-                                               <artifactId>maven-antrun-plugin</artifactId>
-                                               <executions>
-                                                       <execution>
-                                                               <phase>install</phase>
-                                                               <goals>
-                                                                       <goal>run</goal>
-                                                               </goals>
-                                                               <configuration>
-                                                                       <target>
-                                                                               <copy todir="${argeo.rpm.stagingRepository}" quiet="true"
-                                                                                       failonerror="false">
-                                                                                       <fileset dir="${project.build.directory}/rpm"
-                                                                                               includes="*/RPMS/**/*.rpm" />
-                                                                                       <flattenmapper />
-                                                                               </copy>
-                                                                       </target>
-                                                               </configuration>
-                                                       </execution>
-                                               </executions>
-                                       </plugin>
-                               </plugins>
-                       </build>
-               </profile>
-               <profile>
-                       <id>rpmbuild-tp</id>
-                       <build>
-                               <plugins>
-                                       <plugin>
-                                               <artifactId>maven-antrun-plugin</artifactId>
-                                               <executions>
-                                                       <execution>
-                                                               <phase>install</phase>
-                                                               <goals>
-                                                                       <goal>run</goal>
-                                                               </goals>
-                                                               <configuration>
-                                                                       <target>
-                                                                               <copy todir="${argeo.rpm.stagingRepository}" quiet="true"
-                                                                                       failonerror="false">
-                                                                                       <fileset dir="${project.build.directory}/rpm"
-                                                                                               includes="*/RPMS/**/*.rpm" />
-                                                                                       <flattenmapper />
-                                                                               </copy>
-                                                                       </target>
-                                                               </configuration>
-                                                       </execution>
-                                               </executions>
-                                       </plugin>
-                               </plugins>
-                       </build>
-               </profile>
                <profile>
                        <id>localrepo</id>
                        <repositories>