-<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>
<version>2.1.5-SNAPSHOT</version>
<scope>test</scope>
</dependency>
-
- <!-- Third parties (extras) -->
-<!-- <dependency> -->
-<!-- <groupId>org.argeo.tp.misc</groupId> -->
-<!-- <artifactId>biz.aQute.bnd</artifactId> -->
-<!-- </dependency> -->
-<!-- <dependency> -->
-<!-- <groupId>org.argeo.tp.misc</groupId> -->
-<!-- <artifactId>org.junit</artifactId> -->
-<!-- </dependency> -->
-
-<!-- <dependency> -->
-<!-- <groupId>org.argeo.tp.extras</groupId> -->
-<!-- <artifactId>net.sf.jxl</artifactId> -->
-<!-- </dependency> -->
-<!-- <dependency> -->
-<!-- <groupId>org.argeo.tp.extras</groupId> -->
-<!-- <artifactId>org.postgresql.postgresql</artifactId> -->
-<!-- </dependency> -->
-<!-- <dependency> -->
-<!-- <groupId>org.argeo.tp.extras</groupId> -->
-<!-- <artifactId>org.dbunit</artifactId> -->
-<!-- </dependency> -->
-<!-- <dependency> -->
-<!-- <groupId>org.argeo.tp.extras.eclipse</groupId> -->
-<!-- <artifactId>org.eclipse.aether.api</artifactId> -->
-<!-- </dependency> -->
-<!-- <dependency> -->
-<!-- <groupId>org.argeo.tp.extras.eclipse</groupId> -->
-<!-- <artifactId>org.eclipse.aether.spi</artifactId> -->
-<!-- </dependency> -->
-<!-- <dependency> -->
-<!-- <groupId>org.argeo.tp.extras.eclipse</groupId> -->
-<!-- <artifactId>org.eclipse.aether.util</artifactId> -->
-<!-- </dependency> -->
-<!-- <dependency> -->
-<!-- <groupId>org.argeo.tp.extras.eclipse</groupId> -->
-<!-- <artifactId>org.eclipse.aether.impl</artifactId> -->
-<!-- </dependency> -->
-<!-- <dependency> -->
-<!-- <groupId>org.argeo.tp.extras.eclipse</groupId> -->
-<!-- <artifactId>org.eclipse.aether.connector.basic</artifactId> -->
-<!-- </dependency> -->
-<!-- <dependency> -->
-<!-- <groupId>org.argeo.tp.extras.eclipse</groupId> -->
-<!-- <artifactId>org.eclipse.aether.transport.classpath</artifactId> -->
-<!-- </dependency> -->
-<!-- <dependency> -->
-<!-- <groupId>org.argeo.tp.extras.eclipse</groupId> -->
-<!-- <artifactId>org.eclipse.aether.transport.file</artifactId> -->
-<!-- </dependency> -->
-<!-- <dependency> -->
-<!-- <groupId>org.argeo.tp.extras</groupId> -->
-<!-- <artifactId>org.redline-rpm</artifactId> -->
-<!-- </dependency> -->
-<!-- <dependency> -->
-<!-- <groupId>org.argeo.tp.extras</groupId> -->
-<!-- <artifactId>org.tmatesoft.svnkit</artifactId> -->
-<!-- </dependency> -->
</dependencies>
<profiles>
<profile>
<excludeTransitive>true</excludeTransitive>
<includeTypes>jar</includeTypes>
<includeScope>runtime</includeScope>
+ <useRepositoryLayout>true</useRepositoryLayout>
</configuration>
</execution>
- <execution>
- <id>copy-tp</id>
- <phase>package</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <configuration>
- <includeTypes>jar</includeTypes>
- <outputDirectory>${project.build.directory}/lib-tp</outputDirectory>
- <excludeGroupIds>org.argeo.slc</excludeGroupIds>
- <excludeTransitive>true</excludeTransitive>
- <includeTypes>jar</includeTypes>
- <includeScope>runtime</includeScope>
- </configuration>
- </execution>
+<!-- <execution> -->
+<!-- <id>copy-argeo-self</id> -->
+<!-- <phase>package</phase> -->
+<!-- <goals> -->
+<!-- <goal>copy</goal> -->
+<!-- </goals> -->
+<!-- <configuration> -->
+<!-- <outputDirectory>${project.build.directory}/lib-argeo</outputDirectory> -->
+<!-- <useRepositoryLayout>true</useRepositoryLayout> -->
+<!-- <artifactItems> -->
+<!-- <artifactItem> -->
+<!-- <groupId>${project.groupId}</groupId> -->
+<!-- <artifactId>${project.artifactId}</artifactId> -->
+<!-- <version>${project.version}</version> -->
+<!-- <outputDirectory>${project.build.directory}/lib-argeo</outputDirectory> -->
+<!-- </artifactItem> -->
+<!-- </artifactItems> -->
+<!-- </configuration> -->
+<!-- </execution> -->
</executions>
</plugin>
<plugin>
<source>
<location>${project.build.directory}/lib-argeo</location>
<includes>
- <include>*.jar</include>
+ <include>**/*.jar</include>
</includes>
</source>
</sources>
</mapping>
+ <!-- <mapping> -->
+ <!-- <directory>/usr/share/osgi</directory> -->
+ <!-- <username>root</username> -->
+ <!-- <groupname>root</groupname> -->
+ <!-- <filemode>644</filemode> -->
+ <!-- <artifact /> -->
+ <!-- </mapping> -->
</mappings>
<requires>
<require>argeo-cms-platform</require>
</plugins>
</build>
</profile>
- <profile>
- <id>rpmbuild-tp</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>rpm-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>rpm-tp</id>
- <phase>package</phase>
- <goals>
- <goal>rpm</goal>
- </goals>
- <configuration>
- <name>slc-platform-tp</name>
- <projversion>${version.argeo-distribution}</projversion>
- <mappings>
- <mapping>
- <directory>/usr/share/osgi</directory>
- <username>root</username>
- <groupname>root</groupname>
- <filemode>644</filemode>
- <directoryIncluded>false</directoryIncluded>
- <sources>
- <source>
- <location>${project.build.directory}/lib-tp</location>
- <includes>
- <include>*.jar</include>
- </includes>
- </source>
- </sources>
- </mapping>
- </mappings>
- <requires>
- <require>argeo-cms-sdk-tp</require>
- </requires>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
</profiles>
</project>
\ No newline at end of file