File tree Expand file tree Collapse file tree 16 files changed +14
-285
lines changed
main/java/org/apache/maven/shared/scriptinterpreter
test/java/org/apache/maven/shared/scriptinterpreter Expand file tree Collapse file tree 16 files changed +14
-285
lines changed Original file line number Diff line number Diff line change 110
110
111
111
</dependencies >
112
112
113
+ <build >
114
+ <pluginManagement >
115
+ <plugins >
116
+ <plugin >
117
+ <!-- remove with next parent MPOM-371 -->
118
+ <groupId >org.apache.maven.plugins</groupId >
119
+ <artifactId >maven-checkstyle-plugin</artifactId >
120
+ <configuration >
121
+ <configLocation >config/maven_checks_nocodestyle.xml</configLocation >
122
+ </configuration >
123
+ </plugin >
124
+ </plugins >
125
+ </pluginManagement >
126
+ </build >
113
127
</project >
Original file line number Diff line number Diff line change 18
18
*/
19
19
package org .apache .maven .shared .scriptinterpreter ;
20
20
21
- /*
22
- * Licensed to the Apache Software Foundation (ASF) under one
23
- * or more contributor license agreements. See the NOTICE file
24
- * distributed with this work for additional information
25
- * regarding copyright ownership. The ASF licenses this file
26
- * to you under the Apache License, Version 2.0 (the
27
- * "License"); you may not use this file except in compliance
28
- * with the License. You may obtain a copy of the License at
29
- *
30
- * http://www.apache.org/licenses/LICENSE-2.0
31
- *
32
- * Unless required by applicable law or agreed to in writing,
33
- * software distributed under the License is distributed on an
34
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
35
- * KIND, either express or implied. See the License for the
36
- * specific language governing permissions and limitations
37
- * under the License.
38
- */
39
-
40
21
import bsh .Capabilities ;
41
22
import bsh .EvalError ;
42
23
import bsh .Interpreter ;
Original file line number Diff line number Diff line change 18
18
*/
19
19
package org .apache .maven .shared .scriptinterpreter ;
20
20
21
- /*
22
- * Licensed to the Apache Software Foundation (ASF) under one
23
- * or more contributor license agreements. See the NOTICE file
24
- * distributed with this work for additional information
25
- * regarding copyright ownership. The ASF licenses this file
26
- * to you under the Apache License, Version 2.0 (the
27
- * "License"); you may not use this file except in compliance
28
- * with the License. You may obtain a copy of the License at
29
- *
30
- * http://www.apache.org/licenses/LICENSE-2.0
31
- *
32
- * Unless required by applicable law or agreed to in writing,
33
- * software distributed under the License is distributed on an
34
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
35
- * KIND, either express or implied. See the License for the
36
- * specific language governing permissions and limitations
37
- * under the License.
38
- */
39
-
40
21
import java .io .PrintStream ;
41
22
42
23
/**
Original file line number Diff line number Diff line change 18
18
*/
19
19
package org .apache .maven .shared .scriptinterpreter ;
20
20
21
- /*
22
- * Licensed to the Apache Software Foundation (ASF) under one
23
- * or more contributor license agreements. See the NOTICE file
24
- * distributed with this work for additional information
25
- * regarding copyright ownership. The ASF licenses this file
26
- * to you under the Apache License, Version 2.0 (the
27
- * "License"); you may not use this file except in compliance
28
- * with the License. You may obtain a copy of the License at
29
- *
30
- * http://www.apache.org/licenses/LICENSE-2.0
31
- *
32
- * Unless required by applicable law or agreed to in writing,
33
- * software distributed under the License is distributed on an
34
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
35
- * KIND, either express or implied. See the License for the
36
- * specific language governing permissions and limitations
37
- * under the License.
38
- */
39
-
40
21
import java .io .File ;
41
22
import java .io .FileOutputStream ;
42
23
import java .io .IOException ;
Original file line number Diff line number Diff line change 18
18
*/
19
19
package org .apache .maven .shared .scriptinterpreter ;
20
20
21
- /*
22
- * Licensed to the Apache Software Foundation (ASF) under one
23
- * or more contributor license agreements. See the NOTICE file
24
- * distributed with this work for additional information
25
- * regarding copyright ownership. The ASF licenses this file
26
- * to you under the Apache License, Version 2.0 (the
27
- * "License"); you may not use this file except in compliance
28
- * with the License. You may obtain a copy of the License at
29
- *
30
- * http://www.apache.org/licenses/LICENSE-2.0
31
- *
32
- * Unless required by applicable law or agreed to in writing,
33
- * software distributed under the License is distributed on an
34
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
35
- * KIND, either express or implied. See the License for the
36
- * specific language governing permissions and limitations
37
- * under the License.
38
- */
39
-
40
21
/**
41
22
* Handle output form interpreter.
42
23
*
Original file line number Diff line number Diff line change 18
18
*/
19
19
package org .apache .maven .shared .scriptinterpreter ;
20
20
21
- /*
22
- * Licensed to the Apache Software Foundation (ASF) under one
23
- * or more contributor license agreements. See the NOTICE file
24
- * distributed with this work for additional information
25
- * regarding copyright ownership. The ASF licenses this file
26
- * to you under the Apache License, Version 2.0 (the
27
- * "License"); you may not use this file except in compliance
28
- * with the License. You may obtain a copy of the License at
29
- *
30
- * http://www.apache.org/licenses/LICENSE-2.0
31
- *
32
- * Unless required by applicable law or agreed to in writing,
33
- * software distributed under the License is distributed on an
34
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
35
- * KIND, either express or implied. See the License for the
36
- * specific language governing permissions and limitations
37
- * under the License.
38
- */
39
-
40
21
import groovy .lang .Binding ;
41
22
import groovy .lang .GroovyShell ;
42
23
import java .io .File ;
Original file line number Diff line number Diff line change 18
18
*/
19
19
package org .apache .maven .shared .scriptinterpreter ;
20
20
21
- /*
22
- * Licensed to the Apache Software Foundation (ASF) under one
23
- * or more contributor license agreements. See the NOTICE file
24
- * distributed with this work for additional information
25
- * regarding copyright ownership. The ASF licenses this file
26
- * to you under the Apache License, Version 2.0 (the
27
- * "License"); you may not use this file except in compliance
28
- * with the License. You may obtain a copy of the License at
29
- *
30
- * http://www.apache.org/licenses/LICENSE-2.0
31
- *
32
- * Unless required by applicable law or agreed to in writing,
33
- * software distributed under the License is distributed on an
34
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
35
- * KIND, either express or implied. See the License for the
36
- * specific language governing permissions and limitations
37
- * under the License.
38
- */
39
-
40
21
/**
41
22
* Signals an error during parsing/evaluation of a script. This can either be a syntax error in the script itself or an
42
23
* exception triggered by the methods it invoked.
Original file line number Diff line number Diff line change 18
18
*/
19
19
package org .apache .maven .shared .scriptinterpreter ;
20
20
21
- /*
22
- * Licensed to the Apache Software Foundation (ASF) under one
23
- * or more contributor license agreements. See the NOTICE file
24
- * distributed with this work for additional information
25
- * regarding copyright ownership. The ASF licenses this file
26
- * to you under the Apache License, Version 2.0 (the
27
- * "License"); you may not use this file except in compliance
28
- * with the License. You may obtain a copy of the License at
29
- *
30
- * http://www.apache.org/licenses/LICENSE-2.0
31
- *
32
- * Unless required by applicable law or agreed to in writing,
33
- * software distributed under the License is distributed on an
34
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
35
- * KIND, either express or implied. See the License for the
36
- * specific language governing permissions and limitations
37
- * under the License.
38
- */
39
-
40
21
/**
41
22
* Common errors during script running.
42
23
*
Original file line number Diff line number Diff line change 18
18
*/
19
19
package org .apache .maven .shared .scriptinterpreter ;
20
20
21
- /*
22
- * Licensed to the Apache Software Foundation (ASF) under one
23
- * or more contributor license agreements. See the NOTICE file
24
- * distributed with this work for additional information
25
- * regarding copyright ownership. The ASF licenses this file
26
- * to you under the Apache License, Version 2.0 (the
27
- * "License"); you may not use this file except in compliance
28
- * with the License. You may obtain a copy of the License at
29
- *
30
- * http://www.apache.org/licenses/LICENSE-2.0
31
- *
32
- * Unless required by applicable law or agreed to in writing,
33
- * software distributed under the License is distributed on an
34
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
35
- * KIND, either express or implied. See the License for the
36
- * specific language governing permissions and limitations
37
- * under the License.
38
- */
39
-
40
21
import java .io .PrintStream ;
41
22
import java .util .List ;
42
23
import java .util .Map ;
Original file line number Diff line number Diff line change 18
18
*/
19
19
package org .apache .maven .shared .scriptinterpreter ;
20
20
21
- /*
22
- * Licensed to the Apache Software Foundation (ASF) under one
23
- * or more contributor license agreements. See the NOTICE file
24
- * distributed with this work for additional information
25
- * regarding copyright ownership. The ASF licenses this file
26
- * to you under the Apache License, Version 2.0 (the
27
- * "License"); you may not use this file except in compliance
28
- * with the License. You may obtain a copy of the License at
29
- *
30
- * http://www.apache.org/licenses/LICENSE-2.0
31
- *
32
- * Unless required by applicable law or agreed to in writing,
33
- * software distributed under the License is distributed on an
34
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
35
- * KIND, either express or implied. See the License for the
36
- * specific language governing permissions and limitations
37
- * under the License.
38
- */
39
-
40
21
/**
41
22
* Signals an invalid value returned from script execution.
42
23
*
You can’t perform that action at this time.
0 commit comments