]> git.argeo.org Git - gpl/argeo-slc.git/blob - dist/slc/pom.xml
First complete base distribution with the new approach (Argeo Commons
[gpl/argeo-slc.git] / dist / slc / 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.slc</groupId>
5 <artifactId>dist</artifactId>
6 <version>2.1.3-SNAPSHOT</version>
7 <relativePath>..</relativePath>
8 </parent>
9 <artifactId>slc</artifactId>
10 <packaging>pom</packaging>
11 <name>SLC Legacy Distribution</name>
12 <properties>
13 <argeo.rpm.stagingRepository>/srv/rpmfactory/legacy/argeo-osgi-2/argeo</argeo.rpm.stagingRepository>
14 </properties>
15 <profiles>
16 <profile>
17 <id>dist</id>
18 <build>
19 <plugins>
20 <!-- <plugin> -->
21 <!-- <groupId>org.apache.maven.plugins</groupId> -->
22 <!-- <artifactId>maven-dependency-plugin</artifactId> -->
23 <!-- <executions> -->
24 <!-- <execution> -->
25 <!-- <id>copy-dependencies-dist</id> -->
26 <!-- <phase>package</phase> -->
27 <!-- <goals> -->
28 <!-- <goal>copy-dependencies</goal> -->
29 <!-- </goals> -->
30 <!-- <configuration> -->
31 <!-- <includeTypes>jar</includeTypes> -->
32 <!-- <useRepositoryLayout>true</useRepositoryLayout> -->
33 <!-- <outputDirectory>${project.build.directory}/modulest</outputDirectory> -->
34 <!-- </configuration> -->
35 <!-- </execution> -->
36 <!-- </executions> -->
37 <!-- </plugin> -->
38 <plugin>
39 <groupId>org.apache.maven.plugins</groupId>
40 <artifactId>maven-assembly-plugin</artifactId>
41 <configuration>
42 <finalName>argeo-slc-${project.version}</finalName>
43 <appendAssemblyId>false</appendAssemblyId>
44 <descriptors>
45 <descriptor>src/assembly/dist.xml</descriptor>
46 </descriptors>
47 </configuration>
48 <executions>
49 <execution>
50 <id>assembly-base</id>
51 <phase>package</phase>
52 <goals>
53 <goal>single</goal>
54 </goals>
55 </execution>
56 </executions>
57 </plugin>
58 </plugins>
59 </build>
60 <dependencies>
61 <!-- Backend -->
62 <dependency>
63 <groupId>org.argeo.slc</groupId>
64 <artifactId>org.argeo.slc.dep.backend</artifactId>
65 <version>2.1.3-SNAPSHOT</version>
66 <type>pom</type>
67 </dependency>
68
69 <!-- SLC Libs -->
70 <dependency>
71 <groupId>org.argeo.slc</groupId>
72 <artifactId>org.argeo.slc.lib.jcr</artifactId>
73 <version>2.1.3-SNAPSHOT</version>
74 </dependency>
75 <dependency>
76 <groupId>org.argeo.slc</groupId>
77 <artifactId>org.argeo.slc.lib.repo</artifactId>
78 <version>2.1.3-SNAPSHOT</version>
79 </dependency>
80
81 <!-- Launcher -->
82 <dependency>
83 <groupId>org.argeo.slc</groupId>
84 <artifactId>org.argeo.slc.launcher</artifactId>
85 <version>2.1.3-SNAPSHOT</version>
86 <!-- <type>tar.gz</type> -->
87 <!-- <classifier>base</classifier> -->
88 </dependency>
89 </dependencies>
90 </profile>
91 <profile>
92 <id>rpmbuild</id>
93 <build>
94 <plugins>
95 <!-- <plugin> -->
96 <!-- <groupId>org.apache.maven.plugins</groupId> -->
97 <!-- <artifactId>maven-dependency-plugin</artifactId> -->
98 <!-- <executions> -->
99 <!-- <execution> -->
100 <!-- <id>copy-dependencies-rpm</id> -->
101 <!-- <phase>package</phase> -->
102 <!-- <goals> -->
103 <!-- <goal>copy</goal> -->
104 <!-- </goals> -->
105 <!-- <configuration> -->
106 <!-- <includeTypes>jar</includeTypes> -->
107 <!-- <stripVersion>true</stripVersion> -->
108 <!-- <outputDirectory>${project.build.directory}/boot</outputDirectory> -->
109 <!-- <artifactItems> -->
110 <!-- <artifactItem> -->
111 <!-- <groupId>org.argeo.slc</groupId> -->
112 <!-- <artifactId>org.argeo.slc.launcher</artifactId> -->
113 <!-- <version>${project.version}</version> -->
114 <!-- </artifactItem> -->
115 <!-- </artifactItems> -->
116 <!-- </configuration> -->
117 <!-- </execution> -->
118 <!-- </executions> -->
119 <!-- </plugin> -->
120 <plugin>
121 <groupId>org.codehaus.mojo</groupId>
122 <artifactId>rpm-maven-plugin</artifactId>
123 <executions>
124 <execution>
125 <id>rpm</id>
126 <phase>package</phase>
127 <goals>
128 <goal>rpm</goal>
129 </goals>
130 <configuration>
131 <name>slc-legacy</name>
132 <mappings>
133 <mapping>
134 <directory>/etc/argeo/conf.d</directory>
135 <username>root</username>
136 <groupname>argeo</groupname>
137 <filemode>640</filemode>
138 <configuration>noreplace</configuration>
139 <directoryIncluded>false</directoryIncluded>
140 <sources>
141 <source>
142 <location>rpm/etc/argeo/conf.d</location>
143 <includes>
144 <include>*.ini</include>
145 <include>*.txt</include>
146 </includes>
147 </source>
148 </sources>
149 </mapping>
150 </mappings>
151 <requires>
152 <require>argeo-node</require>
153 <require>slc-platform</require>
154 </requires>
155 </configuration>
156 </execution>
157 </executions>
158 </plugin>
159 </plugins>
160 </build>
161 </profile>
162 </profiles>
163 </project>