]> git.argeo.org Git - gpl/argeo-slc.git/blob - pom.xml
e6efce656f1765a36aa36eda8e256f3822839293
[gpl/argeo-slc.git] / pom.xml
1 <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">
2 <modelVersion>4.0.0</modelVersion>
3 <parent>
4 <groupId>org.argeo.slc</groupId>
5 <artifactId>dep</artifactId>
6 <version>2.1.15-SNAPSHOT</version>
7 <relativePath>..</relativePath>
8 </parent>
9 <artifactId>org.argeo.slc.dep.e4.rap</artifactId>
10 <name>SLC E4 RAP</name>
11 <build>
12 <plugins>
13 <plugin>
14 <groupId>org.apache.felix</groupId>
15 <artifactId>maven-bundle-plugin</artifactId>
16 <configuration>
17 <instructions>
18 <SLC-ModularDistribution>default</SLC-ModularDistribution>
19 </instructions>
20 </configuration>
21 </plugin>
22 <plugin>
23 <groupId>org.argeo.maven.plugins</groupId>
24 <artifactId>maven-argeo-osgi-plugin</artifactId>
25 <executions>
26 <execution>
27 <id>generate-descriptors</id>
28 <goals>
29 <goal>descriptors</goal>
30 </goals>
31 <phase>generate-resources</phase>
32 </execution>
33 </executions>
34 </plugin>
35 </plugins>
36 </build>
37 <dependencies>
38 <!-- Parent dependencies -->
39 <dependency>
40 <groupId>org.argeo.commons</groupId>
41 <artifactId>org.argeo.dep.cms.e4.rap</artifactId>
42 <version>${version.argeo-commons}</version>
43 </dependency>
44 <dependency>
45 <groupId>org.argeo.slc</groupId>
46 <artifactId>org.argeo.slc.dep.minimal</artifactId>
47 <version>2.1.15-SNAPSHOT</version>
48 </dependency>
49
50
51 <dependency>
52 <groupId>org.argeo.slc</groupId>
53 <artifactId>org.argeo.slc.e4</artifactId>
54 <version>2.1.15-SNAPSHOT</version>
55 </dependency>
56 <!-- SLC Libs -->
57 <!-- <dependency> -->
58 <!-- <groupId>org.argeo.slc</groupId> -->
59 <!-- <artifactId>org.argeo.slc.lib.repo</artifactId> -->
60 <!-- <version>1.1.14-SNAPSHOT</version> -->
61 <!-- </dependency> -->
62 <!-- <dependency> -->
63 <!-- <groupId>org.argeo.slc</groupId> -->
64 <!-- <artifactId>org.argeo.slc.lib.jcr</artifactId> -->
65 <!-- <version>1.1.14-SNAPSHOT</version> -->
66 <!-- </dependency> -->
67
68 <!-- Extensions <dependency> <groupId>org.argeo.slc</groupId> <artifactId>org.argeo.slc.support</artifactId>
69 <version>2.1.13-SNAPSHOT</version> </dependency> -->
70 <!-- UI <dependency> <groupId>org.argeo.slc</groupId> <artifactId>org.argeo.slc.client.ui</artifactId>
71 <version>2.1.13-SNAPSHOT</version> </dependency> <dependency> <groupId>org.argeo.slc</groupId>
72 <artifactId>org.argeo.slc.client.ui.dist</artifactId> <version>2.1.13-SNAPSHOT</version>
73 </dependency> <dependency> <groupId>org.argeo.slc</groupId> <artifactId>org.argeo.slc.client.rap</artifactId>
74 <version>2.1.13-SNAPSHOT</version> </dependency> -->
75
76 <!-- For target platform generation <dependency> <groupId>org.argeo.slc</groupId>
77 <artifactId>org.argeo.slc.unit</artifactId> <version>2.1.13-SNAPSHOT</version>
78 <scope>test</scope> </dependency> -->
79 </dependencies>
80 <profiles>
81 <profile>
82 <id>rpmbuild</id>
83 <build>
84 <plugins>
85 <plugin>
86 <artifactId>maven-assembly-plugin</artifactId>
87 <executions>
88 <execution>
89 <id>prepare-source</id>
90 <phase>package</phase>
91 <goals>
92 <goal>single</goal>
93 </goals>
94 <configuration>
95 <descriptorRefs>
96 <descriptorRef>a2-source</descriptorRef>
97 </descriptorRefs>
98 </configuration>
99 </execution>
100 </executions>
101 </plugin>
102 <!-- <plugin> -->
103 <!-- <groupId>org.apache.maven.plugins</groupId> -->
104 <!-- <artifactId>maven-dependency-plugin</artifactId> -->
105 <!-- <executions> -->
106 <!-- <execution> -->
107 <!-- <id>copy-argeo</id> -->
108 <!-- <phase>package</phase> -->
109 <!-- <goals> -->
110 <!-- <goal>copy-dependencies</goal> -->
111 <!-- </goals> -->
112 <!-- <configuration> -->
113 <!-- <includeTypes>jar</includeTypes> -->
114 <!-- <outputDirectory>${project.build.directory}/lib-argeo</outputDirectory> -->
115 <!-- <includeGroupIds>org.argeo.slc</includeGroupIds> -->
116 <!-- <excludeTransitive>true</excludeTransitive> -->
117 <!-- <excludeArtifactIds>org.argeo.slc.dep.minimal</excludeArtifactIds> -->
118 <!-- <includeTypes>jar</includeTypes> -->
119 <!-- <includeScope>runtime</includeScope> -->
120 <!-- <useRepositoryLayout>true</useRepositoryLayout> -->
121 <!-- </configuration> -->
122 <!-- </execution> -->
123 <!-- </executions> -->
124 <!-- </plugin> -->
125 <plugin>
126 <groupId>org.codehaus.mojo</groupId>
127 <artifactId>rpm-maven-plugin</artifactId>
128 <executions>
129 <execution>
130 <id>rpm-argeo</id>
131 <phase>package</phase>
132 <goals>
133 <goal>rpm</goal>
134 </goals>
135 <configuration>
136 <name>slc-e4-rap</name>
137 <mappings>
138 <mapping>
139 <directory>/usr/share/osgi</directory>
140 <username>root</username>
141 <groupname>root</groupname>
142 <filemode>644</filemode>
143 <directoryIncluded>true</directoryIncluded>
144 <sources>
145 <source>
146 <location>${project.build.directory}/${project.artifactId}-${project.version}-a2-source</location>
147 <includes>
148 <include>**/*.jar</include>
149 </includes>
150 </source>
151 </sources>
152 </mapping>
153 <!-- <mapping> -->
154 <!-- <directory>/usr/share/osgi/org/argeo/slc/${project.artifactId}/${project.version}</directory> -->
155 <!-- <username>root</username> -->
156 <!-- <groupname>root</groupname> -->
157 <!-- <directoryIncluded>false</directoryIncluded> -->
158 <!-- <artifact /> -->
159 <!-- </mapping> -->
160 </mappings>
161 <requires>
162 <require>argeo-cms-e4-rap</require>
163 <require>slc-agent</require>
164 </requires>
165 </configuration>
166 </execution>
167 </executions>
168 </plugin>
169 </plugins>
170 </build>
171 </profile>
172 </profiles>
173 </project>