Skip to content

Commit

Permalink
Merge pull request #5152 from jeremylong/mavenCompatability
Browse files Browse the repository at this point in the history
fix: maven compatability
  • Loading branch information
aikebah committed Dec 23, 2022
2 parents fcb1720 + f8933e4 commit 84ff956
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 24 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -252,13 +252,13 @@ mvn -s settings.xml install
Running dependency-check on dependency-check
--------------------------------------------

Dependency-check references several vulnerables dependencies that are never used
Dependency-check references several vulnerable dependencies that are never used
except as test resources. All of these optional test dependencies are included in
the `test-dependencies` profile. To run dependency-check against itself simple
exclude the `test-dependencies` profile;
exclude the `test-dependencies` profile:

```shell
mvn org.owasp:dependency-check-maven:aggregate -P-test-dependencies
mvn org.owasp:dependency-check-maven:aggregate -P-test-dependencies -DskipProvidedScope=true
```

Building the documentation
Expand Down
3 changes: 0 additions & 3 deletions maven/pom.xml
Expand Up @@ -175,9 +175,6 @@ Copyright (c) 2013 Jeremy Long. All Rights Reserved.
<name>releaseTesting</name>
</property>
</activation>
<properties>
<maven.api.version>3.1.0</maven.api.version>
</properties>
<build>
<plugins>
<plugin>
Expand Down
19 changes: 1 addition & 18 deletions pom.xml
Expand Up @@ -124,8 +124,7 @@ Copyright (c) 2012 - Jeremy Long
<slf4j.version>1.7.36</slf4j.version>
<logback.version>1.2.11</logback.version>

<!-- moved maven.api.version to the profile section -->
<!--maven.api.version>3.8.1</maven.api.version-->
<maven.api.version>3.1.0</maven.api.version>
<reporting.checkstyle-plugin.version>3.2.0</reporting.checkstyle-plugin.version>
<reporting.checkstyle.tool.version>9.3</reporting.checkstyle.tool.version>
<doxia-module-markdown.version>1.11.1</doxia-module-markdown.version>
Expand Down Expand Up @@ -1380,22 +1379,6 @@ Copyright (c) 2012 - Jeremy Long
</dependency>
</dependencies>
<profiles>
<profile>
<id>standard</id>
<!--
`releaseTesting` is used in the maven/pom.xml and downgrades the
Maven API to 3.1.0 during full refression testing to ensure that
no new Maven APIs were used and we maintain compatability with 3.1.
-->
<activation>
<property>
<name>!releaseTesting</name>
</property>
</activation>
<properties>
<maven.api.version>3.8.6</maven.api.version>
</properties>
</profile>
<profile>
<id>release</id>
<activation>
Expand Down

0 comments on commit 84ff956

Please sign in to comment.