Skip to content

Commit 0d719da

Browse files
committed
rework pom.xml + Dockerfile
1 parent f8889b1 commit 0d719da

File tree

2 files changed

+1
-27
lines changed

2 files changed

+1
-27
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ WORKDIR /usr/src/ecocode
66
RUN ./tool_build.sh
77

88
FROM sonarqube:10.1.0-community
9-
COPY --from=builder /usr/src/ecocode/lib/* /opt/sonarqube/extensions/plugins/
9+
COPY --from=builder /usr/src/ecocode/target/ecocode-*.jar /opt/sonarqube/extensions/plugins/

pom.xml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -119,32 +119,6 @@
119119
<artifactId>maven-compiler-plugin</artifactId>
120120
<version>3.11.0</version>
121121
</plugin>
122-
<plugin>
123-
<groupId>org.apache.maven.plugins</groupId>
124-
<artifactId>maven-dependency-plugin</artifactId>
125-
<version>3.6.0</version>
126-
<executions>
127-
<execution>
128-
<id>copy-bundle</id>
129-
<phase>package</phase>
130-
<goals>
131-
<goal>copy</goal>
132-
</goals>
133-
<configuration>
134-
<artifactItems>
135-
<artifactItem>
136-
<groupId>${project.groupId}</groupId>
137-
<artifactId>${project.artifactId}</artifactId>
138-
<version>${project.version}</version>
139-
<type>jar</type>
140-
<overWrite>true</overWrite>
141-
</artifactItem>
142-
</artifactItems>
143-
<outputDirectory>../lib</outputDirectory>
144-
</configuration>
145-
</execution>
146-
</executions>
147-
</plugin>
148122
<plugin>
149123
<groupId>org.apache.maven.plugins</groupId>
150124
<artifactId>maven-surefire-plugin</artifactId>

0 commit comments

Comments
 (0)