File tree Expand file tree Collapse file tree 8 files changed +27
-20
lines changed
main/java/org/apache/maven/shared/scriptinterpreter
test/java/org/apache/maven/shared/scriptinterpreter Expand file tree Collapse file tree 8 files changed +27
-20
lines changed Original file line number Diff line number Diff line change 22
22
<parent >
23
23
<groupId >org.apache.maven.shared</groupId >
24
24
<artifactId >maven-shared-components</artifactId >
25
- <version >38 </version >
26
- <relativePath />
25
+ <version >39 </version >
26
+ <relativePath />
27
27
</parent >
28
28
29
29
<artifactId >maven-script-interpreter</artifactId >
Original file line number Diff line number Diff line change 18
18
*/
19
19
package org .apache .maven .shared .scriptinterpreter ;
20
20
21
- import bsh .Capabilities ;
22
- import bsh .EvalError ;
23
- import bsh .Interpreter ;
24
- import bsh .TargetError ;
25
21
import java .io .File ;
26
22
import java .io .IOException ;
27
23
import java .io .PrintStream ;
28
24
import java .util .List ;
29
25
import java .util .Map ;
30
26
27
+ import bsh .Capabilities ;
28
+ import bsh .EvalError ;
29
+ import bsh .Interpreter ;
30
+ import bsh .TargetError ;
31
+
31
32
/**
32
33
* Provides a facade to evaluate BeanShell scripts.
33
34
*
Original file line number Diff line number Diff line change 18
18
*/
19
19
package org .apache .maven .shared .scriptinterpreter ;
20
20
21
- import groovy .lang .Binding ;
22
- import groovy .lang .GroovyShell ;
23
21
import java .io .File ;
24
22
import java .io .PrintStream ;
25
23
import java .net .URL ;
26
24
import java .util .List ;
27
25
import java .util .Map ;
26
+
27
+ import groovy .lang .Binding ;
28
+ import groovy .lang .GroovyShell ;
28
29
import org .codehaus .groovy .control .CompilerConfiguration ;
29
30
import org .codehaus .groovy .tools .RootLoader ;
30
31
Original file line number Diff line number Diff line change 28
28
import java .util .List ;
29
29
import java .util .Locale ;
30
30
import java .util .Map ;
31
+
31
32
import org .apache .commons .io .FilenameUtils ;
32
33
import org .slf4j .Logger ;
33
34
import org .slf4j .LoggerFactory ;
Original file line number Diff line number Diff line change 18
18
*/
19
19
package org .apache .maven .shared .scriptinterpreter ;
20
20
21
- import static org .junit .jupiter .api .Assertions .assertEquals ;
22
-
23
21
import java .io .ByteArrayOutputStream ;
24
22
import java .io .PrintStream ;
25
23
import java .util .HashMap ;
26
24
import java .util .Map ;
25
+
27
26
import org .junit .jupiter .api .Test ;
28
27
28
+ import static org .junit .jupiter .api .Assertions .assertEquals ;
29
+
29
30
/**
30
31
* Tests the BeanShell interpreter facade.
31
32
*
Original file line number Diff line number Diff line change 18
18
*/
19
19
package org .apache .maven .shared .scriptinterpreter ;
20
20
21
- import static org .junit .jupiter .api .Assertions .assertEquals ;
22
- import static org .junit .jupiter .api .Assertions .assertNull ;
23
- import static org .junit .jupiter .api .Assertions .assertTrue ;
24
-
25
21
import java .io .File ;
26
22
import java .io .IOException ;
27
23
import java .nio .file .Files ;
24
+
28
25
import org .junit .jupiter .api .Test ;
29
26
27
+ import static org .junit .jupiter .api .Assertions .assertEquals ;
28
+ import static org .junit .jupiter .api .Assertions .assertNull ;
29
+ import static org .junit .jupiter .api .Assertions .assertTrue ;
30
+
30
31
/**
31
32
* FileLoggerTest
32
33
*/
Original file line number Diff line number Diff line change 18
18
*/
19
19
package org .apache .maven .shared .scriptinterpreter ;
20
20
21
- import static org .junit .jupiter .api .Assertions .assertEquals ;
22
-
23
21
import java .io .ByteArrayOutputStream ;
24
22
import java .io .File ;
25
23
import java .io .PrintStream ;
26
24
import java .util .Collections ;
27
25
import java .util .HashMap ;
28
26
import java .util .List ;
29
27
import java .util .Map ;
28
+
30
29
import org .junit .jupiter .api .Test ;
31
30
31
+ import static org .junit .jupiter .api .Assertions .assertEquals ;
32
+
32
33
/**
33
34
* Tests the Groovy interpreter facade.
34
35
*
Original file line number Diff line number Diff line change 18
18
*/
19
19
package org .apache .maven .shared .scriptinterpreter ;
20
20
21
- import static org .junit .jupiter .api .Assertions .assertEquals ;
22
- import static org .junit .jupiter .api .Assertions .assertNotNull ;
23
- import static org .junit .jupiter .api .Assertions .assertTrue ;
24
-
25
21
import java .io .File ;
26
22
import java .nio .file .Files ;
27
23
import java .util .HashMap ;
28
24
import java .util .Map ;
25
+
29
26
import org .junit .jupiter .api .Test ;
30
27
28
+ import static org .junit .jupiter .api .Assertions .assertEquals ;
29
+ import static org .junit .jupiter .api .Assertions .assertNotNull ;
30
+ import static org .junit .jupiter .api .Assertions .assertTrue ;
31
+
31
32
/**
32
33
* @author Olivier Lamy
33
34
*/
You can’t perform that action at this time.
0 commit comments