| <?xml version="1.0"?> |
| <!-- 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. --> |
| <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> |
| <groupId>org.superbiz</groupId> |
| <artifactId>myfaces-codi-demo</artifactId> |
| <name>TomEE :: Examples :: JSF2/CDI/BV/JPA/CODI</name> |
| <version>8.0.7</version> |
| <packaging>war</packaging> |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <myfaces2.version>2.2.4</myfaces2.version> |
| <myfaces.codi.version>1.0.5</myfaces.codi.version> |
| <extval.version>2.0.8</extval.version> |
| </properties> |
| <build> |
| <defaultGoal>install</defaultGoal> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.5.1</version> |
| <configuration> |
| <source>1.8</source> |
| <target>1.8</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <version>3.1.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.tomee.maven</groupId> |
| <artifactId>tomee-maven-plugin</artifactId> |
| <version>8.0.7</version> |
| </plugin> |
| <plugin> |
| <groupId>org.tomitribe.transformer</groupId> |
| <artifactId>org.eclipse.transformer.maven</artifactId> |
| <version>0.1.1a</version> |
| <configuration> |
| <classifier>jakartaee9</classifier> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <phase>package</phase> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <repositories> |
| <repository> |
| <id>prime-repo</id> |
| <name>Prime Technology Maven Repository</name> |
| <url>http://repository.primefaces.org/</url> |
| <layout>default</layout> |
| </repository> |
| <repository> |
| <id>apache-m2-snapshot</id> |
| <name>Apache Snapshot Repository</name> |
| <url>https://repository.apache.org/content/groups/snapshots</url> |
| </repository> |
| </repositories> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.tomee</groupId> |
| <artifactId>javaee-api</artifactId> |
| <version>[8.0,)</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.myfaces.extensions.cdi.bundles</groupId> |
| <artifactId>myfaces-extcdi-bundle-jsf20</artifactId> |
| <version>${myfaces.codi.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.myfaces.extensions.validator</groupId> |
| <artifactId>myfaces-extval-core</artifactId> |
| <version>${extval.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.myfaces.extensions.validator.validation-modules</groupId> |
| <artifactId>myfaces-extval-property-validation</artifactId> |
| <version>${extval.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.persistence</groupId> |
| <artifactId>persistence-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.myfaces.extensions.validator.validation-modules</groupId> |
| <artifactId>myfaces-extval-bean-validation</artifactId> |
| <version>${extval.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.validation</groupId> |
| <artifactId>validation-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.myfaces.core</groupId> |
| <artifactId>myfaces-api</artifactId> |
| <version>${myfaces2.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <!-- 3rd party libs --> |
| <dependency> |
| <groupId>org.primefaces</groupId> |
| <artifactId>primefaces</artifactId> |
| <version>2.2</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> |