Skip to content

Commit

Permalink
CHANGELOG update + upgrade ecocode-rules-spec to 1.4.6 + rework on po…
Browse files Browse the repository at this point in the history
…m.xml + Dockerfile
  • Loading branch information
dedece35 committed Jan 4, 2024
1 parent 011c212 commit 10faf2d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 25 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Update ecocode-rules-specifications to 1.4.4
- Update ecocode-rules-specifications to 1.4.6

### Deleted

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ WORKDIR /usr/src/ecocode
RUN ./tool_build.sh

FROM sonarqube:10.3.0-community
COPY --from=builder /usr/src/ecocode/target/ecocode-java-plugin-*.jar /opt/sonarqube/extensions/plugins/
COPY --from=builder /usr/src/ecocode/target/ecocode-*.jar /opt/sonarqube/extensions/plugins/
32 changes: 9 additions & 23 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<google.re2j>1.7</google.re2j>

<!-- temporary version waiting for real automatic release in ecocode repository -->
<ecocode-rules-specifications.version>1.4.4</ecocode-rules-specifications.version>
<ecocode-rules-specifications.version>1.4.6</ecocode-rules-specifications.version>

</properties>

Expand Down Expand Up @@ -163,7 +163,6 @@
</execution>
<execution>
<id>report</id>
<!-- <phase>test</phase>-->
<goals>
<goal>report</goal>
</goals>
Expand Down Expand Up @@ -224,10 +223,15 @@
<createDependencyReducedPom>false</createDependencyReducedPom>
<filters>
<filter>
<artifact>org.*:*</artifact>
<artifact>org.sonarsource.analyzer-commons:sonar-analyzer-commons:*</artifact>
<excludes>
<exclude>META-INF/**</exclude>
</excludes>
</filter>
<filter>
<artifact>com.google.re2j:re2j:*</artifact>
<excludes>
<exclude>META-INF/**</exclude>
<exclude>javax/annotation/**</exclude>
</excludes>
</filter>
<filter>
Expand All @@ -246,25 +250,7 @@
<artifactId>maven-dependency-plugin</artifactId>
<version>3.6.0</version>
<executions>
<execution>
<id>copy-bundle</id>
<phase>package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
</artifactItem>
</artifactItems>
<outputDirectory>../lib</outputDirectory>
</configuration>
</execution>
<!-- only for unit tests ("test-jars" directory used in classpath) -->
<execution>
<id>copy</id>
<phase>test-compile</phase>
Expand Down

0 comments on commit 10faf2d

Please sign in to comment.