Skip to content

Commit 1cda15c

Browse files
committed
#43 Using SPDX license headers
1 parent 8f3628f commit 1cda15c

File tree

16 files changed

+55
-191
lines changed

16 files changed

+55
-191
lines changed

etc/license.txt

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
1-
SPDX-License-Identifier: Apache-2.0
1+
SPDX-License-Identifier: Apache-2.0
22

3-
Copyright ${project.inceptionYear} - 2021 The original authors.
3+
Copyright The original authors
44

5-
Licensed under the Apache License, Version 2.0 (the "License");
6-
you may not use this file except in compliance with the License.
7-
You may obtain a copy of the License at
8-
9-
https://www.apache.org/licenses/LICENSE-2.0
10-
11-
Unless required by applicable law or agreed to in writing, software
12-
distributed under the License is distributed on an "AS IS" BASIS,
13-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
See the License for the specific language governing permissions and
15-
limitations under the License.
5+
Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0

oss-quickstart-simple-archetype/pom.xml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
SPDX-License-Identifier: Apache-2.0
4+
SPDX-License-Identifier: Apache-2.0
55
6-
Copyright 2021 - 2021 The original authors.
6+
Copyright The original authors
77
8-
Licensed under the Apache License, Version 2.0 (the "License");
9-
you may not use this file except in compliance with the License.
10-
You may obtain a copy of the License at
11-
12-
https://www.apache.org/licenses/LICENSE-2.0
13-
14-
Unless required by applicable law or agreed to in writing, software
15-
distributed under the License is distributed on an "AS IS" BASIS,
16-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17-
See the License for the specific language governing permissions and
18-
limitations under the License.
8+
Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
199
2010
-->
2111
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
@@ -24,7 +14,7 @@
2414
<parent>
2515
<groupId>org.moditect.ossquickstart</groupId>
2616
<artifactId>ossquickstart-aggregator</artifactId>
27-
<version>1.0.0.Alpha1</version>
17+
<version>1.0.0-SNAPSHOT</version>
2818
</parent>
2919

3020
<artifactId>oss-quickstart-simple-archetype</artifactId>
@@ -45,8 +35,8 @@
4535
<plugin>
4636
<groupId>com.mycila</groupId>
4737
<artifactId>license-maven-plugin</artifactId>
48-
<configuration combine.self="override">
49-
<header>${rootdir}/etc/license.txt</header>
38+
<configuration>
39+
<header>../etc/license.txt</header>
5040
<strictCheck>true</strictCheck>
5141
<excludes>
5242
<exclude>src/main/resources/**</exclude>

oss-quickstart-simple-archetype/src/main/resources/archetype-resources/etc/eclipse-formatter-config.xml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,11 @@
44
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
55
<!--
66
7-
Copyright 2021 The original authors
7+
SPDX-License-Identifier: Apache-2.0
88
9-
Licensed under the Apache License, Version 2.0 (the "License");
10-
you may not use this file except in compliance with the License.
11-
You may obtain a copy of the License at
9+
Copyright The original authors
1210
13-
http://www.apache.org/licenses/LICENSE-2.0
14-
15-
Unless required by applicable law or agreed to in writing, software
16-
distributed under the License is distributed on an "AS IS" BASIS,
17-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18-
See the License for the specific language governing permissions and
19-
limitations under the License.
11+
Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
2012
2113
-->
2214
<profiles version="12">
Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
11
#set( $symbol_pound = '#' )
22
#set( $symbol_dollar = '$' )
33
#set( $symbol_escape = '\' )
4-
Copyright 2021 The original authors
4+
SPDX-License-Identifier: Apache-2.0
55

6-
Licensed under the Apache License, Version 2.0 (the "License");
7-
you may not use this file except in compliance with the License.
8-
You may obtain a copy of the License at
6+
Copyright The original authors
97

10-
http://www.apache.org/licenses/LICENSE-2.0
11-
12-
Unless required by applicable law or agreed to in writing, software
13-
distributed under the License is distributed on an "AS IS" BASIS,
14-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
See the License for the specific language governing permissions and
16-
limitations under the License.
8+
Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0

oss-quickstart-simple-archetype/src/main/resources/archetype-resources/pom.xml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2021 The original authors
4+
SPDX-License-Identifier: Apache-2.0
55
6-
Licensed under the Apache License, Version 2.0 (the "License");
7-
you may not use this file except in compliance with the License.
8-
You may obtain a copy of the License at
6+
Copyright The original authors
97
10-
http://www.apache.org/licenses/LICENSE-2.0
11-
12-
Unless required by applicable law or agreed to in writing, software
13-
distributed under the License is distributed on an "AS IS" BASIS,
14-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
See the License for the specific language governing permissions and
16-
limitations under the License.
8+
Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
179
1810
-->
1911
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">

oss-quickstart-simple-archetype/src/main/resources/archetype-resources/src/main/java/App.java

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,11 @@
22
#set( $symbol_dollar = '$' )
33
#set( $symbol_escape = '\' )
44
/*
5-
* Copyright 2021 The original authors
5+
* SPDX-License-Identifier: Apache-2.0
66
*
7-
* Licensed under the Apache License, Version 2.0 (the "License");
8-
* you may not use this file except in compliance with the License.
9-
* You may obtain a copy of the License at
7+
* Copyright The original authors
108
*
11-
* http://www.apache.org/licenses/LICENSE-2.0
12-
*
13-
* Unless required by applicable law or agreed to in writing, software
14-
* distributed under the License is distributed on an "AS IS" BASIS,
15-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
* See the License for the specific language governing permissions and
17-
* limitations under the License.
9+
* Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
1810
*/
1911
package ${package};
2012

