This repository has been archived by the owner on Oct 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
167 lines (161 loc) · 5.49 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
159
160
161
162
163
164
165
166
167
<?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>
<groupId>tools.osgi</groupId>
<artifactId>osgi-tools.master</artifactId>
<name>OSGi Tools - Master</name>
<version>1.00.000-SNAPSHOT</version>
<packaging>pom</packaging>
<repositories>
<repository>
<name>Internal Nexus Repository</name>
<id>internal-nexus-repository</id>
<url>http://repo.pennassurancesoftware.com/artifactory/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<name>Internal Nexus Snapshot Repository</name>
<id>internal-nexus-snapshot-repository</id>
<url>http://repo.pennassurancesoftware.com/artifactory/public-snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>internal-nexus-release-repository</id>
<name>Internal Nexus Release Repository</name>
<url>http://repo.pennassurancesoftware.com/artifactory/libs-release-local/</url>
<uniqueVersion>false</uniqueVersion>
</repository>
<snapshotRepository>
<id>internal-nexus-snapshot-repository</id>
<name>Internal Nexus Snapshot Repository</name>
<url>http://repo.pennassurancesoftware.com/artifactory/libs-snapshot-local/</url>
<uniqueVersion>false</uniqueVersion>
</snapshotRepository>
</distributionManagement>
<scm>
<connection>scm:git:[email protected]:jeromebridge/osgi-tools.git</connection>
<developerConnection>scm:git:[email protected]:jeromebridge/osgi-tools.git</developerConnection>
<url>https://github.com/jeromebridge/osgi-tools</url>
<tag>HEAD</tag>
</scm>
<build>
<plugins>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>2.4.1</version>
<configuration>
<releaseProfiles>release</releaseProfiles>
<tagNameFormat>@{project.version}</tagNameFormat>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.0.1</version>
</plugin>
<!-- Automatically Release From OSS Staging Repository -->
<!-- Manual Steps: http://central.sonatype.org/pages/releasing-the-deployment.html -->
<!-- Log into site: https://oss.sonatype.org/ -->
<!--
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.3</version>
<extensions>true</extensions>
<configuration>
<serverId>oss.sonatype.org</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
-->
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<versionRange>[1.0.0,)</versionRange>
<goals>
<goal>enforce</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<versionRange>[1.3,)</versionRange>
<goals>
<goal>create-timestamp</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<!-- How To Setup Maven Central Releases: http://www.yegor256.com/2014/08/19/how-to-release-to-maven-central.html -->
<!-- I was getting the error: gpg: decryption failed: Bad session key -->
<!-- I needed to force Ubuntu to use GPG2 instead of PGP: https://wiki.debian.org/Teams/GnuPG/UsingGnuPGv2 -->
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<homedir>${gpg.homedir}</homedir>
<keyname>${gpg.keyname}</keyname>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<modules>
<module>osgi.analyzer</module>
<module>osgi.maven.integration</module>
</modules>
</project>