]> git.argeo.org Git - gpl/argeo-slc.git/blob - dep/org.argeo.slc.dep.minimal/pom.xml
Integrate RCP support from Argeo Commons.
[gpl/argeo-slc.git] / dep / org.argeo.slc.dep.minimal / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5 <parent>
6 <groupId>org.argeo.slc</groupId>
7 <artifactId>dep</artifactId>
8 <version>2.1.17-SNAPSHOT</version>
9 <relativePath>..</relativePath>
10 </parent>
11 <artifactId>org.argeo.slc.dep.minimal</artifactId>
12 <name>SLC Agent</name>
13 <build>
14 <plugins>
15 <plugin>
16 <groupId>org.apache.felix</groupId>
17 <artifactId>maven-bundle-plugin</artifactId>
18 <configuration>
19 <instructions>
20 <SLC-ModularDistribution>default</SLC-ModularDistribution>
21 </instructions>
22 </configuration>
23 </plugin>
24 <plugin>
25 <groupId>org.argeo.maven.plugins</groupId>
26 <artifactId>argeo-osgi-plugin</artifactId>
27 <executions>
28 <execution>
29 <id>generate-descriptors</id>
30 <goals>
31 <goal>descriptors</goal>
32 </goals>
33 <phase>generate-resources</phase>
34 </execution>
35 </executions>
36 </plugin>
37 <!-- <plugin> -->
38 <!-- <groupId>org.apache.maven.plugins</groupId> -->
39 <!-- <artifactId>maven-dependency-plugin</artifactId> -->
40 <!-- <executions> -->
41 <!-- <execution> -->
42 <!-- <id>copy-dependencies</id> -->
43 <!-- <phase>package</phase> -->
44 <!-- <goals> -->
45 <!-- <goal>copy-dependencies</goal> -->
46 <!-- </goals> -->
47 <!-- </execution> -->
48 <!-- </executions> -->
49 <!-- </plugin> -->
50 </plugins>
51 </build>
52 <dependencies>
53 <!-- Parent dependencies -->
54 <dependency>
55 <groupId>org.argeo.commons</groupId>
56 <artifactId>org.argeo.dep.cms.node</artifactId>
57 <version>${version.argeo-commons}</version>
58 </dependency>
59
60 <!-- Absolutely minimal SLC Agent -->
61 <dependency>
62 <groupId>org.argeo.slc</groupId>
63 <artifactId>org.argeo.slc.api</artifactId>
64 <version>2.1.17-SNAPSHOT</version>
65 </dependency>
66 <dependency>
67 <groupId>org.argeo.slc</groupId>
68 <artifactId>org.argeo.slc.core</artifactId>
69 <version>2.1.17-SNAPSHOT</version>
70 </dependency>
71 <dependency>
72 <groupId>org.argeo.slc</groupId>
73 <artifactId>org.argeo.slc.agent</artifactId>
74 <version>2.1.17-SNAPSHOT</version>
75 </dependency>
76
77 <!-- CLI Agent -->
78 <!-- <dependency> -->
79 <!-- <groupId>org.argeo.slc</groupId> -->
80 <!-- <artifactId>org.argeo.slc.launcher</artifactId> -->
81 <!-- <version>1.1.12-SNAPSHOT</version> -->
82 <!-- </dependency> -->
83 <!-- <dependency> -->
84 <!-- <groupId>org.argeo.slc</groupId> -->
85 <!-- <artifactId>org.argeo.slc.agent.cli</artifactId> -->
86 <!-- <version>2.1.1-SNAPSHOT</version> -->
87 <!-- </dependency> -->
88
89 <!-- JCR Agent -->
90 <dependency>
91 <groupId>org.argeo.slc</groupId>
92 <artifactId>org.argeo.slc.agent.jcr</artifactId>
93 <version>2.1.17-SNAPSHOT</version>
94 </dependency>
95
96
97 </dependencies>
98 <profiles>
99 <profile>
100 <id>rpmbuild</id>
101 <build>
102 <plugins>
103 <plugin>
104 <artifactId>maven-assembly-plugin</artifactId>
105 <executions>
106 <execution>
107 <id>prepare-source</id>
108 <phase>package</phase>
109 <goals>
110 <goal>single</goal>
111 </goals>
112 <configuration>
113 <descriptorRefs>
114 <descriptorRef>a2-source</descriptorRef>
115 </descriptorRefs>
116 </configuration>
117 </execution>
118 </executions>
119 </plugin>
120 <plugin>
121 <groupId>org.codehaus.mojo</groupId>
122 <artifactId>rpm-maven-plugin</artifactId>
123 <executions>
124 <execution>
125 <id>rpm-argeo</id>
126 <phase>package</phase>
127 <goals>
128 <goal>rpm</goal>
129 </goals>
130 <configuration>
131 <name>slc-agent</name>
132 <mappings>
133 <mapping>
134 <directory>/usr/share/osgi</directory>
135 <username>root</username>
136 <groupname>root</groupname>
137 <filemode>644</filemode>
138 <directoryIncluded>true</directoryIncluded>
139 <sources>
140 <source>
141 <location>${project.build.directory}/${project.artifactId}-${project.version}-a2-source</location>
142 <includes>
143 <include>**/*.jar</include>
144 </includes>
145 </source>
146 </sources>
147 </mapping>
148 </mappings>
149 <requires>
150 <require>argeo-cms-node</require>
151 </requires>
152 </configuration>
153 </execution>
154 </executions>
155 </plugin>
156 </plugins>
157 </build>
158 </profile>
159 </profiles>
160 </project>