| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed 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. |
| --> |
| <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>tomee</artifactId> |
| <groupId>org.apache.tomee</groupId> |
| <version>8.0.7-SNAPSHOT</version> |
| </parent> |
| <artifactId>tomee-webaccess</artifactId> |
| <packaging>war</packaging> |
| <name>TomEE :: TomEE :: webaccess</name> |
| <properties> |
| <tomee.build.name>${project.groupId}.tomee.webaccess</tomee.build.name> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| </properties> |
| <profiles> |
| <profile> |
| <id>java9</id> |
| <activation> |
| <jdk>9</jdk> |
| </activation> |
| <properties> |
| <version.groovy>2.5.0-alpha-1</version.groovy> |
| </properties> |
| </profile> |
| <profile> |
| <id>tomee</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| </profile> |
| </profiles> |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.jboss.shrinkwrap.resolver</groupId> |
| <artifactId>shrinkwrap-resolver-bom</artifactId> |
| <version>${version.shrinkwrap.resolver.bom}</version> |
| <scope>import</scope> |
| <type>pom</type> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.arquillian</groupId> |
| <artifactId>arquillian-bom</artifactId> |
| <version>${version.arquillian.bom}</version> |
| <scope>import</scope> |
| <type>pom</type> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-servlet-api</artifactId> |
| <version>${tomcat.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>tomee-embedded</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>openejb-cxf-rs</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>arquillian-tomee-embedded</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-websocket</artifactId> |
| <version>${tomcat.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>tomee-webservices</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>ziplock</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>${commons-io.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| <version>4.3.2</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars</groupId> |
| <artifactId>backbonejs</artifactId> |
| <version>1.0.0</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars</groupId> |
| <artifactId>bootstrap</artifactId> |
| <version>3.1.0</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars</groupId> |
| <artifactId>jquery</artifactId> |
| <version>2.1.0-1</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars</groupId> |
| <artifactId>handlebars</artifactId> |
| <version>1.2.1</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars</groupId> |
| <artifactId>json2</artifactId> |
| <version>20110223</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars</groupId> |
| <artifactId>less</artifactId> |
| <version>1.6.0-1</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars</groupId> |
| <artifactId>requirejs</artifactId> |
| <version>2.1.10</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars</groupId> |
| <artifactId>requirejs-text</artifactId> |
| <version>2.0.10</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars</groupId> |
| <artifactId>underscorejs</artifactId> |
| <version>1.5.2-2</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars</groupId> |
| <artifactId>underscore.string</artifactId> |
| <version>2.3.0</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars</groupId> |
| <artifactId>codemirror</artifactId> |
| <version>3.21</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>commons-codec</groupId> |
| <artifactId>commons-codec</artifactId> |
| <version>${commons-codec.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>openejb-core</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>openejb-server</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>javaee-api</artifactId> |
| <version>${version.javaee-api}</version> |
| <classifier>tomcat</classifier> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy-jsr223</artifactId> |
| <version>${version.groovy}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy-json</artifactId> |
| <version>${version.groovy}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.ivy</groupId> |
| <artifactId>ivy</artifactId> |
| <version>2.3.0</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomee.bom</groupId> |
| <artifactId>jaxb-runtime</artifactId> |
| <type>pom</type> |
| <exclusions> |
| <exclusion> <!-- Is already included in java-ee-api --> |
| <artifactId>jakarta.activation</artifactId> |
| <groupId>jakarta.activation-api</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${surefire.version}</version> |
| <configuration> |
| <systemPropertyVariables> |
| <arquillian.tomee.path>${project.basedir}/target/arquillian-tomee</arquillian.tomee.path> |
| <java.security.auth.login.config>${project.basedir}/target/arquillian-tomee/conf/login.config</java.security.auth.login.config> |
| </systemPropertyVariables> |
| <reuseForks>true</reuseForks> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>com.googlecode.jslint4java</groupId> |
| <artifactId>jslint4java-maven-plugin</artifactId> |
| <dependencies> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| <version>3.0.24</version> |
| </dependency> |
| </dependencies> |
| <configuration> |
| <failOnError>true</failOnError> |
| <options> |
| <vars>true</vars> |
| <unparam>true</unparam> |
| <predef>define,require,requirejs,window,Backbone,_,$,Handlebars,CodeMirror,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.codehaus.gmavenplus</groupId> |
| <artifactId>gmavenplus-plugin</artifactId> |
| <version>1.5</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>compile</goal> |
| <goal>testCompile</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.tomee.maven</groupId> |
| <artifactId>tomee-maven-plugin</artifactId> |
| <version>${project.version}</version> |
| <configuration> |
| <simpleLog>true</simpleLog> |
| <context>webaccess</context> |
| <tomeeClassifier>webprofile</tomeeClassifier> |
| <config>${project.basedir}/src/main/tomee/conf</config> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>codenarc-maven-plugin</artifactId> |
| <version>0.18-1</version> |
| <configuration> |
| <sourceDirectory>${project.basedir}/src/main/groovy</sourceDirectory> |
| <groovyVersion>${version.groovy}</groovyVersion> |
| <codeNarcVersion>0.20</codeNarcVersion> |
| <maxPriority1Violations>0</maxPriority1Violations> |
| <maxPriority2Violations>0</maxPriority2Violations> |
| <maxPriority3Violations>0</maxPriority3Violations> |
| <rulesetfiles> |
| rulesets/basic.xml,rulesets/exceptions.xml,rulesets/imports.xml,rulesets/unnecessary.xml,rulesets/convention.xml |
| </rulesetfiles> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |