]> git.argeo.org Git - lgpl/argeo-commons.git/blob - dist/osgi-boot/pom.xml
Deploy Java 11.
[lgpl/argeo-commons.git] / dist / osgi-boot / 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.commons</groupId>
5 <version>2.1.89-SNAPSHOT</version>
6 <artifactId>dist</artifactId>
7 <relativePath>..</relativePath>
8 </parent>
9 <artifactId>osgi-boot</artifactId>
10 <packaging>pom</packaging>
11 <name>Commons Deployable OSGi Boot</name>
12 <!-- <properties> -->
13 <!-- <version.equinox>3.10.1.v20140909-1633</version.equinox> -->
14 <!-- </properties> -->
15 <dependencies>
16 <dependency>
17 <groupId>org.argeo.tp</groupId>
18 <artifactId>argeo-tp</artifactId>
19 <version>${version.argeo-tp}</version>
20 </dependency>
21
22 <!-- OSGi Boot (and Equinox) -->
23 <dependency>
24 <groupId>org.argeo.commons</groupId>
25 <artifactId>org.argeo.osgi.boot</artifactId>
26 <version>2.1.89-SNAPSHOT</version>
27 </dependency>
28 </dependencies>
29 <profiles>
30 <profile>
31 <id>dist</id>
32 <build>
33 <plugins>
34 <plugin>
35 <groupId>org.apache.maven.plugins</groupId>
36 <artifactId>maven-assembly-plugin</artifactId>
37 <configuration>
38 <finalName>osgi-boot-${project.version}</finalName>
39 <appendAssemblyId>false</appendAssemblyId>
40 <descriptors>
41 <descriptor>assembly/osgi-boot.xml</descriptor>
42 </descriptors>
43 </configuration>
44 <executions>
45 <execution>
46 <id>assembly-base</id>
47 <phase>package</phase>
48 <goals>
49 <goal>single</goal>
50 </goals>
51 </execution>
52 </executions>
53 </plugin>
54 </plugins>
55 </build>
56 </profile>
57 <profile>
58 <id>rpmbuild</id>
59 <build>
60 <plugins>
61 <plugin>
62 <groupId>org.codehaus.mojo</groupId>
63 <artifactId>rpm-maven-plugin</artifactId>
64 <executions>
65 <execution>
66 <id>rpm-osgi-boot</id>
67 <phase>package</phase>
68 <goals>
69 <goal>rpm</goal>
70 </goals>
71 <configuration>
72 <name>osgi-boot</name>
73 <mappings>
74 <mapping>
75 <directory>/usr/bin</directory>
76 <username>root</username>
77 <groupname>root</groupname>
78 <filemode>755</filemode>
79 <directoryIncluded>false</directoryIncluded>
80 <sources>
81 <source>
82 <location>rpm/usr/bin</location>
83 <includes>
84 <include>*</include>
85 </includes>
86 </source>
87 </sources>
88 </mapping>
89 <mapping>
90 <directory>/usr/share/osgi/boot</directory>
91 <username>root</username>
92 <groupname>root</groupname>
93 <filemode>644</filemode>
94 <directoryIncluded>false</directoryIncluded>
95 <dependency>
96 <stripVersion>true</stripVersion>
97 <includes>
98 <include>org.argeo.commons:org.argeo.osgi.boot</include>
99 </includes>
100 </dependency>
101 </mapping>
102 <mapping>
103 <directory>/usr/share/osgi/boot</directory>
104 <username>root</username>
105 <groupname>root</groupname>
106 <filemode>644</filemode>
107 <configuration>noreplace</configuration>
108 <directoryIncluded>false</directoryIncluded>
109 <sources>
110 <source>
111 <location>rpm/usr/share/osgi/boot</location>
112 <includes>
113 <include>*.args</include>
114 </includes>
115 </source>
116 </sources>
117 </mapping>
118 </mappings>
119 <requires>
120 <require>osgi-boot-equinox</require>
121 </requires>
122 </configuration>
123 </execution>
124 </executions>
125 </plugin>
126 </plugins>
127 </build>
128 </profile>
129 <profile>
130 <id>rpmbuild-tp</id>
131 <build>
132 <plugins>
133 <plugin>
134 <groupId>org.codehaus.mojo</groupId>
135 <artifactId>rpm-maven-plugin</artifactId>
136 <executions>
137 <execution>
138 <id>rpm-osgi-boot-equinox</id>
139 <phase>package</phase>
140 <goals>
141 <goal>rpm</goal>
142 </goals>
143 <configuration>
144 <name>osgi-boot-equinox</name>
145 <projversion>${version.argeo-tp}</projversion>
146 <release>${maven.build.timestamp}</release>
147 <mappings>
148 <mapping>
149 <directory>/usr/share/osgi/boot</directory>
150 <username>root</username>
151 <groupname>root</groupname>
152 <filemode>644</filemode>
153 <directoryIncluded>false</directoryIncluded>
154 <dependency>
155 <stripVersion>true</stripVersion>
156 <includes>
157 <include>org.argeo.tp.equinox:org.eclipse.osgi</include>
158 </includes>
159 </dependency>
160 </mapping>
161 </mappings>
162 </configuration>
163 </execution>
164 </executions>
165 </plugin>
166 </plugins>
167 </build>
168 </profile>
169 </profiles>
170 </project>