Skip to content

Commit

Permalink
Get rid of security alerts (#190)
Browse files Browse the repository at this point in the history
This is cosmetic only (no plugin code or dependency change),
as ITs contains POMs with old dependencies that do trigger
security alerts (despite they are harmless). Get rid of them
as they look bad.
  • Loading branch information
cstamas committed Jun 13, 2023
1 parent d3dd181 commit fc0f784
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/it/projects/MSHADE-105/bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ under the License.
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.1.0</version>
<version>5.1.9</version>
<extensions>true</extensions>
<configuration>
<instructions>
Expand Down
2 changes: 1 addition & 1 deletion src/it/projects/MSHADE-105/shaded-jar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ under the License.
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>1.4</version>
<version>2.13.0</version>
</dependency>
</dependencies>
<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ under the License.
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.2</version>
<version>4.13.2</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>1.4.1</version>
<version>3.5.1</version>
</dependency>
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ import org.codehaus.plexus.util.*;
String[] wanted =
{
"com/example/Main.class",
"junit/swingui/icons/error.gif",
"junit/runner/logo.gif",
"com/example/shaded/org/codehaus/plexus/util/StringUtils.class",
};

String[] unwanted =
{
"junit/swingui/TestRunner.class",
"junit/textui/TestRunner.class",
"org/codehaus/plexus/util/StringUtils.class",
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ under the License.
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>1.4</version>
<version>2.13.0</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
Expand Down
8 changes: 4 additions & 4 deletions src/it/projects/mini-jar-respect-includes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ under the License.
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.2</version>
<version>4.13.2</version>
</dependency>

<dependency>
<groupId>org.jdom</groupId>
<artifactId>jdom</artifactId>
<version>2.0.2</version>
<artifactId>jdom2</artifactId>
<version>2.0.6.1</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -86,7 +86,7 @@ under the License.
</filter>
<!-- make sure that include patterns only affect their specified artifacts -->
<filter>
<artifact>org.jdom:jdom</artifact>
<artifact>org.jdom:jdom2</artifact>
<includes>
<include>**</include>
</includes>
Expand Down
5 changes: 2 additions & 3 deletions src/it/projects/mini-jar-respect-includes/verify.bsh
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,13 @@ String[] wanted =
{
"Main.class",
"junit/framework/TestCase.class",
"junit/swingui/icons/error.gif",
"junit/awtui/TestRunner.class",
"junit/runner/logo.gif",
"junit/framework/Assert.class",
"org/jdom2/Document.class"
};

String[] unwanted =
{
"junit/swingui/TestRunner.class",
"junit/textui/TestRunner.class",
"org/objectweb/asm/Type.class"
};
Expand Down
4 changes: 2 additions & 2 deletions src/it/projects/project-with-reactors-included/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ under the License.
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -62,4 +62,4 @@ under the License.
<module>two</module>
</modules>

</project>
</project>
2 changes: 1 addition & 1 deletion src/it/projects/shading-with-java-8-sources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ under the License.
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.7</version>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion src/it/projects/shading-with-release-sources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ under the License.
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.7</version>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion src/it/projects/users-shader-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ under the License.
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.7</version>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down

0 comments on commit fc0f784

Please sign in to comment.