forked from kiegroup/kie-wb-distributions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
101 lines (92 loc) · 3.29 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
91
92
93
94
95
96
97
98
99
100
101
<?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>org.kie</groupId>
<artifactId>kie-drools-wb</artifactId>
<version>6.1.0-SNAPSHOT</version>
</parent>
<artifactId>kie-drools-wb-distribution-wars</artifactId>
<packaging>pom</packaging>
<name>KIE Drools Workbench - Distribution Wars</name>
<description>This module builds the download wars for different application servers.</description>
<build>
<plugins>
<!-- special handling for WAS8.5 as sisu-inject-bean:2.2.3 contains javax.inject classes which conflicts with WAS-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.2</version>
<configuration>
<outputFile>${project.build.directory}/lib/nojavax-sisu-inject-bean.jar</outputFile>
<artifactSet>
<includes>
<include>org.sonatype.sisu:sisu-inject-bean</include>
</includes>
</artifactSet>
<filters>
<filter>
<artifact>org.sonatype.sisu:sisu-inject-bean</artifact>
<excludes>
<exclude>javax/**</exclude>
</excludes>
</filter>
</filters>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- end of WAS 8.5 specific handling -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<finalName>kie-drools-wb-${project.version}</finalName>
<descriptors>
<descriptor>src/main/assembly/assembly-kie-drools-wb-jboss-as-7_0.xml</descriptor>
<descriptor>src/main/assembly/assembly-kie-drools-wb-eap-6_1.xml</descriptor>
<descriptor>src/main/assembly/assembly-kie-drools-wb-tomcat-7_0.xml</descriptor>
<descriptor>src/main/assembly/assembly-kie-drools-wb-websphere-as-8_5.xml</descriptor>
</descriptors>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
</archive>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<!-- Internal dependencies -->
<dependency>
<groupId>org.kie</groupId>
<artifactId>kie-drools-wb-webapp</artifactId>
<type>war</type>
</dependency>
<!-- External dependencies -->
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
</dependency>
<!-- For WAS8 shadding -->
<dependency>
<groupId>org.sonatype.sisu</groupId>
<artifactId>sisu-inject-bean</artifactId>
<version>${version.org.sonatype.sisu}</version>
</dependency>
</dependencies>
</project>