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