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>
5 <groupId>org.argeo.slc
</groupId>
6 <artifactId>dep
</artifactId>
7 <version>0.12.1-SNAPSHOT
</version>
9 <groupId>org.argeo.slc.dist
</groupId>
10 <artifactId>org.argeo.slc.sdk
</artifactId>
11 <packaging>jar
</packaging>
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
>
20 <groupId>org.apache.maven.plugins
</groupId>
21 <artifactId>maven-dependency-plugin
</artifactId>
24 <id>copy-dependencies
</id>
25 <phase>process-resources
</phase>
27 <goal>copy-dependencies
</goal>
30 <includeTypes>jar
</includeTypes>
31 <outputDirectory>${project.build.directory}
</outputDirectory>
37 <groupId>org.argeo.maven.plugins
</groupId>
38 <artifactId>maven-argeo-osgi-plugin
</artifactId>
39 <version>${version.maven-argeo-osgi}
</version>
43 <phase>process-resources
</phase>
45 <goal>pde-sources
</goal>
57 <useDependencies>false
</useDependencies>
58 <onlyCheck>true
</onlyCheck>
64 ${basedir}/target;in=*.jar,
72 <artifactId>maven-resources-plugin
</artifactId>
75 <phase>validate
</phase>
77 <goal>copy-resources
</goal>
80 <outputDirectory>${basedir}/target/base
</outputDirectory>
83 <directory>src/main/base
</directory>
84 <filtering>true
</filtering>
92 <groupId>org.apache.maven.plugins
</groupId>
93 <artifactId>maven-assembly-plugin
</artifactId>
96 <descriptor>src/assembly/dist.xml
</descriptor>
101 <id>attach-assembly
</id>
102 <phase>package
</phase>
110 <groupId>org.codehaus.mojo
</groupId>
111 <artifactId>exec-maven-plugin
</artifactId>
112 <version>1.1</version>
115 <id>create-repository
</id>
116 <phase>deploy
</phase>
123 <executable>${argeo.p2.cmd}
</executable>
125 <workingDirectory>/tmp
</workingDirectory>
127 <argument>-noSplash
</argument>
128 <argument>-application
</argument>
129 <argument>org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher
</argument>
130 <argument>-metadataRepository
</argument>
131 <argument>file:${argeo.p2.repository}
</argument>
132 <argument>-artifactRepository
</argument>
133 <argument>file:${argeo.p2.repository}
</argument>
134 <argument>-bundles
</argument>
135 <argument>${project.build.directory}
</argument>
136 <argument>-features
</argument>
137 <argument>${project.build.directory}
</argument>
138 <argument>-compress
</argument>
139 <argument>-publishArtifacts
</argument>
147 <groupId>org.argeo.slc.dep
</groupId>
148 <artifactId>org.argeo.slc.dep.server
</artifactId>
149 <version>${project.version}
</version>
152 <groupId>org.argeo.slc.dep
</groupId>
153 <artifactId>org.argeo.slc.dep.detached
</artifactId>
154 <version>${project.version}
</version>
157 <groupId>org.argeo.slc.runtime
</groupId>
158 <artifactId>org.argeo.slc.unit
</artifactId>
159 <version>${project.version}
</version>
162 <groupId>org.argeo.slc.server
</groupId>
163 <artifactId>org.argeo.slc.ria
</artifactId>
170 <groupId>org.argeo.slc.runtime
</groupId>
171 <artifactId>org.argeo.slc.launcher
</artifactId>
172 <version>${project.version}
</version>
174 <classifier>base
</classifier>
180 <id>sdkWithModules
</id>
182 <activeByDefault>true
</activeByDefault>
186 <groupId>org.argeo.slc.modules
</groupId>
187 <artifactId>org.argeo.slc.modules.agent.bundles
</artifactId>
188 <version>${project.version}
</version>
192 <groupId>org.argeo.slc.modules
</groupId>
193 <artifactId>org.argeo.slc.modules.server.bundles
</artifactId>
194 <version>${project.version}
</version>
200 <id>sdkWithoutModules
</id>
205 <argeo.p2.repository
>/var/argeo/projects/SLC/www/sdk
</argeo.p2.repository
>
209 <groupId>org.argeo.slc.modules
</groupId>
210 <artifactId>org.argeo.slc.modules.agent.bundles
</artifactId>
211 <version>${project.version}
</version>
215 <groupId>org.argeo.slc.modules
</groupId>
216 <artifactId>org.argeo.slc.modules.server.bundles
</artifactId>
217 <version>${project.version}
</version>