]> git.argeo.org Git - gpl/argeo-slc.git/blob - dist/org.argeo.slc.sdk/pom.xml
Update SDK
[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.1-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 <extensions>true</extensions>
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 </executions>
51 </plugin>
52 <plugin>
53 <artifactId>maven-resources-plugin</artifactId>
54 <executions>
55 <execution>
56 <phase>validate</phase>
57 <goals>
58 <goal>copy-resources</goal>
59 </goals>
60 <configuration>
61 <outputDirectory>${basedir}/target/base</outputDirectory>
62 <resources>
63 <resource>
64 <directory>src/main/base</directory>
65 <filtering>true</filtering>
66 </resource>
67 </resources>
68 </configuration>
69 </execution>
70 </executions>
71 </plugin>
72 <plugin>
73 <groupId>org.apache.maven.plugins</groupId>
74 <artifactId>maven-assembly-plugin</artifactId>
75 <configuration>
76 <descriptors>
77 <descriptor>src/assembly/dist.xml</descriptor>
78 </descriptors>
79 </configuration>
80 <executions>
81 <execution>
82 <id>attach-assembly</id>
83 <phase>package</phase>
84 <goals>
85 <goal>single</goal>
86 </goals>
87 </execution>
88 </executions>
89 </plugin>
90 <plugin>
91 <groupId>org.codehaus.mojo</groupId>
92 <artifactId>exec-maven-plugin</artifactId>
93 <version>1.1</version>
94 <executions>
95 <execution>
96 <id>create-repository</id>
97 <phase>deploy</phase>
98 <goals>
99 <goal>exec</goal>
100 </goals>
101 </execution>
102 </executions>
103 <configuration>
104 <executable>${argeo.p2.cmd}</executable>
105 <!-- optional -->
106 <workingDirectory>/tmp</workingDirectory>
107 <arguments>
108 <argument>-noSplash</argument>
109 <argument>-application</argument>
110 <argument>org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher</argument>
111 <argument>-metadataRepository</argument>
112 <argument>file:${argeo.p2.repository}</argument>
113 <argument>-artifactRepository</argument>
114 <argument>file:${argeo.p2.repository}</argument>
115 <argument>-bundles</argument>
116 <argument>${project.build.directory}</argument>
117 <argument>-features</argument>
118 <argument>${project.build.directory}</argument>
119 <argument>-compress</argument>
120 <argument>-publishArtifacts</argument>
121 </arguments>
122 </configuration>
123 </plugin>
124
125 </plugins>
126 </build>
127 <dependencies>
128 <dependency>
129 <groupId>org.argeo.slc.dep</groupId>
130 <artifactId>org.argeo.slc.dep.server</artifactId>
131 <version>${project.version}</version>
132 </dependency>
133 <dependency>
134 <groupId>org.argeo.slc.server</groupId>
135 <artifactId>org.argeo.slc.ria</artifactId>
136 </dependency>
137
138 <!-- Modules -->
139 <dependency>
140 <groupId>org.argeo.slc.modules</groupId>
141 <artifactId>org.argeo.slc.modules.agent.bundles</artifactId>
142 <version>${project.version}</version>
143 <type>pom</type>
144 </dependency>
145 <dependency>
146 <groupId>org.argeo.slc.modules</groupId>
147 <artifactId>org.argeo.slc.modules.server.bundles</artifactId>
148 <version>${project.version}</version>
149 <type>pom</type>
150 </dependency>
151
152 <!-- Launcher -->
153 <dependency>
154 <groupId>org.argeo.slc.runtime</groupId>
155 <artifactId>org.argeo.slc.launcher</artifactId>
156 <version>${project.version}</version>
157 <type>tar.gz</type>
158 <classifier>base</classifier>
159 </dependency>
160
161 </dependencies>
162 <profiles>
163 <profile>
164 <id>release</id>
165 <properties>
166 <argeo.p2.repository>/var/argeo/projects/SLC/www/sdk</argeo.p2.repository>
167 </properties>
168 </profile>
169 </profiles>
170 </project>