-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathpom.xml
167 lines (152 loc) · 6.21 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>
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.76</version>
<relativePath />
</parent>
<artifactId>dimensionsscm</artifactId>
<version>${revision}${changelist}</version>
<packaging>hpi</packaging>
<name>Jenkins Dimensions Plugin</name>
<description>This plugin integrates the Dimensions CM SCM with Jenkins.</description>
<url>https://github.com/jenkinsci/${project.artifactId}-plugin</url>
<licenses>
<license>
<name>The MIT license</name>
<url>https://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>PetRay</id>
<name>Peter Raymond</name>
</developer>
</developers>
<scm>
<connection>scm:git:https://github.com/${gitHubRepo}.git</connection>
<developerConnection>scm:git:git@github.com:${gitHubRepo}.git</developerConnection>
<url>https://github.com/${gitHubRepo}</url>
<tag>${scmTag}</tag>
</scm>
<issueManagement>
<system>Micro Focus Support</system>
<url>https://www.microfocus.com/support</url>
</issueManagement>
<properties>
<jenkins.version>2.414.3</jenkins.version>
<revision>0.9.3.2</revision>
<changelist>-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
<maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
<maven.compiler.showWarnings>true</maven.compiler.showWarnings>
<spotbugs.skip>true</spotbugs.skip>
</properties>
<repositories>
<repository>
<id>repo.jenkins-ci.org</id>
<url>https://repo.jenkins-ci.org/public/</url>
</repository>
<repository>
<id>lib</id>
<url>file://${basedir}/lib</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>repo.jenkins-ci.org</id>
<url>https://repo.jenkins-ci.org/public/</url>
</pluginRepository>
</pluginRepositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.414.x</artifactId>
<version>2705.vf5c48c31285b_</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>1.9.4</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<!--
This dependency refers to the Dimensions CM Java API.
However, the JAR file in the lib/ subdirectory of this repository
is a non-functional stub (with source code) solely to allow anyone
(even without access to the CM Java API) to compile this plugin.
So the plugin works at runtime (in a Jenkins installation), please
follow the 'Installation' steps described in the plugin user guide:
https://github.com/jenkinsci/dimensionsscm-plugin/blob/master/docs/user-guide.md#Installation
One way to debug the plugin is to change <version> to be a non-
stub version (which is installed in the local Maven repository)
and change <scope> to 'compile', then use 'mvn hpi:run'.
-->
<groupId>com.serena.dimensions</groupId>
<artifactId>dmclient</artifactId>
<version>DUMMY-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>credentials</artifactId>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-job</artifactId>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-scm-step</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-digester3</artifactId>
<version>3.2</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>no-snapshots-in-release</id>
<configuration>
<rules>
<requireReleaseDeps>
<!-- Prevent unexpected failures -->
<onlyWhenRelease>false</onlyWhenRelease>
<!-- This is a provided API dependency, so SNAPSHOT not an issue -->
<excludes combine.children="append">
<exclude>com.serena.dimensions:*</exclude>
<exclude>com.microfocus.adm.dimensions:*</exclude>
</excludes>
</requireReleaseDeps>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>