Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ under the License.
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-dependency-analyzer</artifactId>
<version>1.15.1</version>
<version>1.16.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven.shared</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@

<dependencies>
<dependency>
<groupId>net.java.dev.msv</groupId>
<artifactId>xsdlib</artifactId>
<version>2022.7</version>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-shared-utils</artifactId>
<version>3.4.2</version>
</dependency>
</dependencies>
<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@

public class Project
{
public static final Class CLASS_REF = org.apache.xmlcommons.Version.class;
public static final Class CLASS_REF = org.apache.commons.io.IOUtils.class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ String log = FileUtils.fileRead( new File( basedir, "build.log" ) );
log = StringUtils.unifyLineSeparators(log, "\n");

String expected = "[WARNING] Used undeclared dependencies found:\n" +
"[WARNING] xml-apis:xml-apis:jar:1.4.01:compile\n" +
"[WARNING] class org.apache.xmlcommons.Version\n" +
"[WARNING] commons-io:commons-io:jar:2.11.0:compile\n" +
"[WARNING] class org.apache.commons.io.IOUtils\n" +
"[WARNING] Unused declared dependencies found:\n" +
"[WARNING] net.java.dev.msv:xsdlib:jar:2022.7:compile";
"[WARNING] org.apache.maven.shared:maven-shared-utils:jar:3.4.2:compile";

if ( !log.contains(expected) )
{
Expand Down
Loading