Skip to content

Commit 50031cd

Browse files
Code cleanup after parent 38
- remove duplicate licenses header - workaround for MPOM-371
1 parent 8af16f6 commit 50031cd

16 files changed

+14
-285
lines changed

pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,18 @@
110110

111111
</dependencies>
112112

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>
113127
</project>

src/main/java/org/apache/maven/shared/scriptinterpreter/BeanShellScriptInterpreter.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,6 @@
1818
*/
1919
package org.apache.maven.shared.scriptinterpreter;
2020

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-
4021
import bsh.Capabilities;
4122
import bsh.EvalError;
4223
import bsh.Interpreter;

src/main/java/org/apache/maven/shared/scriptinterpreter/ExecutionLogger.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,6 @@
1818
*/
1919
package org.apache.maven.shared.scriptinterpreter;
2020

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-
4021
import java.io.PrintStream;
4122

4223
/**

src/main/java/org/apache/maven/shared/scriptinterpreter/FileLogger.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,6 @@
1818
*/
1919
package org.apache.maven.shared.scriptinterpreter;
2020

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-
4021
import java.io.File;
4122
import java.io.FileOutputStream;
4223
import java.io.IOException;

src/main/java/org/apache/maven/shared/scriptinterpreter/FileLoggerMirrorHandler.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,6 @@
1818
*/
1919
package org.apache.maven.shared.scriptinterpreter;
2020

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-
4021
/**
4122
* Handle output form interpreter.
4223
*

src/main/java/org/apache/maven/shared/scriptinterpreter/GroovyScriptInterpreter.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,6 @@
1818
*/
1919
package org.apache.maven.shared.scriptinterpreter;
2020

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-
4021
import groovy.lang.Binding;
4122
import groovy.lang.GroovyShell;
4223
import java.io.File;

src/main/java/org/apache/maven/shared/scriptinterpreter/ScriptEvaluationException.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,6 @@
1818
*/
1919
package org.apache.maven.shared.scriptinterpreter;
2020

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-
4021
/**
4122
* Signals an error during parsing/evaluation of a script. This can either be a syntax error in the script itself or an
4223
* exception triggered by the methods it invoked.

src/main/java/org/apache/maven/shared/scriptinterpreter/ScriptException.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,6 @@
1818
*/
1919
package org.apache.maven.shared.scriptinterpreter;
2020

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-
4021
/**
4122
* Common errors during script running.
4223
*

src/main/java/org/apache/maven/shared/scriptinterpreter/ScriptInterpreter.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,6 @@
1818
*/
1919
package org.apache.maven.shared.scriptinterpreter;
2020

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-
4021
import java.io.PrintStream;
4122
import java.util.List;
4223
import java.util.Map;

src/main/java/org/apache/maven/shared/scriptinterpreter/ScriptReturnException.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,6 @@
1818
*/
1919
package org.apache.maven.shared.scriptinterpreter;
2020

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-
4021
/**
4122
* Signals an invalid value returned from script execution.
4223
*

0 commit comments

Comments
 (0)