Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #521 from dhalperi/archetype-notice
Browse files Browse the repository at this point in the history
Add NOTICE to archetypes and enforce they match the root NOTICE
  • Loading branch information
dhalperi authored Jan 6, 2017
2 parents 44d1a17 + 2cc474e commit 02c6bc6
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,8 @@ install:
- travis_retry mvn install clean -U -DskipTests=true

script:
- travis_retry mvn install -U
# Verify that the project can be built and installed.
- mvn install
# Verify that starter and examples archetypes have the correct version of the NOTICE file.
- diff -q NOTICE maven-archetypes/starter/src/main/resources/archetype-resources/NOTICE
- diff -q NOTICE maven-archetypes/examples/src/main/resources/archetype-resources/NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,12 @@
<include>**/*.java</include>
</includes>
</fileSet>

<fileSet filtered="false" packaged="false" encoding="UTF-8">
<directory></directory>
<includes>
<include>NOTICE</include>
</includes>
</fileSet>
</fileSets>
</archetype-descriptor>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Google Cloud Dataflow SDK for Java
Copyright 2017, Google Inc.

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,12 @@
<include>**/*.java</include>
</includes>
</fileSet>

<fileSet filtered="false" packaged="false" encoding="UTF-8">
<directory></directory>
<includes>
<include>NOTICE</include>
</includes>
</fileSet>
</fileSets>
</archetype-descriptor>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Google Cloud Dataflow SDK for Java
Copyright 2017, Google Inc.

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Google Cloud Dataflow SDK for Java
Copyright 2017, Google Inc.

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).

0 comments on commit 02c6bc6

Please sign in to comment.