| <?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. |
| --> |
| <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> |
| |
| <parent> |
| <groupId>org.apache.myfaces.buildtools</groupId> |
| <artifactId>myfaces-plugin-parent</artifactId> |
| <version>1.0.5</version> |
| <relativePath>../myfaces-plugin-parent/pom.xml</relativePath> |
| </parent> |
| |
| <groupId>org.apache.myfaces.buildtools</groupId> |
| <artifactId>myfaces-javascript-plugin</artifactId> |
| <version>1.0.3-SNAPSHOT</version> |
| <packaging>maven-plugin</packaging> |
| <name>Apache MyFaces Buildtools Maven2 Javascript Plugin</name> |
| |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-javascript-plugin</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-javascript-plugin</developerConnection> |
| <url>http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-javascript-plugin</url> |
| </scm> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <inherited>true</inherited> |
| <configuration> |
| <source>1.6</source> |
| <target>1.6</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.myfaces.buildtools</groupId> |
| <artifactId>myfaces-javacc-plugin</artifactId> |
| <version>1.0.0</version> |
| <configuration> |
| <sourceDirectory>src/main/java</sourceDirectory> |
| <sourcePath>org/apache/myfaces/buildtools/maven2/plugin/javascript/obfuscator/javascript15parser</sourcePath> |
| <outputPath>org/apache/myfaces/buildtools/maven2/plugin/javascript/obfuscator/javascript15parser</outputPath> |
| <isStatic>false</isStatic> |
| <doNotGenerateTokenFile>true</doNotGenerateTokenFile> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>generate</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <!-- |
| - Override checkstyle config file definitions from parent pom. The source of |
| - this project is not compliant with the normal MyFaces code style rules, and |
| - probably never will be. |
| --> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.2</version> |
| <configuration> |
| <configLocation>default/myfaces-checks-minimal.xml</configLocation> |
| <headerLocation>default/myfaces-header-spaces.txt</headerLocation> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.modello</groupId> |
| <artifactId>modello-maven-plugin</artifactId> |
| <version>1.0.1</version> |
| <executions> |
| <execution> |
| <id>descriptor</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>xpp3-reader</goal> |
| <goal>java</goal> |
| <goal>xsd</goal> |
| </goals> |
| <configuration> |
| <models> |
| <model>src/main/mdo/assembler.mdo</model> |
| </models> |
| <version>1.0.0</version> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-plugin-plugin</artifactId> |
| <version>2.5</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-plugin-api</artifactId> |
| <version>2.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-project</artifactId> |
| <version>2.0</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>2.7</version> |
| </dependency> |
| |
| <!-- codehaus javascript --> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-archiver</artifactId> |
| <version>2.2</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| <version>3.0.16</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-lang</groupId> |
| <artifactId>commons-lang</artifactId> |
| <version>2.4</version> |
| </dependency> |
| <!-- This dependency conflicts with yuicompressor |
| but we are not interested on this compressor, |
| because yuicompressor works better, |
| so we just can get rid of it. |
| <dependency> |
| <groupId>org.dojotoolkit</groupId> |
| <artifactId>custom_rhino</artifactId> |
| <version>0.9.0</version> |
| </dependency> |
| --> |
| |
| <dependency> |
| <groupId>com.yahoo.platform.yui</groupId> |
| <artifactId>yuicompressor</artifactId> |
| <version>2.3.6</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-jxpath</groupId> |
| <artifactId>commons-jxpath</artifactId> |
| <version>1.2</version> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>ant</groupId> |
| <artifactId>ant-optional</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.maven.plugin-testing</groupId> |
| <artifactId>maven-plugin-testing-harness</artifactId> |
| <version>1.2</version> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-plugin-plugin</artifactId> |
| <version>2.2</version> |
| </plugin> |
| </plugins> |
| </reporting> |
| </project> |