1 <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">
2 <modelVersion>4.0.0</modelVersion>
3 <groupId>com.indexdata</groupId>
4 <artifactId>mkjsf</artifactId>
5 <version>0.0.7-SNAPSHOT</version>
6 <name>MasterKey JSF</name>
7 <packaging>jar</packaging>
8 <description>MKJSF - JavaServer Faces library for MasterKey</description>
11 <groupId>javax</groupId>
12 <artifactId>javaee-api</artifactId>
13 <version>6.0</version>
14 <scope>provided</scope>
17 <!-- JSF 2, JSP tag library, Weld, CDI -->
19 <groupId>org.glassfish</groupId>
20 <artifactId>javax.faces</artifactId>
21 <version>2.1.21</version>
24 <groupId>javax.servlet.jsp.jstl</groupId>
25 <artifactId>javax.servlet.jsp.jstl-api</artifactId>
26 <version>1.2.1</version>
29 <groupId>org.jboss.weld.servlet</groupId>
30 <artifactId>weld-servlet</artifactId>
31 <version>1.1.10.Final</version>
34 <!-- File upload etc -->
36 <groupId>org.apache.myfaces.tomahawk</groupId>
37 <artifactId>tomahawk20</artifactId>
38 <version>1.1.10</version>
41 <groupId>commons-io</groupId>
42 <artifactId>commons-io</artifactId>
43 <version>2.1</version>
46 <groupId>org.apache.httpcomponents</groupId>
47 <artifactId>httpclient</artifactId>
48 <version>4.2.3</version>
51 <!-- Pazpar2 client -->
53 <groupId>com.indexdata</groupId>
54 <artifactId>masterkey-common</artifactId>
55 <version>0.1.10</version>
59 <directory>target</directory>
60 <outputDirectory>target/classes</outputDirectory>
61 <sourceDirectory>src/main/java</sourceDirectory>
64 <directory>src</directory>
66 <exclude>main/</exclude>
67 <exclude>*.java</exclude>
68 <exclude>META-INF/beans.xml</exclude>
74 <artifactId>maven-compiler-plugin</artifactId>
75 <version>2.3.2</version>
78 <exclude>src/META-INF/</exclude>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-release-plugin</artifactId>
87 <version>2.2.2</version>
89 <preparationGoals>clean verify</preparationGoals>
90 <releaseProfiles>production</releaseProfiles>
91 <tagNameFormat>v@{project.version}</tagNameFormat>
92 <pushChanges>false</pushChanges>
93 <localCheckout>true</localCheckout>
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-jar-plugin</artifactId>
99 <version>2.2</version>
101 <classifier>${env}</classifier>
108 <groupId>org.apache.maven.wagon</groupId>
109 <artifactId>wagon-ssh</artifactId>
110 <version>1.0-beta-6</version>
113 <groupId>org.apache.maven.wagon</groupId>
114 <artifactId>wagon-ssh-external</artifactId>
115 <version>2.2</version>
119 <distributionManagement>
121 <uniqueVersion>false</uniqueVersion>
122 <id>id-maven-repo</id>
123 <name>Index Data Maven Repository</name>
124 <url>scp://maven.indexdata.com:222/var/www/maven/repository</url>
128 <url>scpexe://www.indexdata.com/var/www/software/mkjsf/</url>
130 </distributionManagement>
133 <id>id-maven-repo</id>
134 <url>http://maven.indexdata.com</url>
138 <connection>scm:git:ssh://git.indexdata.com:222/home/git/pub/mkjsf</connection>
139 <url>http://gitid.indexdata.com/?p=mkjsf.git</url>
144 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
149 <!-- Tomcat 7 profile, includes JSF 2.0 and Weld -->
152 <activeByDefault>true</activeByDefault>
162 <targetPath>META-INF</targetPath>
163 <directory>src/main/resources/tomcat</directory>
165 <include>beans.xml</include>
172 <!-- J2EE Application Server profile (Glassfish, JBoss) -->
173 <!-- beans.xml contains information of which configuration
174 scheme to inject. Optimally this would be decided at
175 the .war/application level, not at (this) jar/library
176 level, but for now this is necessary when using Glassfish
187 <targetPath>META-INF</targetPath>
188 <directory>src/main/resources/as</directory>
190 <include>beans.xml</include>