| <?xml version="1.0" encoding="UTF-8"?> |
| <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"> |
| |
| <groupId>org.apache.maven.its.mgn3426</groupId> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>mng-issue-3426</artifactId> |
| <packaging>jar</packaging> |
| <name>Issue 3426</name> |
| <version>SNAPSHOT</version> |
| <description><![CDATA[Demonstration of issue 3426.]]></description> |
| |
| <build> |
| <plugins> |
| <!-- Castor code generator includes in generated files Header the version of castor used |
| during code generation. With the following configuration we expect castor 1.1.1 to |
| generate code. On maven 2.0.8 plugin uses castor 1.1.2.1 as specified in plugin POM |
| --> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>castor-maven-plugin</artifactId> |
| <version>2.0-alpha1</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.codehaus.castor</groupId> |
| <artifactId>castor-codegen</artifactId> |
| <version>1.1.1</version> |
| <!--JTA isn't in the repo and isn't needed for this test--> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.transaction</groupId> |
| <artifactId>jta</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |