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