| |
| <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> |
| <artifactId>extscript-core</artifactId> |
| <version>1.0.3</version> |
| <packaging>jar</packaging> |
| <name>MyFaces Extension Scripting Core</name> |
| |
| <description> |
| Core of the MyFaces extensions.scripting |
| </description> |
| |
| <parent> |
| <groupId>org.apache.myfaces.extensions.scripting</groupId> |
| <artifactId>extscript-core-root</artifactId> |
| <version>1.0.3</version> |
| </parent> |
| |
| <scm> |
| <connection> |
| scm:svn:http://svn.apache.org/repos/asf/myfaces/extensions/scripting/tags/extscript-root-1.0.3/extscript-core-root/extscript-core |
| </connection> |
| <developerConnection> |
| scm:svn:https://svn.apache.org/repos/asf/myfaces/extensions/scripting/tags/extscript-root-1.0.3/extscript-core-root/extscript-core |
| </developerConnection> |
| <url>http://svn.apache.org/viewvc/myfaces/extensions/scripting/tags/extscript-root-1.0.3/extscript-core-root/extscript-core</url> |
| </scm> |
| |
| |
| |
| <dependencies> |
| |
| <dependency> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy-all</artifactId> |
| <version>${groovy.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.myfaces.core</groupId> |
| <artifactId>myfaces-api</artifactId> |
| <version>${myfaces2.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.myfaces.core</groupId> |
| <artifactId>myfaces-impl</artifactId> |
| <version>${myfaces2.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| |
| <dependency> |
| <groupId>commons-beanutils</groupId> |
| <artifactId>commons-beanutils</artifactId> |
| <version>1.8.0</version> |
| </dependency> |
| |
| <!-- asm dependency readded for class scanning --> |
| <dependency> |
| <groupId>asm</groupId> |
| <artifactId>asm</artifactId> |
| <version>3.2</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.3</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.xml.stream</groupId> |
| <artifactId>stax-api</artifactId> |
| <version>1.0-2</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>stax</groupId> |
| <artifactId>stax</artifactId> |
| <version>1.2.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy-all</artifactId> |
| <version>${groovy.version}</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| |
| <!-- To define the plugin version in your parent POM --> |
| |
| |
| <plugins> |
| |
| <plugin> |
| <groupId>org.codehaus.gmaven</groupId> |
| <artifactId>gmaven-plugin</artifactId> |
| <version>1.2</version> |
| <configuration> |
| |
| <providerSelection>1.7</providerSelection> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>generateStubs</goal> |
| <goal>compile</goal> |
| <goal>generateTestStubs</goal> |
| <goal>testCompile</goal> |
| </goals> |
| </execution> |
| </executions> |
| <dependencies> |
| <dependency> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy-all</artifactId> |
| <version>${groovy.version}</version> |
| </dependency> |
| <!-- |
| <dependency> |
| <groupId>org.codehaus.gmaven.runtime</groupId> |
| <artifactId>gmaven-runtime-1.7</artifactId> |
| <version>1.2</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy-all</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| --> |
| </dependencies> |
| </plugin> |
| |
| <!-- |
| we reuse the maven shader plugin to get rid of the |
| asm transitive dependency in the final build |
| what we will do simply is to relocate the original |
| asm packages into our own namespace to avoid |
| name conflicts |
| --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>1.3.1</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <artifactSet> |
| <includes> |
| <artifact>asm:asm</artifact> |
| </includes> |
| </artifactSet> |
| <relocations> |
| <relocation> |
| <pattern>org.objectweb.asm</pattern> |
| <shadedPattern>org.apache.myfaces.extensions.scripting.org.objectweb.asm</shadedPattern> |
| </relocation> |
| </relocations> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <!-- |
| - Build and install into the repository some additional artifacts that we don't |
| - want to build during normal development because they take too long. |
| --> |
| <id>generate-assembly</id> |
| <activation> |
| <property> |
| <name>performRelease</name> |
| <value>true</value> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <!-- Install in the repository a "-javadoc.jar" file --> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.4</version> |
| <executions> |
| <execution> |
| <id>attach-javadoc</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <!-- Install in the repository a "-sources.jar" file --> |
| <artifactId>maven-source-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-source</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |