]> git.argeo.org Git - gpl/argeo-slc.git/blob - dist/org.argeo.slc.sdk/pom.xml
[maven-release-plugin] prepare for next development iteration
[gpl/argeo-slc.git] / dist / org.argeo.slc.sdk / 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>0.12.2-SNAPSHOT</version>
7 </parent>
8 <groupId>org.argeo.slc.dist</groupId>
9 <artifactId>org.argeo.slc.sdk</artifactId>
10 <packaging>jar</packaging>
11 <name>SLC SDK</name>
12 <properties>
13 <argeo.p2.cmd>/opt/equinox-p2-agent/eclipse</argeo.p2.cmd>
14 <argeo.p2.repository>/var/argeo/projects/SLC/www/sdk-dev</argeo.p2.repository>
15 </properties>
16 <build>
17 <plugins>
18 <plugin>
19 <groupId>org.apache.maven.plugins</groupId>
20 <artifactId>maven-dependency-plugin</artifactId>
21 <executions>
22 <execution>
23 <id>copy-dependencies</id>
24 <phase>process-resources</phase>
25 <goals>
26 <goal>copy-dependencies</goal>
27 </goals>
28 <configuration>
29 <includeTypes>jar</includeTypes>
30 <outputDirectory>${project.build.directory}</outputDirectory>
31 </configuration>
32 </execution>
33 </executions>
34 </plugin>
35 <plugin>
36 <groupId>org.argeo.maven.plugins</groupId>
37 <artifactId>maven-argeo-osgi-plugin</artifactId>
38 <version>${version.maven-argeo-osgi}</version>
39 <executions>
40 <execution>
41 <id>pde-source</id>
42 <phase>process-resources</phase>
43 <goals>
44 <goal>pde-sources</goal>
45 </goals>
46 <configuration>
47 </configuration>
48 </execution>
49 <execution>
50 <id>check-osgi</id>
51 <phase>test</phase>
52 <goals>
53 <goal>equinox</goal>
54 </goals>
55 <configuration>
56 <useDependencies>false</useDependencies>
57 <onlyCheck>true</onlyCheck>
58 <argsToAppend>
59 <arg>-clean</arg>
60 </argsToAppend>
61 <systemProperties>
62 <argeo.osgi.bundles>
63 ${basedir}/target;in=*.jar,
64 </argeo.osgi.bundles>
65 </systemProperties>
66 </configuration>
67 </execution>
68 </executions>
69 </plugin>
70 <plugin>
71 <artifactId>maven-resources-plugin</artifactId>
72 <executions>
73 <execution>
74 <phase>validate</phase>
75 <goals>
76 <goal>copy-resources</goal>
77 </goals>
78 <configuration>
79 <outputDirectory>${basedir}/target/base</outputDirectory>
80 <resources>
81 <resource>
82 <directory>src/main/base</directory>
83 <filtering>true</filtering>
84 </resource>
85 </resources>
86 </configuration>
87 </execution>
88 </executions>
89 </plugin>
90 <plugin>
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-assembly-plugin</artifactId>
93 <configuration>
94 <descriptors>
95 <descriptor>src/assembly/dist.xml</descriptor>
96 </descriptors>
97 </configuration>
98 <executions>
99 <execution>
100 <id>attach-assembly</id>
101 <phase>package</phase>
102 <goals>
103 <goal>single</goal>
104 </goals>
105 </execution>
106 </executions>
107 </plugin>
108 <plugin>
109 <groupId>org.codehaus.mojo</groupId>
110 <artifactId>exec-maven-plugin</artifactId>
111 <version>1.1</version>
112 <executions>
113 <execution>
114 <id>create-repository</id>
115 <phase>deploy</phase>
116 <goals>
117 <goal>exec</goal>
118 </goals>
119 </execution>
120 </executions>
121 <configuration>
122 <executable>${argeo.p2.cmd}</executable>
123 <!-- optional -->
124 <workingDirectory>/tmp</workingDirectory>
125 <arguments>
126 <argument>-noSplash</argument>
127 <argument>-application</argument>
128 <argument>org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher</argument>
129 <argument>-metadataRepository</argument>
130 <argument>file:${argeo.p2.repository}</argument>
131 <argument>-artifactRepository</argument>
132 <argument>file:${argeo.p2.repository}</argument>
133 <argument>-bundles</argument>
134 <argument>${project.build.directory}</argument>
135 <argument>-features</argument>
136 <argument>${project.build.directory}</argument>
137 <argument>-compress</argument>
138 <argument>-publishArtifacts</argument>
139 </arguments>
140 </configuration>
141 </plugin>
142 </plugins>
143 </build>
144 <dependencies>
145 <dependency>
146 <groupId>org.argeo.slc.dep</groupId>
147 <artifactId>org.argeo.slc.dep.server</artifactId>
148 <version>${project.version}</version>
149 </dependency>
150 <dependency>
151 <groupId>org.argeo.slc.dep</groupId>
152 <artifactId>org.argeo.slc.dep.detached</artifactId>
153 <version>${project.version}</version>
154 </dependency>
155 <dependency>
156 <groupId>org.argeo.slc.runtime</groupId>
157 <artifactId>org.argeo.slc.unit</artifactId>
158 <version>${project.version}</version>
159 </dependency>
160 <dependency>
161 <groupId>org.argeo.slc.server</groupId>
162 <artifactId>org.argeo.slc.ria</artifactId>
163 </dependency>
164
165 <!-- Modules -->
166
167 <!-- Launcher -->
168 <dependency>
169 <groupId>org.argeo.slc.runtime</groupId>
170 <artifactId>org.argeo.slc.launcher</artifactId>
171 <version>${project.version}</version>
172 <type>tar.gz</type>
173 <classifier>base</classifier>
174 </dependency>
175
176 </dependencies>
177 <profiles>
178 <profile>
179 <id>sdkWithModules</id>
180 <activation>
181 <activeByDefault>true</activeByDefault>
182 </activation>
183 <dependencies>
184 <dependency>
185 <groupId>org.argeo.slc.modules</groupId>
186 <artifactId>org.argeo.slc.modules.agent.bundles</artifactId>
187 <version>${project.version}</version>
188 <type>pom</type>
189 </dependency>
190 <dependency>
191 <groupId>org.argeo.slc.modules</groupId>
192 <artifactId>org.argeo.slc.modules.server.bundles</artifactId>
193 <version>${project.version}</version>
194 <type>pom</type>
195 </dependency>
196 </dependencies>
197 </profile>
198 <profile>
199 <id>sdkWithoutModules</id>
200 </profile>
201 <profile>
202 <id>release</id>
203 <properties>
204 <argeo.p2.repository>/var/argeo/projects/SLC/www/sdk</argeo.p2.repository>
205 </properties>
206 <dependencies>
207 <dependency>
208 <groupId>org.argeo.slc.modules</groupId>
209 <artifactId>org.argeo.slc.modules.agent.bundles</artifactId>
210 <version>${project.version}</version>
211 <type>pom</type>
212 </dependency>
213 <dependency>
214 <groupId>org.argeo.slc.modules</groupId>
215 <artifactId>org.argeo.slc.modules.server.bundles</artifactId>
216 <version>${project.version}</version>
217 <type>pom</type>
218 </dependency>
219 </dependencies>
220 </profile>
221 </profiles>
222 </project>