| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor |
| license agreements. See the NOTICE file distributed with this work for additional |
| information regarding copyright ownership. The ASF licenses this file to |
| You under the Apache License, Version 2.0 (the "License"); you may not use |
| this file except in compliance with the License. You may obtain a copy of |
| the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required |
| by applicable law or agreed to in writing, software distributed under the |
| License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS |
| OF ANY KIND, either express or implied. See the License for the specific |
| language governing permissions and limitations under the License. --> |
| |
| <!-- $Rev: 684173 $ $Date: 2008-08-08 20:13:24 -0700 (Fri, 08 Aug 2008) $ --> |
| |
| <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/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <groupId>org.superbiz</groupId> |
| <artifactId>moviefun-rest</artifactId> |
| <packaging>war</packaging> |
| <version>1.0</version> |
| <name>OpenEJB :: Web Examples :: Moviefun Rest</name> |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <tomee.version>1.6.0.1-SNAPSHOT</tomee.version> |
| </properties> |
| <repositories> |
| <repository> |
| <id>apache-m2-snapshot</id> |
| <name>Apache Snapshot Repository</name> |
| <url>http://repository.apache.org/snapshots</url> |
| </repository> |
| </repositories> |
| <pluginRepositories> |
| <pluginRepository> |
| <id>apache-m2-snapshot-plugin</id> |
| <name>Apache Snapshot Repository</name> |
| <url>http://repository.apache.org/snapshots</url> |
| </pluginRepository> |
| </pluginRepositories> |
| <build> |
| <finalName>moviefun</finalName> |
| <defaultGoal>install</defaultGoal> |
| <plugins> |
| <plugin> |
| <groupId>com.googlecode.jslint4java</groupId> |
| <artifactId>jslint4java-maven-plugin</artifactId> |
| <version>2.0.5</version> |
| <configuration> |
| <failOnError>true</failOnError> |
| <options> |
| <vars>true</vars> |
| <unparam>true</unparam> |
| <predef>define,require,requirejs,window,Backbone,_,$,Handlebars,APP_CONFIG</predef> |
| <indent>4</indent> |
| </options> |
| <sourceFolders> |
| <sourceFolder>${basedir}/src/main/webapp/app/js</sourceFolder> |
| </sourceFolders> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>install</phase> |
| <goals> |
| <goal>lint</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.13</version> |
| <configuration> |
| <forkMode>always</forkMode> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.0</version> |
| <configuration> |
| <source>1.6</source> |
| <target>1.6</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.openejb.maven</groupId> |
| <artifactId>tomee-maven-plugin</artifactId> |
| <version>1.6.0.1-SNAPSHOT</version> |
| <configuration> |
| <tomeeClassifier>plus</tomeeClassifier> |
| <args>-Xmx512m -XX:PermSize=256m</args> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>javaee-api</artifactId> |
| <version>6.0-5</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.10</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>tomee-embedded</artifactId> |
| <version>${tomee.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>openejb-cxf-rs</artifactId> |
| <version>4.6.0.1-SNAPSHOT</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>tomee-jaxrs</artifactId> |
| <version>${tomee.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>ziplock</artifactId> |
| <version>1.6.0.1-SNAPSHOT</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openejb.staticweb</groupId> |
| <artifactId>static-tomee-backbone</artifactId> |
| <version>${tomee.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openejb.staticweb</groupId> |
| <artifactId>static-tomee-bootstrap</artifactId> |
| <version>${tomee.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openejb.staticweb</groupId> |
| <artifactId>static-tomee-jquery</artifactId> |
| <version>${tomee.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openejb.staticweb</groupId> |
| <artifactId>static-tomee-handlebars</artifactId> |
| <version>${tomee.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openejb.staticweb</groupId> |
| <artifactId>static-tomee-json2</artifactId> |
| <version>${tomee.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openejb.staticweb</groupId> |
| <artifactId>static-tomee-lessjs</artifactId> |
| <version>${tomee.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openejb.staticweb</groupId> |
| <artifactId>static-tomee-requirejs</artifactId> |
| <version>${tomee.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openejb.staticweb</groupId> |
| <artifactId>static-tomee-underscorejs</artifactId> |
| <version>${tomee.version}</version> |
| </dependency> |
| </dependencies> |
| <!-- This section allows you to configure where to publish libraries for |
| sharing. It is not required and may be deleted. For more information see: |
| http://maven.apache.org/plugins/maven-deploy-plugin/ --> |
| <distributionManagement> |
| <repository> |
| <id>localhost</id> |
| <url>file://${basedir}/target/repo/</url> |
| </repository> |
| <snapshotRepository> |
| <id>localhost</id> |
| <url>file://${basedir}/target/snapshot-repo/</url> |
| </snapshotRepository> |
| </distributionManagement> |
| </project> |