oss-quickstart-simple-archetype/src/main/resources/archetype-resources/src/main/java/module-info.java

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,12 @@
22
#set( $symbol_dollar = '$' )
33
#set( $symbol_escape = '\' )
44
/*
5-
* Copyright 2021 The original authors
5+
* SPDX-License-Identifier: Apache-2.0
66
*
7-
* Licensed under the Apache License, Version 2.0 (the "License");
8-
* you may not use this file except in compliance with the License.
9-
* You may obtain a copy of the License at
7+
* Copyright The original authors
108
*
11-
* http://www.apache.org/licenses/LICENSE-2.0
12-
*
13-
* Unless required by applicable law or agreed to in writing, software
14-
* distributed under the License is distributed on an "AS IS" BASIS,
15-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
* See the License for the specific language governing permissions and
17-
* limitations under the License.
9+
* Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
1810
*/
19-
module ${moduleName} {
11+
module ${package} {
2012
exports ${package};
2113
}

oss-quickstart-simple-archetype/src/main/resources/archetype-resources/src/test/java/AppTest.java

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,11 @@
22
#set( $symbol_dollar = '$' )
33
#set( $symbol_escape = '\' )
44
/*
5-
* Copyright 2021 The original authors
5+
* SPDX-License-Identifier: Apache-2.0
66
*
7-
* Licensed under the Apache License, Version 2.0 (the "License");
8-
* you may not use this file except in compliance with the License.
9-
* You may obtain a copy of the License at
7+
* Copyright The original authors
108
*
11-
* http://www.apache.org/licenses/LICENSE-2.0
12-
*
13-
* Unless required by applicable law or agreed to in writing, software
14-
* distributed under the License is distributed on an "AS IS" BASIS,
15-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
* See the License for the specific language governing permissions and
17-
* limitations under the License.
9+
* Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
1810
*/
1911
package ${package};
2012

oss-quickstart-simple-template/etc/eclipse-formatter-config.xml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
22
<!--
33
4-
Copyright 2021 The original authors
4+
SPDX-License-Identifier: Apache-2.0
55
6-
Licensed under the Apache License, Version 2.0 (the "License");
7-
you may not use this file except in compliance with the License.
8-
You may obtain a copy of the License at
6+
Copyright The original authors
97
10-
http://www.apache.org/licenses/LICENSE-2.0
11-
12-
Unless required by applicable law or agreed to in writing, software
13-
distributed under the License is distributed on an "AS IS" BASIS,
14-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
See the License for the specific language governing permissions and
16-
limitations under the License.
8+
Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
179
1810
-->
1911
<profiles version="12">
Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
1-
Copyright 2021 The original authors
1+
SPDX-License-Identifier: Apache-2.0
22

3-
Licensed under the Apache License, Version 2.0 (the "License");
4-
you may not use this file except in compliance with the License.
5-
You may obtain a copy of the License at
3+
Copyright The original authors
64

7-
http://www.apache.org/licenses/LICENSE-2.0
8-
9-
Unless required by applicable law or agreed to in writing, software
10-
distributed under the License is distributed on an "AS IS" BASIS,
11-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
See the License for the specific language governing permissions and
13-
limitations under the License.
5+
Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0

0 commit comments

Comments
 (0)