-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
155 lines (150 loc) · 5.31 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
<?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">
<properties>
<packaging.type>bundle</packaging.type>
<tests.excludeGroups>tigase.tests.SlowTest</tests.excludeGroups>
</properties>
<modelVersion>4.0.0</modelVersion>
<groupId>tigase</groupId>
<artifactId>tigase-server</artifactId>
<name>Tigase XMPP Server</name>
<packaging>${packaging.type}</packaging>
<description>Tigase XMPP Server - OSGi bundle</description>
<parent>
<groupId>tigase</groupId>
<artifactId>tigase-server-master</artifactId>
<version>7.0.0-SNAPSHOT</version>
<relativePath>modules/master</relativePath>
</parent>
<profiles>
<profile>
<id>osgi</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<packaging.type>bundle</packaging.type>
<maven.javadoc.skip>true</maven.javadoc.skip>
</properties>
</profile>
<profile>
<id>jar</id>
<properties>
<packaging.type>jar</packaging.type>
<maven.javadoc.skip>true</maven.javadoc.skip>
</properties>
</profile>
<profile>
<id>dist</id>
<properties>
<packaging.type>bundle</packaging.type>
<maven.javadoc.skip>false</maven.javadoc.skip>
<tests.excludeGroups></tests.excludeGroups>
</properties>
</profile>
</profiles>
<licenses>
<license>
<name>GNU Affero General Public License GPLv3</name>
<url>http://www.gnu.org/licenses/agpl.txt</url>
</license>
</licenses>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.4.0</version>
<extensions>true</extensions>
<configuration>
<instructions combine.inherited="append">
<manifestLocation>src/main/resources/META-INF/MANIFEST.MF</manifestLocation>
<Implementation-Title>${project.name}</Implementation-Title>
<Implementation-Version>${project.version}-b${gitVersion}/${buildNumber} (${maven.build.timestamp})</Implementation-Version>
<Implementation-Build>${gitVersion}/${buildNumber} (${maven.build.timestamp})</Implementation-Build>
<Tigase-Version>${project.version}-b${gitVersion}</Tigase-Version>
<Bundle-Activator>tigase.osgi.Activator</Bundle-Activator>
<Export-Package>gnu.inet.encoding.*;version=${packet.version},tigase.*;version=${packet.version};-split-package:=merge-first</Export-Package>
<Import-Package>!junit.*,!sun.*,!com.sun.*,*</Import-Package>
<DynamicImport-Package>*</DynamicImport-Package>
<inlinedArtifacts>
<inlinedArtifact>tigase-utils</inlinedArtifact>
<inlinedArtifact>tigase-xmltools</inlinedArtifact>
</inlinedArtifacts>
<Embed-Dependency>*;scope=compile|runtime;artifactId=!junit|org.osgi.core|slf4j-api|tigase-utils|tigase-xmltools</Embed-Dependency>
<Bundle-SymbolicName>${project.artifactId};singleton=true</Bundle-SymbolicName>
<Private-Package>tigase.annotations.*,tigase.auth.*,tigase.cluster.*,tigase.conf.*,tigase.db.*,tigase.disco.*,tigase.http.*,tigase.io.*,tigase.net.*,tigase.server.*,tigase.stats.*,tigase.sys.*,tigase.util.*,tigase.vhosts.*,tigase.xmpp.*</Private-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<source>1.7</source>
<quiet>true</quiet>
<aggregate>true</aggregate>
<reportOutputDirectory>${project.reporting.outputDirectory}/docs/javadoc</reportOutputDirectory>
<destDir>docs/javadoc</destDir>
<finalName>${project.artifactId}-${project.version}-b${gitVersion}</finalName>
<jarOutputDirectory>pack</jarOutputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.17</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-junit47</artifactId>
<version>2.17</version>
</dependency>
</dependencies>
<configuration>
<excludedGroups>${tests.excludeGroups}</excludedGroups>
<parallel>methods</parallel>
<threadCount>10</threadCount>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>tigase</groupId>
<artifactId>tigase-utils</artifactId>
<version>3.4.4-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.core</artifactId>
<version>1.4.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jul-to-slf4j</artifactId>
<version>${slf4j.version}</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>