Author: doogie Date: Wed Apr 22 01:18:00 2015 New Revision: 1675237 URL: http://svn.apache.org/r1675237 Log: Add a hook that cleans build/, which seems to be left behind by maven; note, that I also added entries into .gitignore for the new build folders that are placed into all the lib directories. For now, the top-level build/ is not being cleaned or ignored; this needs to be fixed.
Modified: ofbiz/branches/OFBIZ-6271/.gitignore ofbiz/branches/OFBIZ-6271/ofbiz-component-pom.xml Modified: ofbiz/branches/OFBIZ-6271/.gitignore URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-6271/.gitignore?rev=1675237&r1=1675236&r2=1675237&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-6271/.gitignore (original) +++ ofbiz/branches/OFBIZ-6271/.gitignore Wed Apr 22 01:18:00 2015 @@ -1,12 +1,16 @@ applications/*/build +applications/*/lib/**/build framework/*/build +framework/*/lib/**/build framework/base/lib/cobertura-*.jar framework/base/lib/asm*.jar framework/base/lib/oro*.jar framework/entity/lib/jdbc/*.jar !framework/entity/lib/jdbc/derby*.jar hot-deploy/*/build +hot-deploy/*/lib/**/build specialpurpose/*/build +specialpurpose/*/lib/**/build applications/content/index/ bin/ ofbiz.jar Modified: ofbiz/branches/OFBIZ-6271/ofbiz-component-pom.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-6271/ofbiz-component-pom.xml?rev=1675237&r1=1675236&r2=1675237&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-6271/ofbiz-component-pom.xml (original) +++ ofbiz/branches/OFBIZ-6271/ofbiz-component-pom.xml Wed Apr 22 01:18:00 2015 @@ -105,11 +105,41 @@ under the License. <artifactId>maven-surefire-plugin</artifactId> <version>2.18.1</version> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-clean-plugin</artifactId> + <version>2.3</version> + </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-clean-plugin</artifactId> + <configuration> + <filesets> + <fileset> + <directory>.</directory> + <includes> + <include>build</include> + </includes> + </fileset> + </filesets> + </configuration> + <!-- + <executions> + <execution> + <id>make-assembly</id> + <phase>initialize</phase> + <goals> + <goal>single</goal> + </goals> + </execution> + </executions> +--> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <executions> <execution>