Files
commafeed/pom.xml

623 lines
18 KiB
XML
Raw Normal View History

2013-03-20 20:33:42 +01:00
<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>
<groupId>com.commafeed</groupId>
<artifactId>commafeed</artifactId>
2014-02-24 16:04:41 +01:00
<version>1.5.0-SNAPSHOT</version>
2013-03-20 20:33:42 +01:00
<packaging>war</packaging>
<name>CommaFeed</name>
2013-03-31 11:57:50 +02:00
<prerequisites>
<maven>3.0.0</maven>
</prerequisites>
2013-03-20 20:33:42 +01:00
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<production>false</production>
2013-07-24 16:43:00 +02:00
<jpa.show_sql>false</jpa.show_sql>
<jpa.datasource.name>java:openejb/Resource/My DataSource</jpa.datasource.name>
<jpa.cache>false</jpa.cache>
<jpa.table.encoding>utf8mb4</jpa.table.encoding>
2013-07-02 18:07:08 +02:00
<cache_service.class>com.commafeed.backend.cache.NoopCacheService</cache_service.class>
2013-03-20 20:33:42 +01:00
</properties>
<build>
<finalName>commafeed</finalName>
2013-03-20 20:33:42 +01:00
<resources>
<resource>
<directory>src/main/resources</directory>
2013-03-21 16:22:58 +01:00
<filtering>true</filtering>
2013-03-20 20:33:42 +01:00
</resource>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*</include>
</includes>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
2013-06-04 11:13:13 +02:00
<version>3.1</version>
2013-03-20 20:33:42 +01:00
<configuration>
<source>1.6</source>
<target>1.6</target>
2013-03-20 20:33:42 +01:00
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
2013-07-11 09:30:10 +02:00
<version>2.4</version>
2013-03-20 20:33:42 +01:00
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
<webResources combine.children="append">
<resource>
<directory>${basedir}/src/main/webapp/WEB-INF</directory>
<targetPath>WEB-INF</targetPath>
<filtering>true</filtering>
<includes>
<include>**/beans.xml</include>
</includes>
</resource>
<resource>
<directory>target/generated-sources/api-docs/</directory>
<targetPath>api/api-docs</targetPath>
<includes>
<include>**/*</include>
</includes>
</resource>
</webResources>
2013-03-20 20:33:42 +01:00
</configuration>
</plugin>
<plugin>
<groupId>org.apache.openejb.maven</groupId>
<artifactId>tomee-maven-plugin</artifactId>
2013-12-12 09:03:31 +01:00
<version>1.5.2</version>
<configuration>
2013-11-29 16:10:43 +01:00
<tomeeVersion>1.6.0</tomeeVersion>
<tomeeClassifier>plus</tomeeClassifier>
<tomeeHttpPort>8082</tomeeHttpPort>
<args>-Xmx1024m -XX:MaxPermSize=512m -XX:+CMSClassUnloadingEnabled</args>
2013-04-15 11:46:31 +02:00
<config>${project.basedir}/src/main/tomee/conf</config>
<reloadOnUpdate>true</reloadOnUpdate>
<synchronization>
<updateInterval>1</updateInterval>
<extensions>
<extension>.class</extension>
</extensions>
<updateOnlyExtensions>
2013-05-12 12:38:56 +02:00
<updateOnlyExtension>.properties</updateOnlyExtension>
<updateOnlyExtension>.html</updateOnlyExtension>
<updateOnlyExtension>.js</updateOnlyExtension>
<updateOnlyExtension>.css</updateOnlyExtension>
2013-05-06 13:10:23 +02:00
<updateOnlyExtension>.scss</updateOnlyExtension>
</updateOnlyExtensions>
</synchronization>
<libs>
2013-04-23 10:31:44 +02:00
<lib>org.hibernate:hibernate-entitymanager:4.1.11.Final</lib>
<lib>org.hibernate:hibernate-core:4.1.11.Final</lib>
<lib>org.hibernate.common:hibernate-commons-annotations:4.0.1.Final</lib>
<lib>org.hibernate:hibernate-validator:4.3.1.Final</lib>
<lib>org.jboss.logging:jboss-logging:3.1.3.GA</lib>
2013-11-29 16:10:43 +01:00
<lib>org.javassist:javassist:3.15.0-GA</lib>
2014-02-20 10:22:15 +01:00
<lib>org.apache.openejb:openejb-bonecp:4.6.0</lib>
<lib>com.jolbox:bonecp:0.8.0.RELEASE</lib>
<lib>com.google.guava:guava:14.0.1</lib>
2013-06-05 11:58:35 +02:00
<lib>dom4j:dom4j:1.6.1</lib>
<lib>antlr:antlr:2.7.7</lib>
2013-04-09 17:04:35 +02:00
<lib>remove:openjpa-</lib>
<lib>remove:hsqldb</lib>
2013-07-19 16:32:08 +02:00
<lib>org.hsqldb:hsqldb:2.3.0</lib>
2013-10-29 13:26:15 +01:00
<lib>mysql:mysql-connector-java:5.1.26</lib>
2013-05-08 09:28:18 +02:00
<lib>postgresql:postgresql:9.1-901.jdbc4</lib>
2013-07-07 10:40:47 +02:00
<lib>net.sourceforge.jtds:jtds:1.3.1</lib>
<lib>org.infinispan:infinispan-core:5.1.4.FINAL</lib>
<lib>org.hibernate:hibernate-infinispan:4.1.11.Final</lib>
<lib>org.jgroups:jgroups:3.0.9.Final</lib>
<lib>org.jboss.marshalling:jboss-marshalling-river:1.3.11.GA</lib>
<lib>org.jboss.marshalling:jboss-marshalling:1.3.11.GA</lib>
<lib>org.codehaus.woodstox:woodstox-core-asl:4.1.1</lib>
<lib>org.codehaus.woodstox:stax2-api:3.1.1</lib>
<lib>org.rhq.helpers:rhq-pluginAnnotations:3.0.4</lib>
<lib>org.jboss.logmanager:jboss-logmanager:1.2.2.GA</lib>
</libs>
</configuration>
</plugin>
<plugin>
<groupId>org.bsc.maven</groupId>
<artifactId>maven-processor-plugin</artifactId>
2013-06-04 11:13:13 +02:00
<version>2.2.3</version>
<executions>
<execution>
<id>process</id>
<goals>
<goal>process</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<processors>
<processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
</processors>
2013-06-05 22:19:29 +02:00
<outputDirectory>target/generated-sources/metamodel</outputDirectory>
</configuration>
</execution>
<execution>
<id>doc</id>
<phase>process-classes</phase>
<goals>
<goal>process</goal>
</goals>
<configuration>
<processors>
<processor>com.commafeed.frontend.APIGenerator</processor>
</processors>
<outputDirectory>target/generated-sources/api-docs</outputDirectory>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-jpamodelgen</artifactId>
2013-08-11 12:01:08 +02:00
<version>1.3.0.Final</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
2013-12-12 13:11:07 +01:00
<version>2.1.7</version>
<executions>
<execution>
<goals>
<goal>revision</goal>
</goals>
</execution>
</executions>
<configuration>
<generateGitPropertiesFile>false</generateGitPropertiesFile>
<failOnNoGitDirectory>false</failOnNoGitDirectory>
</configuration>
</plugin>
2013-03-20 20:33:42 +01:00
</plugins>
</build>
<dependencies>
2013-08-11 11:11:09 +02:00
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
2014-02-12 21:02:00 +01:00
<version>1.12.4</version>
2013-08-11 11:11:09 +02:00
<scope>provided</scope>
</dependency>
2013-03-20 20:33:42 +01:00
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-6.0</artifactId>
<version>1.0.0.Final</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
2013-04-23 10:31:44 +02:00
<version>4.1.11.Final</version>
<scope>provided</scope>
2013-03-27 20:56:45 +01:00
<exclusions>
<exclusion>
<artifactId>dom4j</artifactId>
<groupId>dom4j</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
2013-09-25 13:51:09 +02:00
<version>2.2.1</version>
</dependency>
2013-06-11 17:01:21 +02:00
<dependency>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-core</artifactId>
2013-11-12 08:53:05 +01:00
<version>3.0.7</version>
2013-06-11 17:01:21 +02:00
</dependency>
2013-06-05 11:58:35 +02:00
2013-03-20 20:33:42 +01:00
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
2014-02-12 21:02:00 +01:00
<version>16.0.1</version>
2013-03-20 20:33:42 +01:00
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
2014-02-12 21:02:00 +01:00
<version>1.9.1</version>
2013-03-20 20:33:42 +01:00
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
2014-02-12 21:02:00 +01:00
<version>1.9</version>
2013-03-20 20:33:42 +01:00
</dependency>
<dependency>
2013-11-29 16:10:43 +01:00
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.2.1</version>
2013-03-20 20:33:42 +01:00
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.4</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-math</artifactId>
<version>2.2</version>
</dependency>
2013-03-25 12:24:00 +01:00
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
2014-02-12 21:02:00 +01:00
<version>1.3.1</version>
2013-03-25 12:24:00 +01:00
</dependency>
2013-03-20 20:33:42 +01:00
<dependency>
<groupId>net.java.dev.rome</groupId>
<artifactId>rome</artifactId>
<version>1.0.0</version>
<exclusions>
<exclusion>
<groupId>jdom</groupId>
<artifactId>jdom</artifactId>
</exclusion>
</exclusions>
2013-03-20 20:33:42 +01:00
</dependency>
2013-03-25 12:24:00 +01:00
<dependency>
<groupId>org.rometools</groupId>
<artifactId>rome-opml</artifactId>
<version>1.0</version>
<exclusions>
<exclusion>
<groupId>rome</groupId>
<artifactId>rome</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.jdom</groupId>
<artifactId>jdom</artifactId>
<version>1.1.3</version>
2013-03-25 12:24:00 +01:00
</dependency>
<dependency>
<groupId>com.googlecode.juniversalchardet</groupId>
<artifactId>juniversalchardet</artifactId>
<version>1.0.3</version>
</dependency>
2013-05-31 08:17:58 +02:00
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-servlet</artifactId>
2014-02-12 21:02:00 +01:00
<version>2.6.0</version>
2013-05-31 08:17:58 +02:00
</dependency>
<dependency>
<groupId>net.sourceforge.cssparser</groupId>
<artifactId>cssparser</artifactId>
2014-02-12 21:02:00 +01:00
<version>0.9.13</version>
</dependency>
2013-03-25 12:24:00 +01:00
2013-03-20 20:33:42 +01:00
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
2014-02-26 16:14:11 +01:00
<version>4.3.3</version>
2013-03-20 20:33:42 +01:00
</dependency>
<dependency>
2013-03-23 09:13:04 +01:00
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
2013-11-12 08:53:22 +01:00
<version>1.7.3</version>
2013-03-20 20:33:42 +01:00
</dependency>
2013-03-23 09:13:04 +01:00
2013-03-20 20:33:42 +01:00
<dependency>
2013-08-12 12:45:25 +02:00
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
2014-02-12 21:02:00 +01:00
<version>2.3.1</version>
2013-03-23 09:13:04 +01:00
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
2013-05-23 11:35:15 +02:00
<artifactId>slf4j-log4j12</artifactId>
2014-02-12 21:02:00 +01:00
<version>1.7.6</version>
2013-03-20 20:33:42 +01:00
</dependency>
2013-05-23 11:35:15 +02:00
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
2013-03-20 20:33:42 +01:00
<dependency>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket-core</artifactId>
2014-02-26 08:36:15 +01:00
<version>6.14.0</version>
</dependency>
2013-06-07 15:36:36 +02:00
2013-03-20 20:33:42 +01:00
<dependency>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket-auth-roles</artifactId>
2014-02-26 08:36:15 +01:00
<version>6.14.0</version>
2013-03-20 20:33:42 +01:00
</dependency>
2013-06-07 15:36:36 +02:00
<dependency>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket-extensions</artifactId>
2014-02-26 08:36:15 +01:00
<version>6.14.0</version>
2013-06-07 15:36:36 +02:00
</dependency>
2013-03-20 20:33:42 +01:00
<dependency>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket-cdi</artifactId>
2014-02-26 08:36:15 +01:00
<version>6.14.0</version>
2013-03-20 20:33:42 +01:00
</dependency>
<dependency>
<groupId>ro.isdc.wro4j</groupId>
<artifactId>wro4j-extensions</artifactId>
2014-02-28 13:43:30 +01:00
<version>1.7.3</version>
</dependency>
2013-04-15 14:47:37 +02:00
<dependency>
2013-04-15 21:50:36 +02:00
<groupId>com.wordnik</groupId>
<artifactId>swagger-annotations_2.9.1</artifactId>
2013-07-02 15:34:57 +02:00
<version>1.2.5</version>
2013-04-15 14:47:37 +02:00
</dependency>
<dependency>
<groupId>com.wordnik</groupId>
<artifactId>swagger-jaxrs_2.9.1</artifactId>
<version>1.2.5</version>
<scope>provided</scope>
</dependency>
2013-04-15 14:47:37 +02:00
<dependency>
<groupId>com.codahale.metrics</groupId>
<artifactId>metrics-core</artifactId>
2014-02-26 16:14:11 +01:00
<version>3.0.2</version>
</dependency>
<dependency>
<groupId>com.codahale.metrics</groupId>
<artifactId>metrics-json</artifactId>
2014-02-26 16:14:11 +01:00
<version>3.0.2</version>
</dependency>
2013-04-12 15:50:13 +02:00
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
2013-03-20 20:33:42 +01:00
</dependencies>
<profiles>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>ro.isdc.wro4j</groupId>
<artifactId>wro4j-maven-plugin</artifactId>
2014-02-28 13:43:30 +01:00
<version>1.7.3</version>
<executions>
<execution>
<id>js</id>
<phase>test</phase>
<goals>
<goal>jshint</goal>
</goals>
<configuration>
<targetGroups>app</targetGroups>
2014-02-28 13:43:30 +01:00
<options>devel,noarg,quotmark,laxcomma,laxbreak</options>
</configuration>
</execution>
<execution>
<id>css</id>
<phase>test</phase>
<goals>
<goal>csslint</goal>
</goals>
<configuration>
<targetGroups>app</targetGroups>
2013-05-01 18:06:18 +02:00
<options>display-property-grouping,duplicate-properties,compatible-vendor-prefixes,vendor-prefix</options>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
2013-03-20 20:33:42 +01:00
<profile>
<id>openshift</id>
2013-03-21 16:22:58 +01:00
<properties>
2013-03-23 01:15:35 +01:00
<jpa.datasource.name>java:jboss/datasources/MysqlDS</jpa.datasource.name>
<jpa.table.encoding>utf8</jpa.table.encoding>
2013-03-21 16:22:58 +01:00
</properties>
2013-03-20 20:33:42 +01:00
<build>
<finalName>commafeed</finalName>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
2013-06-04 11:13:13 +02:00
<version>2.14.1</version>
2013-03-20 20:33:42 +01:00
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
2013-07-11 09:30:10 +02:00
<version>2.4</version>
2013-03-20 20:33:42 +01:00
<configuration>
<outputDirectory>deployments</outputDirectory>
<warName>ROOT</warName>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>cache</id>
<properties>
<jpa.cache>true</jpa.cache>
</properties>
</profile>
<profile>
<id>redis</id>
<properties>
<cache_service.class>com.commafeed.backend.cache.RedisCacheService</cache_service.class>
</properties>
</profile>
2013-04-04 09:23:34 +02:00
<profile>
<id>mysql</id>
2013-04-04 09:23:34 +02:00
<properties>
<jpa.datasource.name>java:openejb/Resource/MySQL</jpa.datasource.name>
</properties>
</profile>
2013-05-08 09:28:18 +02:00
<profile>
<id>pgsql</id>
<properties>
<jpa.datasource.name>java:openejb/Resource/PostgreSQL</jpa.datasource.name>
2013-07-07 10:32:37 +02:00
</properties>
</profile>
<profile>
<id>mssql</id>
<properties>
<jpa.datasource.name>java:openejb/Resource/MSSQL</jpa.datasource.name>
2013-05-08 09:28:18 +02:00
</properties>
</profile>
<profile>
<id>prod</id>
<activation>
<property>
<name>skipTests</name>
</property>
</activation>
<properties>
<timestamp>${maven.build.timestamp}</timestamp>
<production>true</production>
<jpa.show_sql>false</jpa.show_sql>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>gmaven-plugin</artifactId>
2013-06-04 11:13:13 +02:00
<version>1.5</version>
<dependencies>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.4</version>
</dependency>
</dependencies>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>execute</goal>
</goals>
<configuration>
<properties>
<source>${basedir}/src/main/webapp/templates</source>
<prefix>templates/</prefix>
<destination>${basedir}/target/generated-sources/angularjs/all-templates.html</destination>
2013-05-11 19:21:53 +02:00
<i18nPath>${basedir}/src/main/resources/i18n/</i18nPath>
</properties>
<scriptpath>
<element>${basedir}/src/main/script</element>
</scriptpath>
<source>
def source = project.properties['source'];
def prefix =
project.properties['prefix'];
def dest =
project.properties['destination'];
2013-05-11 19:21:53 +02:00
def i18n =
project.properties['i18nPath'];
new
2013-05-11 19:21:53 +02:00
HTMLConcat().concat(source,
prefix, dest, i18n);
</source>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>ro.isdc.wro4j</groupId>
<artifactId>wro4j-maven-plugin</artifactId>
2014-02-28 13:43:30 +01:00
<version>1.7.3</version>
<executions>
<execution>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<configuration>
<targetGroups>all</targetGroups>
<wroManagerFactory>ro.isdc.wro.maven.plugin.manager.factory.ConfigurableWroManagerFactory</wroManagerFactory>
2013-05-25 13:35:22 +02:00
<destinationFolder>${project.build.directory}/${project.build.finalName}/static/</destinationFolder>
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
2013-07-11 09:30:10 +02:00
<version>2.4</version>
<configuration>
<webResources>
<resource>
<directory>target/generated-sources/angularjs/</directory>
<targetPath>templates</targetPath>
<includes>
<include>**/*.html</include>
</includes>
</resource>
</webResources>
</configuration>
</plugin>
</plugins>
</build>
2013-04-04 09:23:34 +02:00
</profile>
2013-05-17 18:26:40 +02:00
<profile>
<id>i18n</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>gmaven-plugin</artifactId>
2013-06-04 11:13:13 +02:00
<version>1.5</version>
2013-05-17 18:26:40 +02:00
<dependencies>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.4</version>
</dependency>
</dependencies>
<configuration>
<properties>
<dir>${basedir}/src/main/resources/i18n/</dir>
</properties>
<scriptpath>
<element>${basedir}/src/main/script</element>
</scriptpath>
<source>
def dir = project.properties['dir'];
new
I18nGenerator().generate(dir);
</source>
</configuration>
</plugin>
</plugins>
</build>
</profile>
2013-03-20 20:33:42 +01:00
</profiles>
</project>