<!-- **************************************************************************
#
# Copyright (c) 2010-2011 Sonatype, Inc.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors: 
#
#   
#        
#
#************************************************************************** --> 


<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.eclipse.hudson.main</groupId>
        <artifactId>hudson-rest</artifactId>
        <version>3.0.1</version>
    </parent>

    <artifactId>hudson-rest-model</artifactId>
    <name>Hudson :: REST :: Model</name>

    <dependencies>
        <dependency>
            <groupId>com.flipthebird.gwt-hashcode-equals</groupId>
            <artifactId>gwt-hashcode-equals</artifactId>
        </dependency>

        <dependency>
            <groupId>org.codehaus.jackson</groupId>
            <artifactId>jackson-core-asl</artifactId>
            <optional>true</optional>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.jvnet.jaxb2.maven2</groupId>
                <artifactId>maven-jaxb2-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>generate</goal>
                        </goals>
                        <configuration>
                            <plugins>
                                <plugin>
                                    <groupId>org.eclipse.hudson.main</groupId>
                                    <artifactId>hudson-jaxb-xjc</artifactId>
                                    <version>${hudson.jaxb.version}</version>
                                </plugin>
                            </plugins>

                            <args>
                                <arg>-Xannotate</arg>
                                <arg>-Xfluent-api</arg>
                                <arg>-XjsonProperty</arg>
                                <arg>-XequalsBuilder</arg>
                                <arg>-XhashCodeBuilder</arg>
                            </args>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
    
</project>
