mvn publish now release jars to maven central
[public/netxms.git] / src / java / client / netxms-client / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3
4 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.netxms</groupId>
6 <artifactId>netxms-client</artifactId>
7 <packaging>bundle</packaging>
8 <version>2.1-M2</version>
9 <name>netxms-client</name>
10 <description>NetXMS client library - complete JAVA API</description>
11 <url>http://www.netxms.org</url>
12
13 <licenses>
14 <license>
15 <name>GNU General Public License (GPL) v2</name>
16 <url>http://www.gnu.org/licenses/gpl2.txt</url>
17 </license>
18 </licenses>
19 <scm>
20 <connection>scm:git:https://git.netxms.org/public/netxms.git</connection>
21 <developerConnection>scm:git:ssh://git.netxms.org/public/netxms.git</developerConnection>
22 <url>http://git.netxms.org/public/netxms.git/shortlog/refs/heads/develop</url>
23 </scm>
24 <developers>
25 <developer>
26 <id>alex.kirhenshtein</id>
27 <name>Alex Kirhenshtein</name>
28 <email>alk@netxms.org</email>
29 <organization>Raden Solutions</organization>
30 <organizationUrl>http://www.radensolutions.com</organizationUrl>
31 <roles>
32 <role>developer</role>
33 </roles>
34 <timezone>Europe/Riga</timezone>
35 </developer>
36 </developers>
37 <issueManagement>
38 <system>Redmine</system>
39 <url>https://dev.raden.solutions/projects/netxms</url>
40 </issueManagement>
41
42 <distributionManagement>
43 <snapshotRepository>
44 <id>ossrh</id>
45 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
46 </snapshotRepository>
47 </distributionManagement>
48
49 <build>
50 <plugins>
51 <plugin>
52 <groupId>org.apache.maven.plugins</groupId>
53 <artifactId>maven-compiler-plugin</artifactId>
54 <version>3.6.1</version>
55 <configuration>
56 <source>1.6</source>
57 <target>1.6</target>
58 <encoding>utf-8</encoding>
59 </configuration>
60 </plugin>
61 <plugin>
62 <groupId>org.apache.felix</groupId>
63 <artifactId>maven-bundle-plugin</artifactId>
64 <version>2.3.7</version>
65 <extensions>true</extensions>
66 <configuration>
67 <instructions>
68 <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
69 <Import-Package>org.netxms.*;version="$(@)",*</Import-Package>
70 </instructions>
71 </configuration>
72 </plugin>
73 <plugin>
74 <groupId>org.apache.maven.plugins</groupId>
75 <artifactId>maven-javadoc-plugin</artifactId>
76 <version>2.10.4</version>
77 <executions>
78 <execution>
79 <id>attach-javadocs</id>
80 <goals>
81 <goal>jar</goal>
82 </goals>
83 </execution>
84 </executions>
85 </plugin>
86 <plugin>
87 <groupId>org.apache.maven.plugins</groupId>
88 <artifactId>maven-source-plugin</artifactId>
89 <version>3.0.1</version>
90 <executions>
91 <execution>
92 <id>attach-sources</id>
93 <goals>
94 <goal>jar-no-fork</goal>
95 </goals>
96 </execution>
97 </executions>
98 </plugin>
99 <plugin>
100 <groupId>org.sonatype.plugins</groupId>
101 <artifactId>nexus-staging-maven-plugin</artifactId>
102 <version>1.6.7</version>
103 <extensions>true</extensions>
104 <configuration>
105 <serverId>ossrh</serverId>
106 <nexusUrl>https://oss.sonatype.org/</nexusUrl>
107 <autoReleaseAfterClose>false</autoReleaseAfterClose>
108 </configuration>
109 </plugin>
110
111 <plugin>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-gpg-plugin</artifactId>
114 <version>1.6</version>
115 <executions>
116 <execution>
117 <id>sign-artifacts</id>
118 <phase>verify</phase>
119 <goals>
120 <goal>sign</goal>
121 </goals>
122 </execution>
123 </executions>
124 </plugin>
125 </plugins>
126 </build>
127
128 <dependencies>
129 <dependency>
130 <groupId>org.netxms</groupId>
131 <artifactId>netxms-base</artifactId>
132 <version>${project.version}</version>
133 </dependency>
134 <dependency>
135 <groupId>org.simpleframework</groupId>
136 <artifactId>simple-xml</artifactId>
137 <version>2.6.4</version>
138 </dependency>
139 <dependency>
140 <groupId>junit</groupId>
141 <artifactId>junit</artifactId>
142 <version>4.11</version>
143 <scope>test</scope>
144 </dependency>
145 </dependencies>
146
147 <reporting>
148 <plugins>
149 <plugin>
150 <groupId>org.apache.maven.plugins</groupId>
151 <artifactId>maven-javadoc-plugin</artifactId>
152 <version>2.10.4</version>
153 </plugin>
154 </plugins>
155 </reporting>
156
157 <properties>
158 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
159 </properties>
160
161 <profiles>
162 <profile>
163 <id>default</id>
164 <activation>
165 <activeByDefault>true</activeByDefault>
166 </activation>
167 <build>
168 <plugins>
169 <plugin>
170 <groupId>org.apache.maven.plugins</groupId>
171 <artifactId>maven-surefire-plugin</artifactId>
172 <version>2.18.1</version>
173 <configuration>
174 <excludedGroups>org.netxms.IntegrationTest</excludedGroups>
175 </configuration>
176 </plugin>
177 </plugins>
178 </build>
179 </profile>
180 <profile>
181 <id>integration-test</id>
182 <build>
183 <plugins>
184 <plugin>
185 <groupId>org.apache.maven.plugins</groupId>
186 <artifactId>maven-surefire-plugin</artifactId>
187 <version>2.18.1</version>
188 <configuration>
189 <excludedGroups>java.io.Serializable</excludedGroups>
190 </configuration>
191 </plugin>
192 </plugins>
193 </build>
194 </profile>
195 </profiles>
196 </project>