-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to codehaus plexus-build-api 1.2.0 (#345)
- Loading branch information
Showing
9 changed files
with
27 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,14 +43,14 @@ | |
import org.codehaus.modello.model.Version; | ||
import org.codehaus.plexus.PlexusConstants; | ||
import org.codehaus.plexus.PlexusContainer; | ||
import org.codehaus.plexus.build.BuildContext; | ||
import org.codehaus.plexus.component.repository.exception.ComponentLookupException; | ||
import org.codehaus.plexus.context.Context; | ||
import org.codehaus.plexus.context.ContextException; | ||
import org.codehaus.plexus.logging.AbstractLogEnabled; | ||
import org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable; | ||
import org.codehaus.plexus.util.StringUtils; | ||
import org.codehaus.plexus.util.io.CachingWriter; | ||
import org.sonatype.plexus.build.incremental.BuildContext; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Jason van Zyl</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,8 +41,8 @@ | |
import org.codehaus.modello.core.ModelloCore; | ||
import org.codehaus.modello.model.Model; | ||
import org.codehaus.modello.model.ModelValidationException; | ||
import org.codehaus.plexus.build.BuildContext; | ||
import org.codehaus.plexus.util.StringUtils; | ||
import org.sonatype.plexus.build.incremental.BuildContext; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Trygve Laugstøl</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,9 +26,10 @@ | |
import java.util.Arrays; | ||
|
||
import org.codehaus.modello.core.ModelloCore; | ||
import org.codehaus.plexus.ContainerConfiguration; | ||
import org.codehaus.plexus.PlexusTestCase; | ||
import org.codehaus.plexus.build.BuildContext; | ||
import org.codehaus.plexus.util.FileUtils; | ||
import org.sonatype.plexus.build.incremental.BuildContext; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Brett Porter</a> | ||
|
@@ -98,4 +99,9 @@ public void testModelloConvertersMojo() throws Exception { | |
|
||
assertFalse("The generated java file doesn't exist: '" + javaFile.getAbsolutePath() + "'.", javaFile.exists()); | ||
} | ||
|
||
@Override | ||
protected void customizeContainerConfiguration(ContainerConfiguration containerConfiguration) { | ||
containerConfiguration.setClassPathScanning("cache"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,9 +26,10 @@ | |
import java.util.Arrays; | ||
|
||
import org.codehaus.modello.core.ModelloCore; | ||
import org.codehaus.plexus.ContainerConfiguration; | ||
import org.codehaus.plexus.PlexusTestCase; | ||
import org.codehaus.plexus.build.BuildContext; | ||
import org.codehaus.plexus.util.FileUtils; | ||
import org.sonatype.plexus.build.incremental.BuildContext; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Trygve Laugstøl</a> | ||
|
@@ -96,4 +97,9 @@ public void testModelloJavaMojo() throws Exception { | |
assertFalse( | ||
"The generated java file shouldn't exist: '" + javaFile.getAbsolutePath() + "'.", javaFile.exists()); | ||
} | ||
|
||
@Override | ||
protected void customizeContainerConfiguration(ContainerConfiguration containerConfiguration) { | ||
containerConfiguration.setClassPathScanning("cache"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters