|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + <groupId>fr.cnes.sonarqube.plugins</groupId> |
| 6 | + <artifactId>sonar-icode-plugin</artifactId> |
| 7 | + <packaging>sonar-plugin</packaging> |
| 8 | + <version>0.0.1-SNAPSHOT</version> |
| 9 | + <name>ICode</name> |
| 10 | + |
| 11 | + <description>ICode plugin for Sonarqube</description> |
| 12 | + <!-- TBC : is it the right repository ? --> |
| 13 | + <url>https://github.com/dupuisa/sonar-icode-plugin</url> |
| 14 | + <inceptionYear>2017</inceptionYear> |
| 15 | + |
| 16 | + <!-- TBD : Apache license ? (Sonarqube update center required a FLOSS one --> |
| 17 | + <licenses> |
| 18 | + <license> |
| 19 | + <name>Apache License, Version 2.0</name> |
| 20 | + <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 21 | + <distribution>repo</distribution> |
| 22 | + <comments>A business-friendly OSS license</comments> |
| 23 | + </license> |
| 24 | + </licenses> |
| 25 | + |
| 26 | + <!-- optional --> |
| 27 | + <organization> |
| 28 | + <name>CNES</name> |
| 29 | + <url>http://cnes.fr</url> |
| 30 | + </organization> |
| 31 | + |
| 32 | + <developers> |
| 33 | + <developer> |
| 34 | + <name>Cyrille Francois</name> |
| 35 | + <url>https://github.com/CfrancCyrille</url> |
| 36 | + <id>CfrancCyrille</id> |
| 37 | + </developer> |
| 38 | + <developer> |
| 39 | + <name>Nicolas Métivier</name> |
| 40 | + <url>https://github.com/AT-NicolasMetivier</url> |
| 41 | + <id>AT-NicolasMetivier</id> |
| 42 | + </developer> |
| 43 | + </developers> |
| 44 | + |
| 45 | + <properties> |
| 46 | + <jdk.version>1.8</jdk.version> |
| 47 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 48 | + <sonarqube.version>5.6</sonarqube.version> |
| 49 | + <slf4j.version>1.7.25</slf4j.version> |
| 50 | + <junit.version>4.12</junit.version> |
| 51 | + <project.key>icode</project.key> |
| 52 | + </properties> |
| 53 | + |
| 54 | + <dependencies> |
| 55 | + <dependency> |
| 56 | + <groupId>org.sonarsource.sonarqube</groupId> |
| 57 | + <artifactId>sonar-plugin-api</artifactId> |
| 58 | + <version>${sonarqube.version}</version> |
| 59 | + <scope>provided</scope> |
| 60 | + </dependency> |
| 61 | + |
| 62 | + <!-- unit tests --> |
| 63 | + <dependency> |
| 64 | + <groupId>junit</groupId> |
| 65 | + <artifactId>junit</artifactId> |
| 66 | + <version>${junit.version}</version> |
| 67 | + <scope>test</scope> |
| 68 | + </dependency> |
| 69 | + </dependencies> |
| 70 | + |
| 71 | + <build> |
| 72 | + <plugins> |
| 73 | + <plugin> |
| 74 | + <groupId>org.sonarsource.sonar-packaging-maven-plugin</groupId> |
| 75 | + <artifactId>sonar-packaging-maven-plugin</artifactId> |
| 76 | + <version>1.17</version> |
| 77 | + <extensions>true</extensions> |
| 78 | + <configuration> |
| 79 | + <pluginClass>fr.cnes.sonarqube.plugins.icode.ICodePlugin</pluginClass> |
| 80 | + <pluginKey>${project.key}</pluginKey> |
| 81 | + <pluginName>${project.name}</pluginName> |
| 82 | + <pluginDescription>${project.description}</pluginDescription> |
| 83 | + </configuration> |
| 84 | + </plugin> |
| 85 | + <plugin> |
| 86 | + <groupId>org.apache.maven.plugins</groupId> |
| 87 | + <artifactId>maven-compiler-plugin</artifactId> |
| 88 | + <version>3.6.2</version> |
| 89 | + <configuration> |
| 90 | + <source>${jdk.version}</source> |
| 91 | + <target>${jdk.version}</target> |
| 92 | + <encoding>${project.build.sourceEncoding}</encoding> |
| 93 | + </configuration> |
| 94 | + </plugin> |
| 95 | + </plugins> |
| 96 | + </build> |
| 97 | +</project> |
0 commit comments