<parent>
<groupId>org.argeo.slc</groupId>
<artifactId>dep</artifactId>
- <version>0.13.1-SNAPSHOT</version>
+ <version>0.13.2-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<groupId>org.argeo.slc.dep</groupId>
<artifactId>org.argeo.slc.dep.eclipse</artifactId>
- <packaging>jar</packaging>
<name>SLC Eclipse Dependencies</name>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.argeo.maven.plugins</groupId>
+ <artifactId>maven-argeo-osgi-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>generate-descriptors</id>
+ <goals>
+ <goal>descriptors</goal>
+ </goals>
+ <phase>generate-resources</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
<dependencies>
<dependency>
<groupId>org.argeo.slc.eclipse</groupId>
- <artifactId>org.argeo.slc.client.rcp</artifactId>
- <version>${project.version}</version>
+ <artifactId>org.argeo.slc.client.ui</artifactId>
+ <version>0.13.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.argeo.slc.eclipse</groupId>
- <artifactId>org.argeo.slc.client.ui</artifactId>
- <version>${project.version}</version>
+ <artifactId>org.argeo.slc.client.ui.dist</artifactId>
+ <version>0.13.2-SNAPSHOT</version>
+ </dependency>
+
+ <!-- Back-end Dependencies -->
+ <dependency>
+ <groupId>org.argeo.slc.dep</groupId>
+ <artifactId>org.argeo.slc.dep.backend</artifactId>
+ <version>0.13.2-SNAPSHOT</version>
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>rpmbuild</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-dependencies</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ <configuration>
+ <includeTypes>jar</includeTypes>
+ <excludeTransitive>true</excludeTransitive>
+ <outputDirectory>${project.build.directory}/slc-eclipse</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>rpm-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>rpm-slc-eclipse</id>
+ <phase>package</phase>
+ <goals>
+ <goal>rpm</goal>
+ </goals>
+ <configuration>
+ <name>slc-eclipse</name>
+ <copyright>2011 Argeo</copyright>
+ <mappings>
+ <mapping>
+ <directory>/usr/share/osgi/eclipse</directory>
+ <username>root</username>
+ <groupname>root</groupname>
+ <filemode>644</filemode>
+ <directoryIncluded>false</directoryIncluded>
+ <sources>
+ <source>
+ <location>${project.build.directory}/slc-eclipse</location>
+ </source>
+ </sources>
+ </mapping>
+ </mappings>
+ <requires>
+ <require>slc-libs</require>
+ </requires>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
\ No newline at end of file