153 lines
4.3 KiB
XML
153 lines
4.3 KiB
XML
|
<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>
|
||
|
<artifactId>maven-parent</artifactId>
|
||
|
<groupId>org.gcube.tools</groupId>
|
||
|
<version>1.0.0</version>
|
||
|
<relativePath />
|
||
|
</parent>
|
||
|
|
||
|
<groupId>org.gcube.portal</groupId>
|
||
|
<artifactId>threadlocal-vars-cleaner</artifactId>
|
||
|
<version>0.0.1-SNAPSHOT</version>
|
||
|
<packaging>jar</packaging>
|
||
|
|
||
|
<name>threadlocal-vars-cleaner</name>
|
||
|
<url>http://maven.apache.org</url>
|
||
|
<description>This component clean the Smartgears ThreadLocal variables each time a new Thread is assigned to a request from tomcat thread pool</description>
|
||
|
<properties>
|
||
|
<java-version>1.7</java-version>
|
||
|
<liferay-version>6.0.6</liferay-version>
|
||
|
<distroDirectory>${project.basedir}/distro</distroDirectory>
|
||
|
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
|
||
|
<distroDirectory>distro</distroDirectory>
|
||
|
|
||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||
|
|
||
|
</properties>
|
||
|
|
||
|
<scm>
|
||
|
<url>http://svn.d4science.research-infrastructures.eu/gcube/trunk/portal/${project.artifactId}</url>
|
||
|
</scm>
|
||
|
<dependencyManagement>
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>org.gcube.distribution</groupId>
|
||
|
<artifactId>maven-portal-bom</artifactId>
|
||
|
<version>LATEST</version>
|
||
|
<type>pom</type>
|
||
|
<scope>import</scope>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
</dependencyManagement>
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.tomcat</groupId>
|
||
|
<artifactId>catalina</artifactId>
|
||
|
<version>6.0.29</version>
|
||
|
<scope>provided</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.gcube.common</groupId>
|
||
|
<artifactId>authorization-client</artifactId>
|
||
|
<scope>provided</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.gcube.common</groupId>
|
||
|
<artifactId>common-authorization</artifactId>
|
||
|
<scope>provided</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.slf4j</groupId>
|
||
|
<artifactId>slf4j-api</artifactId>
|
||
|
<scope>provided</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>junit</groupId>
|
||
|
<artifactId>junit</artifactId>
|
||
|
<version>3.8.1</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
<build>
|
||
|
<finalName>threadlocal-vars-cleaner-${project.version}</finalName>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-war-plugin</artifactId>
|
||
|
<version>2.1.1</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<phase>compile</phase>
|
||
|
<goals>
|
||
|
<goal>exploded</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
<configuration>
|
||
|
<webappDirectory>${webappDirectory}</webappDirectory>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
<version>2.3.2</version>
|
||
|
<configuration>
|
||
|
<source>1.7</source>
|
||
|
<target>1.7</target>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<!-- SA Plugin -->
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-assembly-plugin</artifactId>
|
||
|
<version>2.2</version>
|
||
|
<configuration>
|
||
|
<descriptors>
|
||
|
<descriptor>${distroDirectory}/descriptor.xml</descriptor>
|
||
|
</descriptors>
|
||
|
</configuration>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>servicearchive</id>
|
||
|
<phase>install</phase>
|
||
|
<goals>
|
||
|
<goal>single</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-resources-plugin</artifactId>
|
||
|
<version>2.5</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>copy-profile</id>
|
||
|
<phase>install</phase>
|
||
|
<goals>
|
||
|
<goal>copy-resources</goal>
|
||
|
</goals>
|
||
|
<configuration>
|
||
|
<outputDirectory>target</outputDirectory>
|
||
|
<resources>
|
||
|
<resource>
|
||
|
<directory>${distroDirectory}</directory>
|
||
|
<filtering>true</filtering>
|
||
|
<includes>
|
||
|
<include>profile.xml</include>
|
||
|
</includes>
|
||
|
</resource>
|
||
|
</resources>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
</project>
|
||
|
|
||
|
|