Skip to content

Commit 2660e16

Browse files
committed
[MCOMPILER-381] - Refactor incremental detection
Signed-off-by: Jorge Solórzano <[email protected]>
1 parent b225b1c commit 2660e16

File tree

4 files changed

+172
-109
lines changed

4 files changed

+172
-109
lines changed

pom.xml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,6 @@ under the License.
8484
<invoker.junitPackageName>org.apache.maven.plugins.compiler.its</invoker.junitPackageName>
8585
</properties>
8686

87-
<dependencyManagement>
88-
<dependencies>
89-
<dependency>
90-
<!-- to remove with plexus-java upgrade -->
91-
<groupId>com.thoughtworks.qdox</groupId>
92-
<artifactId>qdox</artifactId>
93-
<version>2.0.3</version>
94-
</dependency>
95-
</dependencies>
96-
</dependencyManagement>
9787
<dependencies>
9888
<dependency>
9989
<groupId>org.apache.maven.plugin-tools</groupId>
@@ -123,6 +113,12 @@ under the License.
123113
<groupId>org.apache.maven.shared</groupId>
124114
<artifactId>maven-shared-utils</artifactId>
125115
<version>3.3.4</version>
116+
<exclusions>
117+
<exclusion>
118+
<groupId>commons-io</groupId>
119+
<artifactId>commons-io</artifactId>
120+
</exclusion>
121+
</exclusions>
126122
</dependency>
127123
<dependency>
128124
<groupId>org.apache.maven.shared</groupId>

src/it/MCOMPILER-275_separate-moduleinfo/verify.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def log = new File( basedir, 'build.log').text
2020

2121
assert log.count( "[INFO] Toolchain in maven-compiler-plugin: JDK" ) == 1
2222

23-
assert log.count( "[INFO] Changes detected - recompiling the module!" ) == 3
23+
assert log.count( "[INFO] Changes detected - recompiling the module" ) == 3
2424

2525
// major_version: 52 = java8 -> execution id "base-compile"
2626
assert new File( basedir, 'target/classes/com/foo/MyClass.class' ).bytes[7] == 52

src/it/MCOMPILER-500-package-info-incr/verify.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def logFile = new File( basedir, 'build.log' )
2020
assert logFile.exists()
2121
content = logFile.text
2222

23-
assert 1 == content.count( 'Changes detected - recompiling the module!' )
23+
assert 1 == content.count( 'Changes detected - recompiling the module' )
2424
assert 1 == content.count( 'Nothing to compile - all classes are up to date' )
2525

2626

0 commit comments

Comments
 (0)