-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
90 lines (84 loc) · 3.26 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2003-2014 eXo Platform SAS.
This file is part of Codefest 2014 - Team A Addon - Bundle.
Codefest 2014 - Team A Addon - Bundle is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 3 of
the License, or (at your option) any later version.
Codefest 2014 - Team A Addon - Bundle software is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with Codefest 2014 - Team A Addon - Bundle; if not, write to the Free
Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301 USA, or see <http://www.gnu.org/licenses/>.
-->
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>team-i-addon</artifactId>
<groupId>org.exoplatform.addons.codefest.team_i</groupId>
<version>1.0.x-SNAPSHOT</version>
</parent>
<artifactId>team-i-addon-bundle</artifactId>
<packaging>jar</packaging>
<name>Codefest 2014 - Team I Addon - Bundle</name>
<description>Codefest 2014 - Team I Addon - Bundle</description>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>team-i-addon-config</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>team-i-addon-lib</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>team-i-addon-webapp</artifactId>
<version>${project.version}</version>
<type>war</type>
<scope>provided</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>create-bundle</id>
<activation>
<property>
<name>!skip-bundle</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<!-- Create the addon zip and attach it to maven -->
<execution>
<id>package-addon</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>src/main/assemblies/addon-bundle.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>