github.com/xgoffin/jenkins-library@v1.154.0/pom.xml (about) 1 <?xml version="1.0" encoding="UTF-8"?> 2 3 <project 4 xmlns="http://maven.apache.org/POM/4.0.0" 5 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 6 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 7 <parent> 8 <groupId>org.jenkins-ci.plugins</groupId> 9 <artifactId>plugin</artifactId> 10 <version>2.21</version> 11 </parent> 12 <modelVersion>4.0.0</modelVersion> 13 <groupId>com.sap.cp.jenkins</groupId> 14 <artifactId>jenkins-library</artifactId> 15 <version>${revision}</version> 16 17 <name>SAP CP Piper Library</name> 18 <description>Shared library containing steps and utilities to set up continuous deployment processes for SAP technologies.</description> 19 <url>https://sap.github.io/jenkins-library/</url> 20 21 <licenses> 22 <license> 23 <name>Apache License 2.0</name> 24 <comments>https://github.com/SAP/jenkins-library/blob/master/LICENSE</comments> 25 </license> 26 </licenses> 27 28 <repositories> 29 <repository> 30 <id>repo.jenkins-ci.org</id> 31 <url>https://repo.jenkins-ci.org/public/</url> 32 </repository> 33 </repositories> 34 35 <pluginRepositories> 36 <pluginRepository> 37 <id>repo.jenkins-ci.org</id> 38 <url>https://repo.jenkins-ci.org/public/</url> 39 </pluginRepository> 40 </pluginRepositories> 41 42 <properties> 43 <revision>0-SNAPSHOT</revision> 44 <findbugs.skip>true</findbugs.skip> 45 <jenkins.version>2.32.3</jenkins.version> 46 <pipeline.version>2.5</pipeline.version> 47 <cps.global.lib.version>2.6</cps.global.lib.version> 48 <java.level>8</java.level> 49 </properties> 50 51 <dependencies> 52 53 <dependency> 54 <groupId>org.jenkins-ci.plugins</groupId> 55 <artifactId>sidebar-link</artifactId> 56 <version>1.9.1</version> 57 </dependency> 58 59 <dependency> 60 <groupId>org.jenkins-ci.plugins</groupId> 61 <artifactId>junit</artifactId> 62 <version>1.23</version> 63 </dependency> 64 65 <dependency> 66 <groupId>org.jenkins-ci.plugins.workflow</groupId> 67 <artifactId>workflow-aggregator</artifactId> 68 <version>${pipeline.version}</version> 69 </dependency> 70 71 <dependency> 72 <groupId>org.jenkins-ci.plugins.workflow</groupId> 73 <artifactId>workflow-cps-global-lib</artifactId> 74 <version>${cps.global.lib.version}</version> 75 </dependency> 76 77 <dependency> 78 <groupId>org.jenkins-ci.plugins.workflow</groupId> 79 <artifactId>workflow-api</artifactId> 80 <version>2.12</version> 81 </dependency> 82 83 <dependency> 84 <groupId>org.jenkins-ci.plugins.workflow</groupId> 85 <artifactId>workflow-support</artifactId> 86 <version>2.13</version> 87 </dependency> 88 89 <dependency> 90 <groupId>org.jenkins-ci.plugins</groupId> 91 <artifactId>pipeline-utility-steps</artifactId> 92 <version>1.3.0</version> 93 <scope>test</scope> 94 </dependency> 95 96 <dependency> 97 <groupId>org.jenkins-ci.plugins</groupId> 98 <artifactId>pipeline-github</artifactId> 99 <version>2.2</version> 100 </dependency> 101 102 <!--LesFurets Jenkins Pipeline Unit testing framework: https://github.com/lesfurets/JenkinsPipelineUnit--> 103 <dependency> 104 <groupId>com.lesfurets</groupId> 105 <artifactId>jenkins-pipeline-unit</artifactId> 106 <version>1.1</version> 107 <scope>test</scope> 108 </dependency> 109 <dependency> 110 <groupId>org.assertj</groupId> 111 <artifactId>assertj-core</artifactId> 112 <version>1.0.0</version> 113 <scope>test</scope> 114 </dependency> 115 <dependency> 116 <groupId>org.codehaus.groovy</groupId> 117 <artifactId>groovy-all</artifactId> 118 <!-- any version of Groovy \>= 1.5.0 should work here --> 119 <version>2.4.12</version> 120 </dependency> 121 <!-- https://mvnrepository.com/artifact/org.yaml/snakeyaml --> 122 <dependency> 123 <groupId>org.yaml</groupId> 124 <artifactId>snakeyaml</artifactId> 125 <version>1.26</version> 126 <scope>test</scope> 127 </dependency> 128 129 <dependency> 130 <groupId>org.springframework</groupId> 131 <artifactId>spring-context</artifactId> 132 <version>4.3.12.RELEASE</version> 133 <scope>test</scope> 134 </dependency> 135 <dependency> 136 <groupId>org.springframework</groupId> 137 <artifactId>spring-context-support</artifactId> 138 <version>4.3.10.RELEASE</version> 139 <scope>test</scope> 140 </dependency> 141 <dependency> 142 <groupId>org.springframework</groupId> 143 <artifactId>spring-test</artifactId> 144 <version>4.3.5.RELEASE</version> 145 <scope>test</scope> 146 </dependency> 147 148 <dependency> 149 <groupId>fr.opensagres.js</groupId> 150 <artifactId>minimatch.java</artifactId> 151 <version>1.1.0</version> 152 <scope>test</scope> 153 </dependency> 154 155 </dependencies> 156 <build> 157 <plugins> 158 <plugin> 159 <groupId>org.codehaus.mojo</groupId> 160 <artifactId>build-helper-maven-plugin</artifactId> 161 <version>1.12</version> 162 <executions> 163 <execution> 164 <id>add-groovy-sources</id> 165 <phase>generate-sources</phase> 166 <goals> 167 <goal>add-source</goal> 168 </goals> 169 <configuration> 170 <sources> 171 <source>src</source> 172 <source>vars</source> 173 </sources> 174 </configuration> 175 </execution> 176 <execution> 177 <id>add-groovy-test-sources</id> 178 <phase>generate-test-sources</phase> 179 <goals> 180 <goal>add-test-source</goal> 181 </goals> 182 <configuration> 183 <sources> 184 <source>test/groovy</source> 185 </sources> 186 </configuration> 187 </execution> 188 </executions> 189 </plugin> 190 <plugin> 191 <groupId>org.apache.maven.plugins</groupId> 192 <artifactId>maven-surefire-plugin</artifactId> 193 <version>2.19.1</version> 194 <configuration> 195 <testSourceDirectory>test/java</testSourceDirectory> 196 </configuration> 197 </plugin> 198 <plugin> 199 <artifactId>maven-compiler-plugin</artifactId> 200 <version>3.1</version> 201 <configuration> 202 <compilerId>groovy-eclipse-compiler</compilerId> 203 </configuration> 204 <dependencies> 205 <dependency> 206 <groupId>org.codehaus.groovy</groupId> 207 <artifactId>groovy-eclipse-compiler</artifactId> 208 <version>2.9.2-01</version> 209 </dependency> 210 <dependency> 211 <groupId>org.codehaus.groovy</groupId> 212 <artifactId>groovy-eclipse-batch</artifactId> 213 <version>2.4.3-01</version> 214 </dependency> 215 </dependencies> 216 </plugin> 217 <plugin> 218 <groupId>org.jacoco</groupId> 219 <artifactId>jacoco-maven-plugin</artifactId> 220 <version>0.8.0</version> 221 <executions> 222 <!-- UNIT TESTS --> 223 <!-- http://www.eclemma.org/jacoco/trunk/doc/maven.html 224 Default settings 225 propertyName: argLine 226 destFile: ${project.build.directory}/jacoco.exec 227 dataFile: ${project.build.directory}/jacoco.exec 228 outputDirectory: ${project.reporting.outputDirectory}/jacoco 229 --> 230 <!-- Prepares the property pointing to the JaCoCo runtime agent which is passed as VM argument when Maven the Surefire plugin is executed. --> 231 <execution> 232 <id>pre-unit-test</id> 233 <goals><goal>prepare-agent</goal></goals> 234 </execution> 235 <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run. --> 236 <execution> 237 <id>post-unit-test</id> 238 <phase>package</phase> 239 <goals><goal>report</goal></goals> 240 </execution> 241 <!-- INTEGRATION TESTS --> 242 <!-- http://www.eclemma.org/jacoco/trunk/doc/maven.html 243 Default settings 244 propertyName: argLine 245 destFile: ${project.build.directory}/jacoco-it.exec 246 dataFile: ${project.build.directory}/jacoco-it.exec 247 outputDirectory: ${project.reporting.outputDirectory}/jacoco-it 248 --> 249 <!-- Prepares the property pointing to the JaCoCo runtime agent which is passed as VM argument when Maven the Failsafe plugin is executed. --> 250 <execution> 251 <id>pre-integration-test</id> 252 <goals><goal>prepare-agent-integration</goal></goals> 253 </execution> 254 <!-- Ensures that the code coverage report for integration tests after integration tests have been run. --> 255 <execution> 256 <id>post-integration-test</id> 257 <goals><goal>report-integration</goal></goals> 258 </execution> 259 </executions> 260 </plugin> 261 </plugins> 262 </build> 263 </project>