
<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>
  <groupId>net.java.dev.jaxb2-commons</groupId>
  <artifactId>jaxb-fluent-api</artifactId>
  <packaging>jar</packaging>
  <version>2.1.8</version>
  <name>Jaxb RI 2.1.8 Fluent API Plugin</name>
  <url>https://jaxb2-commons.dev.java.net/fluent-api</url>
  <description>
	  Causes JAXB RI 2.1.8 XJC to generate additional methods that allows method chaining.
	  Method chaining is useful when building object tree in memory, 
	  allowing the code to be done in a concise way. 
	  The code that uses this plugin can still run with any JAXB2 implementation.
  </description>
  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <scm>
    <url>https://jaxb2-commons.dev.java.net/source/browse/jaxb2-commons/fluent-api/</url>
  </scm>
  <dependencies>
    <dependency>  
      <groupId>com.sun.xml.bind</groupId>
      <artifactId>jaxb-xjc</artifactId>
      <version>2.1.8</version>
    </dependency>  
  </dependencies>
  <build>
    <extensions>
      <extension>
        <groupId>org.jvnet.wagon-svn</groupId>
        <artifactId>wagon-svn</artifactId>
        <version>1.9</version>
      </extension>
    </extensions>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
      <!-- fake out maven and install the binary artifact -->
      <plugin>
        <groupId>org.jvnet.maven-antrun-extended-plugin</groupId>
        <artifactId>maven-antrun-extended-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>run</goal>
            </goals>
            <configuration>
              <tasks>
                <mkdir dir="target" />
                <unzip src="maven-jaxb-fluent-api-${project.version}.jar" dest="target" />
                <attachArtifact file="target/jaxb-fluent-api-${project.version}.jar" />
                <attachArtifact file="target/jaxb-fluent-api-${project.version}-sources.jar" classifier="sources" type="jar" />
              </tasks>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

  <repositories>
    <repository>
      <id>maven2-repository.dev.java.net</id>
      <name>Java.net Repository for Maven</name>
      <url>http://download.java.net/maven/2/</url>
    </repository>
  </repositories>

  <pluginRepositories>
    <pluginRepository>
      <id>maven2-repository.dev.java.net</id>
      <name>Java.net Repository for Maven</name>
      <url>http://download.java.net/maven/2/</url>
    </pluginRepository>
  </pluginRepositories>
    
  <distributionManagement>
    <repository>
      <uniqueVersion>false</uniqueVersion>
      <id>java.net-maven2-repository</id>
      <url>java-net:/maven2-repository/trunk/www/repository/</url>
    </repository>
  </distributionManagement>
</project>
