File tree Expand file tree Collapse file tree 9 files changed +27
-9
lines changed
src/main/java/org/codehaus/modello/plugin
main/java/org/codehaus/modello/maven
test/java/org/codehaus/modello/maven
modello-plugins/modello-plugin-java
modello-test/src/main/java/org/codehaus/modello Expand file tree Collapse file tree 9 files changed +27
-9
lines changed Original file line number Diff line number Diff line change 15
15
16
16
<dependencies >
17
17
<dependency >
18
- <groupId >org.sonatype .plexus</groupId >
18
+ <groupId >org.codehaus .plexus</groupId >
19
19
<artifactId >plexus-build-api</artifactId >
20
20
</dependency >
21
21
<dependency >
Original file line number Diff line number Diff line change 44
44
import org .codehaus .plexus .PlexusConstants ;
45
45
import org .codehaus .plexus .PlexusContainer ;
46
46
import org .codehaus .plexus .util .io .CachingWriter ;
47
- import org .sonatype .plexus .build . incremental .BuildContext ;
47
+ import org .codehaus .plexus .build .BuildContext ;
48
48
import org .codehaus .plexus .component .repository .exception .ComponentLookupException ;
49
49
import org .codehaus .plexus .context .Context ;
50
50
import org .codehaus .plexus .context .ContextException ;
Original file line number Diff line number Diff line change 123
123
<artifactId >modello-plugin-velocity</artifactId >
124
124
</dependency >
125
125
<dependency >
126
- <groupId >org.sonatype .plexus</groupId >
126
+ <groupId >org.codehaus .plexus</groupId >
127
127
<artifactId >plexus-build-api</artifactId >
128
128
</dependency >
129
129
</dependencies >
Original file line number Diff line number Diff line change 42
42
import org .codehaus .modello .model .Model ;
43
43
import org .codehaus .modello .model .ModelValidationException ;
44
44
import org .codehaus .plexus .util .StringUtils ;
45
- import org .sonatype .plexus .build . incremental .BuildContext ;
45
+ import org .codehaus .plexus .build .BuildContext ;
46
46
47
47
/**
48
48
* @author <a href="mailto:[email protected] ">Trygve Laugstøl</a>
Original file line number Diff line number Diff line change 23
23
*/
24
24
25
25
import org .codehaus .modello .core .ModelloCore ;
26
+ import org .codehaus .plexus .ContainerConfiguration ;
26
27
import org .codehaus .plexus .PlexusTestCase ;
27
- import org .sonatype .plexus .build . incremental .BuildContext ;
28
+ import org .codehaus .plexus .build .BuildContext ;
28
29
import org .codehaus .plexus .util .FileUtils ;
29
30
30
31
import java .io .File ;
@@ -105,4 +106,9 @@ public void testModelloConvertersMojo()
105
106
assertFalse ( "The generated java file doesn't exist: '" + javaFile .getAbsolutePath () + "'." ,
106
107
javaFile .exists () );
107
108
}
109
+
110
+ @ Override
111
+ protected void customizeContainerConfiguration (ContainerConfiguration containerConfiguration ) {
112
+ containerConfiguration .setClassPathScanning ("cache" );
113
+ }
108
114
}
Original file line number Diff line number Diff line change 23
23
*/
24
24
25
25
import org .codehaus .modello .core .ModelloCore ;
26
+ import org .codehaus .plexus .ContainerConfiguration ;
26
27
import org .codehaus .plexus .PlexusTestCase ;
27
- import org .sonatype .plexus .build . incremental .BuildContext ;
28
+ import org .codehaus .plexus .build .BuildContext ;
28
29
import org .codehaus .plexus .util .FileUtils ;
29
30
30
31
import java .io .File ;
@@ -100,4 +101,9 @@ public void testModelloJavaMojo()
100
101
assertFalse ( "The generated java file shouldn't exist: '" + javaFile .getAbsolutePath () + "'." ,
101
102
javaFile .exists () );
102
103
}
104
+
105
+ @ Override
106
+ protected void customizeContainerConfiguration (ContainerConfiguration containerConfiguration ) {
107
+ containerConfiguration .setClassPathScanning ("cache" );
108
+ }
103
109
}
Original file line number Diff line number Diff line change 19
19
<artifactId >plexus-utils</artifactId >
20
20
</dependency >
21
21
<dependency >
22
- <groupId >org.sonatype .plexus</groupId >
22
+ <groupId >org.codehaus .plexus</groupId >
23
23
<artifactId >plexus-build-api</artifactId >
24
24
</dependency >
25
25
Original file line number Diff line number Diff line change 32
32
import javax .xml .parsers .SAXParser ;
33
33
import javax .xml .parsers .SAXParserFactory ;
34
34
35
+ import org .codehaus .plexus .ContainerConfiguration ;
35
36
import org .codehaus .plexus .PlexusTestCase ;
36
37
import org .codehaus .plexus .util .FileUtils ;
37
38
import org .codehaus .plexus .util .ReaderFactory ;
@@ -117,4 +118,9 @@ protected SAXParser createSaxParserWithSchema( String generatedXsdName ) throws
117
118
new File ( getOutputDirectory (), generatedXsdName ) );
118
119
return saxParser ;
119
120
}
121
+
122
+ @ Override
123
+ protected void customizeContainerConfiguration (ContainerConfiguration containerConfiguration ) {
124
+ containerConfiguration .setClassPathScanning ("cache" );
125
+ }
120
126
}
Original file line number Diff line number Diff line change 337
337
<version >3.5.1</version >
338
338
</dependency >
339
339
<dependency >
340
- <groupId >org.sonatype .plexus</groupId >
340
+ <groupId >org.codehaus .plexus</groupId >
341
341
<artifactId >plexus-build-api</artifactId >
342
- <version >0.0.7 </version >
342
+ <version >1.1.0 </version >
343
343
</dependency >
344
344
<dependency >
345
345
<groupId >junit</groupId >
You can’t perform that action at this time.
0 commit comments