|
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
3 | 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
4 | 4 | <modelVersion>4.0.0</modelVersion>
|
5 |
| - <groupId>fr.cnes.sonarqube.plugins</groupId> |
6 |
| - <artifactId>sonaricode</artifactId> |
| 5 | + |
| 6 | + <groupId>fr.cnes.sonar.plugins</groupId> |
| 7 | + <artifactId>sonar-icode-cnes-plugin</artifactId> |
7 | 8 | <packaging>sonar-plugin</packaging>
|
8 |
| - <version>1.1.0</version> |
| 9 | + <version>1.2.0-dev</version> |
| 10 | + |
9 | 11 | <name>Sonar i-Code CNES plugin</name>
|
10 | 12 |
|
11 | 13 | <description>i-Code CNES plugin for SonarQube</description>
|
|
27 | 29 | </organization>
|
28 | 30 |
|
29 | 31 | <developers>
|
30 |
| - <developer> |
31 |
| - <name>Cyrille Francois</name> |
32 |
| - <url>https://github.com/CfrancCyrille</url> |
33 |
| - <id>CfrancCyrille</id> |
34 |
| - </developer> |
35 |
| - <developer> |
36 |
| - <name>Nicolas Métivier</name> |
37 |
| - <url>https://github.com/AT-NicolasMetivier</url> |
38 |
| - <id>AT-NicolasMetivier</id> |
39 |
| - </developer> |
40 | 32 | <developer>
|
41 | 33 | <name>Benoît Garçon</name>
|
42 | 34 | <organization>CNES</organization>
|
|
52 | 44 | </developers>
|
53 | 45 |
|
54 | 46 | <properties>
|
55 |
| - <jdk.version>1.8</jdk.version> |
56 | 47 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
| 48 | + <jdk.version>1.8</jdk.version> |
| 49 | + <jdk.min.version>1.8</jdk.min.version> |
| 50 | + <jdk.max.version>1.8</jdk.max.version> |
| 51 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 52 | + <maven.compiler.target>1.8</maven.compiler.target> |
57 | 53 | <sonar.apiVersion>6.7.1</sonar.apiVersion>
|
| 54 | + <sonar.sslr-squid-bridge.version>2.6.1</sonar.sslr-squid-bridge.version> |
| 55 | + <sonar-packaging-maven-plugin.version>1.17</sonar-packaging-maven-plugin.version> |
| 56 | + <commons-lang.version>3.7</commons-lang.version> |
| 57 | + <gson.version>2.8.2</gson.version> |
58 | 58 | <slf4j.version>1.7.25</slf4j.version>
|
59 | 59 | <junit.version>4.12</junit.version>
|
60 |
| - <project.key>icode</project.key> |
| 60 | + <jacoco.version>0.8.0</jacoco.version> |
| 61 | + <sonar.pluginKey>sonaricode</sonar.pluginKey> |
| 62 | + <sonar.pluginClass>fr.cnes.sonar.plugins.icode.ICodePlugin</sonar.pluginClass> |
| 63 | + <sonar.pluginUrl>https://github.com/lequal/sonar-icode-cnes-plugin</sonar.pluginUrl> |
| 64 | + <sonar.pluginOrganizationName>CNES</sonar.pluginOrganizationName> |
61 | 65 | <sonar.sources>src/main/java</sonar.sources>
|
62 | 66 | <sonar.test>src/test/java</sonar.test>
|
63 | 67 | </properties>
|
64 | 68 |
|
| 69 | + <repositories> |
| 70 | + <repository> |
| 71 | + <id>jitpack.io</id> |
| 72 | + <url>https://jitpack.io</url> |
| 73 | + </repository> |
| 74 | + </repositories> |
| 75 | + |
65 | 76 | <dependencies>
|
66 | 77 | <dependency>
|
67 | 78 | <groupId>org.sonarsource.sonarqube</groupId>
|
|
70 | 81 | <scope>provided</scope>
|
71 | 82 | </dependency>
|
72 | 83 | <dependency>
|
73 |
| - <!-- packaged with the plugin --> |
| 84 | + <groupId>com.github.Facthunder.i-CodeCNES</groupId> |
| 85 | + <artifactId>icode-library</artifactId> |
| 86 | + <version>3.2.0-dev-RC2</version> |
| 87 | + </dependency> |
| 88 | + <dependency> |
74 | 89 | <groupId>commons-lang</groupId>
|
75 | 90 | <artifactId>commons-lang</artifactId>
|
76 | 91 | <version>2.6</version>
|
|
98 | 113 |
|
99 | 114 | <build>
|
100 | 115 | <plugins>
|
101 |
| - <plugin> |
102 |
| - <groupId>org.jacoco</groupId> |
103 |
| - <artifactId>jacoco-maven-plugin</artifactId> |
104 |
| - <version>0.7.6.201602180812</version> |
105 |
| - <executions> |
106 |
| - <execution> |
107 |
| - <id>prepare-agent</id> |
108 |
| - <goals> |
109 |
| - <goal>prepare-agent</goal> |
110 |
| - </goals> |
111 |
| - </execution> |
112 |
| - </executions> |
113 |
| - </plugin> |
| 116 | + |
114 | 117 | <plugin>
|
115 | 118 | <groupId>org.sonarsource.sonar-packaging-maven-plugin</groupId>
|
116 | 119 | <artifactId>sonar-packaging-maven-plugin</artifactId>
|
117 |
| - <version>1.17</version> |
| 120 | + <version>${sonar-packaging-maven-plugin.version}</version> |
118 | 121 | <extensions>true</extensions>
|
119 |
| - <configuration> |
120 |
| - <pluginClass>fr.cnes.sonar.plugins.icode.ICodePlugin</pluginClass> |
121 |
| - <pluginKey>${project.key}</pluginKey> |
122 |
| - <pluginName>${project.name}</pluginName> |
123 |
| - <pluginDescription>${project.description}</pluginDescription> |
124 |
| - </configuration> |
125 | 122 | </plugin>
|
| 123 | + |
126 | 124 | <plugin>
|
127 | 125 | <groupId>org.apache.maven.plugins</groupId>
|
128 | 126 | <artifactId>maven-compiler-plugin</artifactId>
|
129 |
| - <version>3.6.2</version> |
| 127 | + <version>3.5.1</version> |
130 | 128 | <configuration>
|
131 |
| - <source>${jdk.version}</source> |
132 |
| - <target>${jdk.version}</target> |
133 |
| - <encoding>${project.build.sourceEncoding}</encoding> |
| 129 | + <source>${jdk.min.version}</source> |
| 130 | + <target>${jdk.min.version}</target> |
134 | 131 | </configuration>
|
135 | 132 | </plugin>
|
| 133 | + |
136 | 134 | <plugin>
|
137 |
| - <!-- UTF-8 bundles are not supported by Java, so they must be converted |
138 |
| - during build --> |
| 135 | + <!-- UTF-8 bundles are not supported by Java, so they must be converted during build --> |
139 | 136 | <groupId>org.codehaus.mojo</groupId>
|
140 | 137 | <artifactId>native2ascii-maven-plugin</artifactId>
|
141 | 138 | <version>1.0-beta-1</version>
|
|
147 | 144 | </execution>
|
148 | 145 | </executions>
|
149 | 146 | </plugin>
|
| 147 | + |
| 148 | + <plugin> |
| 149 | + <groupId>org.apache.maven.plugins</groupId> |
| 150 | + <artifactId>maven-project-info-reports-plugin</artifactId> |
| 151 | + <version>2.9</version> |
| 152 | + <configuration> |
| 153 | + <dependencyLocationsEnabled>false</dependencyLocationsEnabled> |
| 154 | + </configuration> |
| 155 | + </plugin> |
| 156 | + |
| 157 | + <plugin> |
| 158 | + <groupId>org.jacoco</groupId> |
| 159 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 160 | + <version>${jacoco.version}</version> |
| 161 | + <executions> |
| 162 | + <execution> |
| 163 | + <id>prepare-agent</id> |
| 164 | + <goals> |
| 165 | + <goal>prepare-agent</goal> |
| 166 | + </goals> |
| 167 | + </execution> |
| 168 | + <execution> |
| 169 | + <id>report</id> |
| 170 | + <phase>prepare-package</phase> |
| 171 | + <goals> |
| 172 | + <goal>report</goal> |
| 173 | + </goals> |
| 174 | + </execution> |
| 175 | + <execution> |
| 176 | + <id>post-unit-test</id> |
| 177 | + <phase>test</phase> |
| 178 | + <goals> |
| 179 | + <goal>report</goal> |
| 180 | + </goals> |
| 181 | + <configuration> |
| 182 | + <!-- Sets the path to the file which contains the execution data. --> |
| 183 | + <dataFile>target/jacoco.exec</dataFile> |
| 184 | + <!-- Sets the output directory for the code coverage report. --> |
| 185 | + <outputDirectory>target/jacoco-ut</outputDirectory> |
| 186 | + </configuration> |
| 187 | + </execution> |
| 188 | + </executions> |
| 189 | + </plugin> |
| 190 | + |
150 | 191 | </plugins>
|
151 | 192 | </build>
|
152 | 193 | </project>
|
0 commit comments