From 10d05f61b241a58a0a206043ddefaf86417ff1d0 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Thu, 27 Feb 2014 14:03:27 +0000 Subject: Try to improve Maven files for Sonar: Copy in (test)sources instead of linking to sources outside the sonar-directory which confuses Sonar, remove source-dir setting for ooxml-schema and ooxml-schema-encryption as both have generate sources and not actual ones, scratchpad is not needed for ooxml git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1572580 13f79535-47bb-0310-9956-ffa450edef68 --- sonar/examples/pom.xml | 41 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) (limited to 'sonar/examples') diff --git a/sonar/examples/pom.xml b/sonar/examples/pom.xml index be0cd111a8..5064a51afc 100644 --- a/sonar/examples/pom.xml +++ b/sonar/examples/pom.xml @@ -12,9 +12,46 @@ jar Apache POI Examples package - + - ../../src/examples/src + + + + maven-resources-plugin + 2.6 + + + copy-sources + + generate-sources + + copy-resources + + + ${basedir}/src/main/java + + + ../../src/examples/src + + + + + + + + + maven-clean-plugin + 2.5 + + + + src + false + + + + + -- cgit v1.2.3