From 46f07d7901879e8fca2e3a647a829bfeabfe93a7 Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Thu, 19 May 2016 14:13:59 +0200 Subject: [PATCH] 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 --- opendaylight/archetypes/pom.xml | 10 ++++++++++ opendaylight/config/config-api/.gitignore | 4 ---- 2 files changed, 10 insertions(+), 4 deletions(-) delete mode 100644 opendaylight/config/config-api/.gitignore 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 -- 2.36.6