Skip to content

Commit 506de75

Browse files
committed
Remove outdated invoker conditions
1 parent 277a725 commit 506de75

File tree

20 files changed

+9
-29
lines changed

20 files changed

+9
-29
lines changed

src/it/MPMD-165/invoker.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@
1616
# under the License.
1717

1818
invoker.goals = clean pmd:pmd
19-
invoker.maven.version = 3+

src/it/MPMD-182/invoker.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@
1616
# under the License.
1717

1818
invoker.goals = clean verify pmd:pmd
19-
invoker.java.version = 1.8+

src/it/MPMD-206-sourceDirectories-js/invoker.properties

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,3 @@
1616
# under the License.
1717

1818
invoker.goals = clean verify
19-
20-
# This test requires at least maven 3.3.9 or later (https://issues.apache.org/jira/browse/MNG-5440)
21-
invoker.maven.version = 3.3.9+

src/it/MPMD-219-pmd-processing-error/invoker.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@
1717

1818
invoker.goals = clean pmd:check
1919
invoker.buildResult = failure
20-
invoker.maven.version = 3+

src/it/MPMD-244-logging/invoker.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@
1616
# under the License.
1717

1818
invoker.goals = clean pmd:check
19-
invoker.maven.version = 3.1.0+
2019
invoker.debug = true

src/it/MPMD-244-logging/verify.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ assert 1 == buildLog.text.count( "${enabledPath}: ParseException: Parse exceptio
3131
// build.log contains the logging from the two PMD executions
3232
// only one execution has logging enabled, so we expect only one log output
3333
assert 1 == buildLog.text.count( "[DEBUG] Rules loaded from" )
34-
// with --debug switch or -X the logging is always enabled and can't be disabled , because PMD 7 switched to slf4j
34+
// with --debug switch or -X the logging is always enabled and can't be disabled because PMD 7 switched to slf4j

src/it/MPMD-258-multiple-executions/invoker.properties

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,5 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
invoker.debug = true
1918
invoker.goals = clean compile pmd:pmd
20-
invoker.maven.version = 3.1.0+
19+
invoker.debug = true

src/it/MPMD-258-multiple-executions/verify.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ assert buildLog.exists()
2222

2323
// we have 2 modules and for each module this should be output once
2424
// note: this is only logged in debug mode by net.sourceforge.pmd.cache.FileAnalysisCache
25-
assert 2 == buildLog.text.count( "Analysis cache created" )
25+
assert 2 == buildLog.text.count( "[DEBUG] Analysis cache created" )
2626

2727
// since we are running clean pmd:pmd, the cache is always created, never updated
2828
// note: this is only logged in debug mode by net.sourceforge.pmd.cache.FileAnalysisCache
29-
assert 0 == buildLog.text.count( "Analysis cache updated" )
29+
assert 0 == buildLog.text.count( "[DEBUG] Analysis cache updated" )

src/it/MPMD-266-typeresolution-aggregated/invoker.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@
1717

1818
invoker.goals = clean verify
1919
invoker.goals.2 = verify site -DskipTests
20-
invoker.maven.version = 3+

src/it/MPMD-268-deprecated-rules/invoker.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@
1616
# under the License.
1717

1818
invoker.goals = clean verify
19-
invoker.maven.version = 3.1.0+
2019
invoker.debug = false

src/it/MPMD-277-multi-module-check/invoker.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@
1717

1818
invoker.goals = clean package
1919
invoker.goals.2 = verify
20-
invoker.maven.version = 3+

src/it/MPMD-283-aggregated-pmd/invoker.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@
1616
# under the License.
1717

1818
invoker.goals = clean verify site
19-
invoker.maven.version = 3+

src/it/MPMD-317-auxclasspath-provided/invoker.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@
1717

1818
invoker.goals = clean verify
1919
invoker.goals.2 = clean verify -Daggregate=true
20-
invoker.maven.version = 3+
2120
invoker.debug = true

src/it/MPMD-317-auxclasspath-provided/verify.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ for ( String line : buildLog.readLines() ) {
3030
// convert windows path names
3131
auxclasspathLog = auxclasspathLog.replaceAll('\\\\', '/')
3232

33-
assert 1 == auxclasspathLog.count( 'Using aux classpath:' )
34-
assert 1 == auxclasspathLog.count( 'Using aggregated aux classpath:' )
33+
assert 1 == auxclasspathLog.count( '[DEBUG] Using aux classpath:' )
34+
assert 1 == auxclasspathLog.count( '[DEBUG] Using aggregated aux classpath:' )
3535

3636
assert 2 == auxclasspathLog.count( 'module-a/target/classes' )
3737

src/it/MPMD-318-auxclasspath-includeTests/invoker.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@
1717

1818
invoker.goals = clean verify
1919
invoker.goals.2 = clean verify -Daggregate=true
20-
invoker.maven.version = 3+
2120
invoker.debug = true

src/it/MPMD-318-auxclasspath-includeTests/verify.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ for ( String line : buildLog.readLines() ) {
3030
// convert windows path names
3131
auxclasspathLog = auxclasspathLog.replaceAll('\\\\', '/')
3232

33-
assert 1 == auxclasspathLog.count( 'Using aux classpath:' )
34-
assert 1 == auxclasspathLog.count( 'Using aggregated aux classpath:' )
33+
assert 1 == auxclasspathLog.count( '[DEBUG] Using aux classpath:' )
34+
assert 1 == auxclasspathLog.count( '[DEBUG] Using aggregated aux classpath:' )
3535

3636
assert 2 == auxclasspathLog.count( 'module-a/target/test-classes' )
3737
assert 2 == auxclasspathLog.count( 'module-a/target/classes' )

src/it/MPMD-323-multi-module-basedir/invoker.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@
1616
# under the License.
1717

1818
invoker.goals = clean verify
19-
invoker.maven.version = 3+

src/it/MPMD-323-ruleset-basedir-jgitver/invoker.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@
1616
# under the License.
1717

1818
invoker.goals = clean verify
19-
invoker.maven.version = 3+
2019
invoker.java.version = 11+

src/it/MPMD-89-232-typeresolution/invoker.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@
1717

1818
invoker.goals = clean test-compile
1919
invoker.buildResult = failure
20-
invoker.maven.version = 3+

src/it/empty-rulesets/invoker.properties

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,4 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
# with Maven 2.x, configuring rulesets parameter to empty value results to default value
19-
invoker.maven.version = 3.0-alpha+
20-
21-
invoker.goals = clean verify
18+
invoker.goals = clean verify

0 commit comments

Comments
 (0)