Skip to content

Instantly share code, notes, and snippets.

@manstis
Created December 3, 2013 15:43
Show Gist options
  • Select an option

  • Save manstis/7771410 to your computer and use it in GitHub Desktop.

Select an option

Save manstis/7771410 to your computer and use it in GitHub Desktop.
pom
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.kie</groupId>
<artifactId>kie-parent-with-dependencies</artifactId>
<version>6.1.0-SNAPSHOT</version>
</parent>
<groupId>org.drools</groupId>
<artifactId>drools-wb</artifactId>
<packaging>pom</packaging>
<name>Drools Workbench</name>
<description>Drools Workbench</description>
<repositories>
<!-- Bootstrap repository to locate the parent pom when the parent pom has not been build locally. -->
<repository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Repository Group</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
</repository>
</repositories>
<profiles>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
<property>
<name>default</name>
</property>
</activation>
<modules>
<module>drools-wb-rest</module>
<module>drools-wb-screens</module>
<module>drools-wb-webapp</module>
<module>drools-wb-jcr2vfs-migration</module>
</modules>
</profile>
<profile>
<id>approver</id>
<activation>
<property>
<name>approver</name>
</property>
</activation>
<modules>
<module>drools-wb-rest-defaultapprover</module>
</modules>
</profile>
<profile>
<id>fullProfile</id>
<activation>
<property>
<name>full</name>
</property>
</activation>
<modules>
<module>drools-wb-rest-defaultapprover</module>
<module>drools-wb-rest</module>
<module>drools-wb-screens</module>
<module>drools-wb-webapp</module>
<module>drools-wb-jcr2vfs-migration</module>
<module>drools-wb-distribution-wars</module>
</modules>
</profile>
</profiles>
<build>
<plugins>
<!--Fix translations from Zanata -->
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>replacer</artifactId>
</plugin>
<!-- Zanata - translations -->
<plugin>
<groupId>org.zanata</groupId>
<artifactId>zanata-maven-plugin</artifactId>
</plugin>
<!-- We need source files generated by our Java Annotations Processor -->
<!-- in the resulting JAR for GWT to reference in child projects. Consequentially -->
<!-- copy the source files to the target folder before packaging -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/classes</outputDirectory>
<resources>
<resource>
<directory>target/generated-sources/annotations</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>
<fileset>
<directory>${basedir}</directory>
<includes>
<include>.errai/**</include>
<include>.niogit/**</include>
</includes>
</fileset>
</filesets>
</configuration>
</plugin>
</plugins>
</build>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment