-
Notifications
You must be signed in to change notification settings - Fork 5
/
pom.xml
158 lines (143 loc) · 4.52 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<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.restcomm</groupId>
<artifactId>restcomm-parent</artifactId>
<version>3.0.4</version>
</parent>
<groupId>org.mobicents.tools</groupId>
<artifactId>maven-du-plugin</artifactId>
<version>4.0.0-SNAPSHOT</version>
<description>Maven plugin to build JAIN SLEE 3.x deployable units.</description>
<organization>
<name>RestComm</name>
<url>http://www.restcomm.org</url>
</organization>
<inceptionYear>2008</inceptionYear>
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.1</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-project</artifactId>
<version>2.0.9</version>
</dependency>
<dependency>
<groupId>javax.slee</groupId>
<artifactId>jain-slee</artifactId>
<version>1.1</version>
</dependency>
</dependencies>
<scm>
<connection>scm:git:https://github.com/RestComm/jain-slee.maven-du-plugin.git</connection>
<developerConnection>scm:git:git@github.com:RestComm/jain-slee.maven-du-plugin.git</developerConnection>
<url>https://github.com/RestComm/jain-slee.maven-du-plugin</url>
</scm>
<!-- dupe info from parent, but it's only way to retrieve the parent without
checkout -->
<repositories>
<repository>
<id>restcomm-public-repository-group</id>
<name>Restcomm Public Maven Repository Group</name>
<url>https://oss.sonatype.org/content/groups/public</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
<repository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Maven Repository Group</name>
<url>https://repository.jboss.org/nexus/content/groups/public</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<configuration>
<skipDescriptor>true</skipDescriptor>
</configuration>
</plugin>
<plugin>
<artifactId>maven-eclipse-plugin</artifactId>
<groupId>org.mobicents.tools</groupId>
<inherited>false</inherited>
<executions />
<configuration>
<resolveTransitiveDependencies>true</resolveTransitiveDependencies>
<classpathExcludes>
<exclude>xml-apis:xml-apis</exclude>
<exclude>jtidy:jtidy</exclude>
</classpathExcludes>
<eclipseProjectName>restcomm-slee-tools-maven-du-plugin</eclipseProjectName>
</configuration>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.7</version>
<executions>
<execution>
<id>copy-resources</id>
<!-- here the phase you need -->
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/classes/org/mobicents/slee/tools/maven/plugins/du</outputDirectory>
<resources>
<resource>
<directory>src/main/java/org/mobicents/slee/tools/maven/plugins/du</directory>
<includes>
<include>**/build.*</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>maven-release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<preparationGoals>clean install</preparationGoals>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>