Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

improvements on general pom config based on geoffrey's recommendations

  • Loading branch information...
commit aec526dae91896577f26d41c1af7ac274fd4f029 1 parent 3d82630
@porcelli porcelli authored
View
6 .gitignore
@@ -6,9 +6,9 @@
/**/.*
!.gitignore
/nbproject
-/*.ipr
-/*.iws
-/*.iml
+*.ipr
+*.iws
+*.iml
# Repository wide ignore mac DS_Store files
.DS_Store
View
10 guvnorng-showcase/pom.xml
@@ -323,17 +323,7 @@
<fileset>
<directory>${basedir}</directory>
<includes>
- <include>www-test/**</include>
- <include>.gwt/**</include>
<include>.errai/**</include>
- <include>src/main/webapp/org.drools.guvnor.GuvnorNGShowcase/**</include>
- <include>src/main/webapp/app/**</include>
- <include>src/main/webapp/WEB-INF/deploy/**</include>
- <include>src/main/webapp/WEB-INF/lib/**</include>
- <include>src/main/webapp/WEB-INF/classes/**</include>
- <include>**/gwt-unitCache/**</include>
- <include>**/*.JUnit/**</include>
- <include>target/generated-sources/**</include>
</includes>
</fileset>
</filesets>
View
184 pom.xml
@@ -14,11 +14,15 @@
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-parent</artifactId>
+ <version>9</version>
+ </parent>
<groupId>org.uberfire</groupId>
<artifactId>uberfire</artifactId>
@@ -69,25 +73,6 @@
<pluginManagement>
<plugins>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>1.7</version>
- <executions>
- <execution>
- <id>add-generated-source</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>add-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>target/generated-sources/annotations</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
<groupId>org.jboss.errai</groupId>
<artifactId>jacoco-gwt-maven-plugin</artifactId>
<version>0.5.4.201202141554</version>
@@ -98,56 +83,9 @@
<version>${gwt.maven.version}</version>
</plugin>
<plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.7</version>
- <dependencies>
- <dependency>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant-apache-regexp</artifactId>
- <version>1.8.4</version>
- </dependency>
- </dependencies>
- </plugin>
-
- <plugin>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>1.1</version>
- <executions>
- <execution>
- <goals>
- <goal>enforce</goal>
- </goals>
- <inherited>true</inherited>
- <configuration>
- <rules>
- <requireJavaVersion>
- <version>[1.6.0,)</version>
- </requireJavaVersion>
- <requireMavenVersion>
- <version>[3.0.3,)</version>
- </requireMavenVersion>
- </rules>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clean-plugin</artifactId>
- <version>2.5</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.5</version>
- </plugin>
- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.5.1</version>
<configuration>
- <source>1.6</source>
- <target>1.6</target>
<fork>false</fork>
<meminitial>128m</meminitial>
<maxmem>512m</maxmem>
@@ -157,7 +95,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.12</version>
<configuration>
<includes>
<include>**/*Test.java</include>
@@ -186,31 +123,9 @@
<argLine>-Xmx1024m -XX:MaxPermSize=128m</argLine>
</configuration>
</plugin>
- <!-- Packaging -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.4</version>
- <executions>
- <execution>
- <goals>
- <goal>test-jar</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <archive>
- <manifest>
- <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
- <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
- </manifest>
- </archive>
- </configuration>
- </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
- <version>2.1.2</version>
<executions>
<execution>
<goals>
@@ -221,31 +136,6 @@
</executions>
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>2.2</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>2.4</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.3</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-install-plugin</artifactId>
- <version>2.3.1</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>2.7</version>
- </plugin>
- <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>1.3.1</version>
@@ -253,7 +143,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
- <version>2.3.2</version>
<configuration>
<!-- Manually push changes (including git tags) after nexus staged
repo is successfully closed -->
@@ -261,41 +150,6 @@
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>
- <!-- IDE -->
- <plugin>
- <!-- This plugin is deprecated, please use m2eclipse instead. -->
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-eclipse-plugin</artifactId>
- <version>2.9</version>
- <configuration>
- <!--<downloadSources>true</downloadSources> -->
- </configuration>
- </plugin>
- <plugin>
- <!-- Only affects m2eclipse, it does not affect the build itself -->
- <groupId>org.eclipse.m2e</groupId>
- <artifactId>lifecycle-mapping</artifactId>
- <version>1.0.0</version>
- <configuration>
- <lifecycleMappingMetadata>
- <pluginExecutions>
- <pluginExecution>
- <pluginExecutionFilter>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <versionRange>[2.1.0,)</versionRange>
- <goals>
- <goal>manifest</goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <ignore/>
- </action>
- </pluginExecution>
- </pluginExecutions>
- </lifecycleMappingMetadata>
- </configuration>
- </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
@@ -310,7 +164,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
- <version>2.5.1</version>
<configuration>
<instrumentation>
<excludes>
@@ -329,7 +182,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>2.8</version>
<configuration>
<links>
<link>http://docs.oracle.com/javase/6/docs/api</link>
@@ -344,14 +196,6 @@
</pluginManagement>
<plugins>
<plugin>
- <artifactId>maven-enforcer-plugin</artifactId>
- </plugin>
- <plugin>
- <!-- Entry needed to create, install and deploy sources jars -->
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- </plugin>
- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
</plugin>
@@ -775,14 +619,15 @@
<repositories>
<repository>
<id>jboss-public-repository-group</id>
- <name>JBoss Public Maven Repository Group</name>
- <url>https://repository.jboss.org/nexus/content/groups/public/</url>
- <layout>default</layout>
+ <name>JBoss Public Repository Group</name>
+ <url>http://repository.jboss.org/nexus/content/groups/public/</url>
<releases>
+ <enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
- <updatePolicy>never</updatePolicy>
+ <enabled>true</enabled>
+ <updatePolicy>daily</updatePolicy>
</snapshots>
</repository>
</repositories>
@@ -790,14 +635,13 @@
<pluginRepositories>
<pluginRepository>
<id>jboss-public-repository-group</id>
- <name>JBoss Public Maven Repository Group</name>
- <url>https://repository.jboss.org/nexus/content/groups/public/</url>
- <layout>default</layout>
+ <name>JBoss Public Repository Group</name>
+ <url>http://repository.jboss.org/nexus/content/groups/public/</url>
<releases>
- <updatePolicy>never</updatePolicy>
+ <enabled>true</enabled>
</releases>
<snapshots>
- <updatePolicy>never</updatePolicy>
+ <enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
View
10 uberfire-jbpm/jbpm-console-client/pom.xml
@@ -175,17 +175,7 @@
<fileset>
<directory>${basedir}</directory>
<includes>
- <include>www-test/**</include>
- <include>.gwt/**</include>
<include>.errai/**</include>
- <include>src/main/webapp/org.drools.guvnor.jBPMShowcase/**</include>
- <include>src/main/webapp/app/**</include>
- <include>src/main/webapp/WEB-INF/deploy/**</include>
- <include>src/main/webapp/WEB-INF/lib/**</include>
- <include>src/main/webapp/WEB-INF/classes/**</include>
- <include>**/gwt-unitCache/**</include>
- <include>**/*.JUnit/**</include>
- <include>target/generated-sources/**</include>
</includes>
</fileset>
</filesets>
View
13 uberfire-showcase/pom.xml
@@ -119,8 +119,6 @@
</dependencies>
<build>
- <outputDirectory>src/main/webapp/WEB-INF/classes</outputDirectory>
-
<plugins>
<plugin>
@@ -140,7 +138,6 @@
<runTarget>org.uberfire.UberfireShowcase/Uberfire.html</runTarget>
<extraJvmArgs>-Xmx1024m -XX:MaxPermSize=256m</extraJvmArgs>
<soyc>false</soyc>
- <hostedWebapp>src/main/webapp/</hostedWebapp>
<server>org.jboss.errai.cdi.server.gwt.JettyLauncher</server>
<!-- drools-compiler has dependency on org.eclipse.jdt.core.compiler:ecj:jar:3.5.1:compile, see http://code.google.com/p/google-web-toolkit/issues/detail?id=4479 -->
<gwtSdkFirstInClasspath>true</gwtSdkFirstInClasspath>
@@ -236,17 +233,7 @@
<fileset>
<directory>${basedir}</directory>
<includes>
- <include>www-test/**</include>
- <include>.gwt/**</include>
<include>.errai/**</include>
- <include>src/main/webapp/org.uberfire.UberfireShowcase/**</include>
- <include>src/main/webapp/app/**</include>
- <include>src/main/webapp/WEB-INF/deploy/**</include>
- <include>src/main/webapp/WEB-INF/lib/**</include>
- <include>src/main/webapp/WEB-INF/classes/**</include>
- <include>**/gwt-unitCache/**</include>
- <include>**/*.JUnit/**</include>
- <include>target/generated-sources/**</include>
</includes>
</fileset>
</filesets>
View
4 uberfire-vfs/pom.xml
@@ -14,9 +14,7 @@
<modules>
<module>vfs-model</module>
+ <module>vfs-impls</module>
<module>vfs-api</module>
- <module>vfs-impls/vfs-fs</module>
- <module>vfs-impls/vfs-jgit</module>
- <module>vfs-impls/vfs-eclipse</module>
</modules>
</project>
View
14 uberfire-vfs/vfs-impls/.gitignore
@@ -0,0 +1,14 @@
+/target
+/local
+
+# Eclipse, Netbeans and IntelliJ files
+/.*
+/**/.*
+!.gitignore
+/nbproject
+*.ipr
+*.iws
+*.iml
+
+# Repository wide ignore mac DS_Store files
+.DS_Store
View
36 uberfire-vfs/vfs-impls/pom.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright 2012 JBoss Inc
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.uberfire</groupId>
+ <artifactId>uberfire</artifactId>
+ <version>0.1-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>vfs-impls</artifactId>
+ <packaging>pom</packaging>
+
+ <name>VFS Implementations</name>
+
+ <modules>
+ <module>vfs-fs</module>
+ <module>vfs-jgit</module>
+ <module>vfs-eclipse</module>
+ </modules>
+</project>
View
3  uberfire-vfs/vfs-impls/vfs-eclipse/pom.xml
@@ -4,9 +4,8 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.uberfire</groupId>
- <artifactId>uberfire-vfs</artifactId>
+ <artifactId>vfs-impls</artifactId>
<version>0.1-SNAPSHOT</version>
- <relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>vfs-eclipse</artifactId>
View
3  uberfire-vfs/vfs-impls/vfs-fs/pom.xml
@@ -4,9 +4,8 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.uberfire</groupId>
- <artifactId>uberfire-vfs</artifactId>
+ <artifactId>vfs-impls</artifactId>
<version>0.1-SNAPSHOT</version>
- <relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>vfs-fs</artifactId>
View
3  uberfire-vfs/vfs-impls/vfs-jgit/pom.xml
@@ -20,9 +20,8 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.uberfire</groupId>
- <artifactId>uberfire-vfs</artifactId>
+ <artifactId>vfs-impls</artifactId>
<version>0.1-SNAPSHOT</version>
- <relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>vfs-jgit</artifactId>
Please sign in to comment.
Something went wrong with that request. Please try again.