[3007] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
---|
[3017] | 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
---|
[3007] | 3 | <modelVersion>4.0.0</modelVersion> |
---|
| 4 | <groupId>eu.dasish.annotation</groupId> |
---|
| 5 | <artifactId>annotator-backend</artifactId> |
---|
| 6 | <packaging>war</packaging> |
---|
| 7 | <version>1.0-SNAPSHOT</version> |
---|
| 8 | <name>annotator-backend Jersey Webapp</name> |
---|
[3019] | 9 | <organization> |
---|
| 10 | <name>DASISH</name> |
---|
| 11 | <url>https://trac.clarin.eu/wiki/DASISH</url> |
---|
| 12 | </organization> |
---|
[3007] | 13 | <build> |
---|
| 14 | <finalName>annotator-backend</finalName> |
---|
[3046] | 15 | <testResources> |
---|
| 16 | <testResource> |
---|
| 17 | <directory>src/main/</directory> |
---|
| 18 | <includes> |
---|
| 19 | <include>sql/DashishAnnotatorCreate.sql</include> |
---|
| 20 | </includes> |
---|
| 21 | </testResource> |
---|
| 22 | <testResource> |
---|
| 23 | <directory>src/test/resources</directory> |
---|
| 24 | </testResource> |
---|
| 25 | </testResources> |
---|
[3007] | 26 | <plugins> |
---|
| 27 | <plugin> |
---|
| 28 | <groupId>org.apache.maven.plugins</groupId> |
---|
| 29 | <artifactId>maven-compiler-plugin</artifactId> |
---|
| 30 | <inherited>true</inherited> |
---|
| 31 | <configuration> |
---|
| 32 | <source>1.6</source> |
---|
| 33 | <target>1.6</target> |
---|
| 34 | </configuration> |
---|
| 35 | </plugin> |
---|
| 36 | <!-- Run the application using "mvn embedded-glassfish:run" --> |
---|
| 37 | <plugin> |
---|
| 38 | <groupId>org.glassfish</groupId> |
---|
| 39 | <artifactId>maven-embedded-glassfish-plugin</artifactId> |
---|
| 40 | <version>${glassfish.version}</version> |
---|
| 41 | <configuration> |
---|
| 42 | <goalPrefix>embedded-glassfish</goalPrefix> |
---|
| 43 | <app>/Users/petwit/Documents/svn.clarin.eu/svn.clarin.eu/DASISH/t5.6/backend/annotator-backend/trunk/target/${project.build.finalName}.war</app> |
---|
| 44 | <autoDelete>true</autoDelete> |
---|
| 45 | <port>8080</port> |
---|
| 46 | </configuration> |
---|
| 47 | <dependencies> |
---|
| 48 | <dependency> |
---|
| 49 | <groupId>com.sun.jersey</groupId> |
---|
| 50 | <artifactId>jersey-servlet</artifactId> |
---|
| 51 | <version>${project.version}</version> |
---|
| 52 | </dependency> |
---|
| 53 | <dependency> |
---|
| 54 | <groupId>javax.servlet</groupId> |
---|
| 55 | <artifactId>javax.servlet-api</artifactId> |
---|
| 56 | <version>3.0.1</version> |
---|
| 57 | </dependency> |
---|
| 58 | </dependencies> |
---|
| 59 | </plugin> |
---|
[3017] | 60 | <plugin> |
---|
| 61 | <groupId>org.jvnet.jaxb2.maven2</groupId> |
---|
| 62 | <artifactId>maven-jaxb2-plugin</artifactId> |
---|
[3066] | 63 | <version>0.8.3</version> |
---|
[3017] | 64 | <executions> |
---|
| 65 | <execution> |
---|
| 66 | <id>jaxb-components</id> |
---|
| 67 | <goals> |
---|
| 68 | <goal>generate</goal> |
---|
| 69 | </goals> |
---|
| 70 | <configuration> |
---|
| 71 | <forceRegenerate>true</forceRegenerate> |
---|
[3722] | 72 | <bindingDirectory>${basedir}/src/main/resources</bindingDirectory> |
---|
[3017] | 73 | <generatePackage>eu.dasish.annotation.schema</generatePackage> |
---|
| 74 | <outputDirectory>${basedir}/src/generated/jaxb</outputDirectory> |
---|
| 75 | <schemas> |
---|
| 76 | <schema> |
---|
| 77 | <dependencyResource> |
---|
| 78 | <groupId>eu.dasish.annotation</groupId> |
---|
| 79 | <artifactId>annotator-schema</artifactId> |
---|
| 80 | <version>1.0-SNAPSHOT</version> |
---|
| 81 | <resource>DASISH-schema.xsd</resource> |
---|
| 82 | </dependencyResource> |
---|
| 83 | </schema> |
---|
| 84 | </schemas> |
---|
[3667] | 85 | <catalog>src/main/resources/catalog.cat</catalog> |
---|
| 86 | <catalogResolver>org.jvnet.jaxb2.maven2.resolver.tools.ClasspathCatalogResolver</catalogResolver> |
---|
[3017] | 87 | </configuration> |
---|
| 88 | </execution> |
---|
| 89 | </executions> |
---|
| 90 | </plugin> |
---|
[3019] | 91 | <plugin> |
---|
| 92 | <!-- |
---|
| 93 | License plugin checks for presence of license header in all source files (with some exceptions, see excludes below). |
---|
| 94 | You can use this plugin to actually insert or fix the license headers by running maven with the following goal: |
---|
| 95 | |
---|
| 96 | mvn license:format |
---|
| 97 | |
---|
[3926] | 98 | For more info, see <http://mathieu.carbou.free.fr/p/maven-license-plugin/>. |
---|
| 99 | --> |
---|
| 100 | <groupId>com.mycila.maven-license-plugin</groupId> |
---|
| 101 | <artifactId>maven-license-plugin</artifactId> |
---|
| 102 | <version>1.9.0</version> |
---|
| 103 | <configuration> |
---|
| 104 | <header>/src/license-header.txt</header> |
---|
| 105 | <strictCheck>false</strictCheck> |
---|
| 106 | <properties> |
---|
| 107 | <year>${plugin.license.copyrightYear}</year> |
---|
| 108 | <organization>${project.organization.name}</organization> |
---|
| 109 | </properties> |
---|
| 110 | <mapping> |
---|
| 111 | <svg>XML_STYLE</svg> |
---|
| 112 | <imdi>XML_STYLE</imdi> |
---|
| 113 | <cmdi>XML_STYLE</cmdi> |
---|
| 114 | </mapping> |
---|
| 115 | <excludes> |
---|
| 116 | <exclude>nbactions.xml</exclude> |
---|
| 117 | <exclude>nb-configuration.xml</exclude> |
---|
| 118 | <exclude>**/*.txt</exclude> |
---|
| 119 | <exclude>src/main/resources/xml.xsd</exclude> |
---|
| 120 | </excludes> |
---|
| 121 | </configuration> |
---|
| 122 | <executions> |
---|
| 123 | <execution> |
---|
| 124 | <goals> |
---|
| 125 | <goal>check</goal> |
---|
| 126 | </goals> |
---|
| 127 | </execution> |
---|
| 128 | </executions> |
---|
| 129 | </plugin> |
---|
| 130 | <plugin> |
---|
| 131 | <groupId>org.apache.maven.plugins</groupId> |
---|
| 132 | <artifactId>maven-javadoc-plugin</artifactId> |
---|
| 133 | <version>2.9.1</version> |
---|
| 134 | </plugin> |
---|
| 135 | </plugins> |
---|
[3007] | 136 | </build> |
---|
| 137 | <dependencies> |
---|
[3926] | 138 | <dependency> |
---|
| 139 | <groupId>com.sun.jersey</groupId> |
---|
| 140 | <artifactId>jersey-servlet</artifactId> |
---|
| 141 | <version>${jersey.version}</version> |
---|
| 142 | </dependency> |
---|
| 143 | <dependency> |
---|
| 144 | <groupId>com.sun.jersey</groupId> |
---|
| 145 | <artifactId>jersey-json</artifactId> |
---|
| 146 | <version>${jersey.version}</version> |
---|
| 147 | <scope>test</scope> |
---|
| 148 | </dependency> |
---|
| 149 | <dependency> |
---|
| 150 | <groupId>com.sun.jersey</groupId> |
---|
| 151 | <artifactId>jersey-client</artifactId> |
---|
| 152 | <version>${jersey.version}</version> |
---|
| 153 | <scope>test</scope> |
---|
| 154 | </dependency> |
---|
| 155 | <dependency> |
---|
| 156 | <groupId>com.sun.jersey.jersey-test-framework</groupId> |
---|
| 157 | <artifactId>jersey-test-framework-grizzly2</artifactId> |
---|
| 158 | <version>${jersey.version}</version> |
---|
| 159 | </dependency> |
---|
| 160 | <dependency> |
---|
| 161 | <groupId>com.sun.jersey.contribs</groupId> |
---|
| 162 | <artifactId>jersey-spring</artifactId> |
---|
| 163 | <version>${jersey.version}</version> |
---|
| 164 | <exclusions> |
---|
| 165 | <exclusion> |
---|
| 166 | <groupId>org.springframework</groupId> |
---|
| 167 | <artifactId>*</artifactId> |
---|
| 168 | </exclusion> |
---|
| 169 | </exclusions> |
---|
| 170 | </dependency> |
---|
| 171 | <dependency> |
---|
| 172 | <groupId>com.sun.jersey.contribs</groupId> |
---|
| 173 | <artifactId>jersey-multipart</artifactId> |
---|
| 174 | <version>${jersey.version}</version> |
---|
| 175 | </dependency> |
---|
| 176 | <dependency> |
---|
| 177 | <groupId>org.jmock</groupId> |
---|
| 178 | <artifactId>jmock-junit4</artifactId> |
---|
| 179 | <version>2.5.1</version> |
---|
| 180 | <scope>test</scope> |
---|
| 181 | </dependency> |
---|
| 182 | <dependency> |
---|
| 183 | <groupId>org.springframework</groupId> |
---|
| 184 | <artifactId>spring-jdbc</artifactId> |
---|
| 185 | <version>${spring.version}</version> |
---|
| 186 | </dependency> |
---|
| 187 | <dependency> |
---|
| 188 | <groupId>org.springframework</groupId> |
---|
| 189 | <artifactId>spring-web</artifactId> |
---|
| 190 | <version>${spring.version}</version> |
---|
| 191 | </dependency> |
---|
| 192 | <dependency> |
---|
| 193 | <groupId>org.hsqldb</groupId> |
---|
| 194 | <artifactId>hsqldb</artifactId> |
---|
| 195 | <version>2.2.9</version> |
---|
| 196 | <scope>test</scope> |
---|
| 197 | <classifier>jdk5</classifier> |
---|
| 198 | </dependency> |
---|
| 199 | <dependency> |
---|
| 200 | <groupId>commons-dbcp</groupId> |
---|
| 201 | <artifactId>commons-dbcp</artifactId> |
---|
| 202 | <version>1.4</version> |
---|
| 203 | </dependency> |
---|
| 204 | <dependency> |
---|
| 205 | <groupId>org.springframework</groupId> |
---|
| 206 | <artifactId>spring-test</artifactId> |
---|
| 207 | <version>${spring.version}</version> |
---|
| 208 | <scope>test</scope> |
---|
| 209 | </dependency> |
---|
| 210 | <dependency> |
---|
[3928] | 211 | <groupId>commons-io</groupId> |
---|
| 212 | <artifactId>commons-io</artifactId> |
---|
| 213 | <version>2.2</version> |
---|
| 214 | </dependency> |
---|
| 215 | <dependency> |
---|
[3926] | 216 | <groupId>postgresql</groupId> |
---|
| 217 | <artifactId>postgresql</artifactId> |
---|
| 218 | <version>8.4-702.jdbc4</version> |
---|
| 219 | </dependency> |
---|
[3939] | 220 | <dependency> |
---|
| 221 | <groupId>org.springframework.security</groupId> |
---|
| 222 | <artifactId>spring-security-core</artifactId> |
---|
| 223 | <version>${spring.version}</version> |
---|
| 224 | </dependency> |
---|
| 225 | <dependency> |
---|
| 226 | <groupId>org.springframework.security</groupId> |
---|
| 227 | <artifactId>spring-security-config</artifactId> |
---|
| 228 | <version>${spring.version}</version> |
---|
| 229 | </dependency> |
---|
| 230 | <dependency> |
---|
| 231 | <groupId>org.springframework.security</groupId> |
---|
| 232 | <artifactId>spring-security-web</artifactId> |
---|
| 233 | <version>${spring.version}</version> |
---|
| 234 | </dependency> |
---|
| 235 | <dependency> |
---|
| 236 | <groupId>cglib</groupId> |
---|
| 237 | <artifactId>cglib</artifactId> |
---|
| 238 | <version>2.2.2</version> |
---|
| 239 | </dependency> |
---|
[4010] | 240 | <dependency> |
---|
| 241 | <groupId>org.slf4j</groupId> |
---|
| 242 | <artifactId>slf4j-log4j12</artifactId> |
---|
| 243 | <version>${slf4j.version}</version> |
---|
| 244 | </dependency> |
---|
[3007] | 245 | </dependencies> |
---|
| 246 | <properties> |
---|
[3926] | 247 | <jersey.version>1.17.1</jersey.version> |
---|
[4209] | 248 | <spring.version>3.2.0.RELEASE</spring.version> |
---|
[4010] | 249 | <slf4j.version>1.7.5</slf4j.version> |
---|
[3926] | 250 | <glassfish.version>3.1.1</glassfish.version> |
---|
| 251 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
---|
| 252 | <netbeans.hint.license>gpl20</netbeans.hint.license> |
---|
| 253 | <plugin.license.copyrightYear>2013</plugin.license.copyrightYear> |
---|
[3007] | 254 | </properties> |
---|
| 255 | </project> |
---|