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