-<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>
<artifactId>argeo-slc</artifactId>
- <version>0.13.1-SNAPSHOT</version>
+ <version>0.13.2-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<artifactId>dep</artifactId>
<name>SLC Dependencies</name>
<packaging>pom</packaging>
<modules>
- <module>org.argeo.slc.dep.agent</module>
- <module>org.argeo.slc.dep.agent.extras</module>
- <module>org.argeo.slc.dep.server</module>
<module>org.argeo.slc.dep.detached</module>
- <module>org.argeo.slc.dep.gis</module>
<module>org.argeo.slc.dep.backend</module>
- <module>org.argeo.slc.dep.sdk.rcp</module>
- <module>org.argeo.slc.dep.sdk.rap</module>
+ <module>org.argeo.slc.dep.eclipse</module>
+ <module>org.argeo.slc.dep.rcp</module>
+ <module>org.argeo.slc.dep.rap</module>
</modules>
<build>
<resources>
</resource>
</resources>
<plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>buildnumber-maven-plugin</artifactId>
- <configuration>
- <useLastCommittedRevision>false</useLastCommittedRevision>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifestFile>META-INF/MANIFEST.MF</manifestFile>
- </archive>
- </configuration>
- </plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
- <configuration>
- <manifestLocation>META-INF</manifestLocation>
- <instructions>
- <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
- <Bundle-Version>${project.version}-r${buildNumber}</Bundle-Version>
- </instructions>
- </configuration>
- <executions>
- <execution>
- <id>bundle-manifest</id>
- <phase>process-resources</phase>
- <goals>
- <goal>manifest</goal>
- </goals>
- </execution>
- </executions>
</plugin>
</plugins>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.argeo.maven.plugins</groupId>
- <artifactId>maven-argeo-osgi-plugin</artifactId>
- <executions>
- <execution>
- <id>resolve-pde-sources</id>
- <goals>
- <goal>pde-sources</goal>
- </goals>
- <phase>generate-resources</phase>
- <configuration>
- <copyArtifacts>false</copyArtifacts>
- </configuration>
- </execution>
- <execution>
- <id>generate-descriptors</id>
- <goals>
- <goal>descriptors</goal>
- </goals>
- <phase>generate-resources</phase>
- </execution>
- <execution>
- <id>check-osgi</id>
- <phase>test</phase>
- <goals>
- <goal>equinox</goal>
- </goals>
- <configuration>
- <onlyCheck>true</onlyCheck>
- <argsToAppend>
- <arg>-clean</arg>
- </argsToAppend>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </pluginManagement>
- <!-- TO BE DELETED <plugin> <groupId>org.argeo.maven.plugins</groupId>
- <artifactId>maven-argeo-osgi-plugin</artifactId> <executions> <execution>
- <id>resolve-pde-sources</id> <goals> <goal>pde-sources</goal> </goals> <phase>generate-resources</phase>
- <configuration> <copyArtifacts>true</copyArtifacts> </configuration> </execution>
- <execution> <goals> <goal>descriptors</goal> </goals> <phase>generate-resources</phase>
- </execution> </executions> </plugin> -->
- <!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId>
- <executions> <execution> <id>attach-artifacts</id> <phase>package</phase>
- <goals> <goal>attach-artifact</goal> </goals> <configuration> <artifacts>
- <artifact> <file>target/classes/modularDistribution.csv</file> <type>csv</type>
- <classifier>modularDistribution</classifier> </artifact> </artifacts> </configuration>
- </execution> </executions> </plugin> -->
- <!-- </plugins> -->
</build>
+ <dependencies>
+ <!-- For target platform generation -->
+ <dependency>
+ <groupId>org.argeo.slc.runtime</groupId>
+ <artifactId>org.argeo.slc.unit</artifactId>
+ <version>0.13.2-SNAPSHOT</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <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="${rpm.stagingRepository}" verbose="true" failonerror="false">
+ <fileset dir="${project.build.directory}/rpm" includes="*/RPMS/**/*.rpm" />
+ <flattenmapper />
+ </copy>
+ </target>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
\ No newline at end of file