From: Michael Vorburger Date: Thu, 19 May 2016 12:13:59 +0000 (+0200) Subject: Anticipate future fix for missing .gitignore in archetypes' projects X-Git-Tag: release/boron~127 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=46f07d7901879e8fca2e3a647a829bfeabfe93a7;hp=38402d3e9b8976a40d7926efe47a06243210562f Anticipate future fix for missing .gitignore in archetypes' projects see https://issues.apache.org/jira/browse/MRESOURCES-190 (or http://stackoverflow.com/questions/7981060/maven-archetype-plugin-doesnt-let-resources-in-archetype-resources-through/37322323#37322323) BTW: The current solution in opendaylight-startup/src/main/resources/META-INF/maven/archetype-metadata.xml doesn't seem to work (for me; I don't get a .gitignore ..). At least with this it will work when we'll upgrade from current maven-resources-plugin 2.7 to 3.0 (not yet released) some time in the future. PS: The removed /config/.gitignore is an unrelated minor clean. Change-Id: I3d7d8708eb128d975879094f3775439e11721668 Signed-off-by: Michael Vorburger --- diff --git a/opendaylight/archetypes/pom.xml b/opendaylight/archetypes/pom.xml index b22b37cb4e..c1b74636d2 100644 --- a/opendaylight/archetypes/pom.xml +++ b/opendaylight/archetypes/pom.xml @@ -37,6 +37,16 @@ + + + org.apache.maven.plugins + maven-resources-plugin + + + false + + + diff --git a/opendaylight/config/config-api/.gitignore b/opendaylight/config/config-api/.gitignore deleted file mode 100644 index 6590c79cf8..0000000000 --- a/opendaylight/config/config-api/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -target -.classpath -.settings -/target