<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.jenkins-ci.plugins</groupId>
        <artifactId>plugin</artifactId>
        <version>1.608</version><!-- which version of Jenkins is this plugin built against? -->
    </parent>

    <artifactId>websphere-deployer</artifactId>
    <version>1.3.4</version>
    <packaging>hpi</packaging>
    <name>WebSphere Deployer Plugin</name>
    <inceptionYear>2013</inceptionYear>
    <url>https://wiki.jenkins-ci.org/display/JENKINS/WebSphere+Deployer+Plugin</url>
    
    <profiles>
    	<profile>
    		<id>BUILD</id>
			<dependencies>
		        <dependency>
		            <groupId>com.ibm.ws</groupId>
		            <artifactId>admin</artifactId>
		            <version>8.5.0</version>
		            <scope>provided</scope>
		        </dependency>
		        <dependency>
		            <groupId>com.ibm.ws</groupId>
		            <artifactId>orb</artifactId>
		            <version>8.5.0</version>
		            <scope>provided</scope>
		        </dependency>
		        <dependency>
		            <groupId>com.ibm.ws</groupId>
		            <artifactId>liberty-connector</artifactId>
		            <version>8.5.5</version>
		            <scope>provided</scope>
		        </dependency>
		        <dependency>
		            <groupId>com.ibm.ws</groupId>
		            <artifactId>liberty-rest-connector</artifactId>
		            <version>8.5.5</version>
		            <scope>provided</scope>
		        </dependency>
		        <dependency>
		            <groupId>com.ibm.ws</groupId>
		            <artifactId>liberty-basic</artifactId>
		            <version>8.5.5</version>
		            <scope>provided</scope>
		        </dependency>
		        <dependency>
		            <groupId>com.ibm.ws</groupId>
		            <artifactId>liberty-endpoint</artifactId>
		            <version>8.5.5</version>
		            <scope>provided</scope>
		        </dependency> 		        
			</dependencies>       		
    	</profile>
    	<profile>
    		<!-- Use this profile for testing to prevent classloader issues with the following dependencies -->
    		<id>TEST-WAS</id>
    		<activation>
    			<activeByDefault>true</activeByDefault>
    		</activation>
			<dependencies>
		        <dependency>
		            <groupId>com.ibm.ws</groupId>
		            <artifactId>admin</artifactId>
		            <version>8.5.0</version>
		            <scope>compile</scope>
		        </dependency>
		        <dependency>
		            <groupId>com.ibm.ws</groupId>
		            <artifactId>orb</artifactId>
		            <version>8.5.0</version>
		            <scope>compile</scope>
		        </dependency>
		        <dependency>
		            <groupId>com.ibm.ws</groupId>
		            <artifactId>liberty-connector</artifactId>
		            <version>8.5.5</version>
		            <scope>provided</scope>
		        </dependency>
		        <dependency>
		            <groupId>com.ibm.ws</groupId>
		            <artifactId>liberty-rest-connector</artifactId>
		            <version>8.5.5</version>
		            <scope>provided</scope>
		        </dependency>
		        <dependency>
		            <groupId>com.ibm.ws</groupId>
		            <artifactId>liberty-basic</artifactId>
		            <version>8.5.5</version>
		            <scope>provided</scope>
		        </dependency>
		        <dependency>
		            <groupId>com.ibm.ws</groupId>
		            <artifactId>liberty-endpoint</artifactId>
		            <version>8.5.5</version>
		            <scope>provided</scope>
		        </dependency> 		        
			</dependencies>    		
    	</profile>
    	<profile>
    		<id>TEST-LIBERTY</id>
    		<dependencies>
		        <dependency>
		            <groupId>com.ibm.ws</groupId>
		            <artifactId>admin</artifactId>
		            <version>8.5.0</version>
		            <scope>provided</scope>
		        </dependency>
		        <dependency>
		            <groupId>com.ibm.ws</groupId>
		            <artifactId>orb</artifactId>
		            <version>8.5.0</version>
		            <scope>provided</scope>
		        </dependency>    		
		        <dependency>
		            <groupId>com.ibm.ws</groupId>
		            <artifactId>liberty-connector</artifactId>
		            <version>8.5.5</version>
		            <scope>compile</scope>
		        </dependency>
		        <dependency>
		            <groupId>com.ibm.ws</groupId>
		            <artifactId>liberty-rest-connector</artifactId>
		            <version>8.5.5</version>
		            <scope>compile</scope>
		        </dependency>
		        <dependency>
		            <groupId>com.ibm.ws</groupId>
		            <artifactId>liberty-basic</artifactId>
		            <version>8.5.5</version>
		            <scope>compile</scope>
		        </dependency>
		        <dependency>
		            <groupId>com.ibm.ws</groupId>
		            <artifactId>liberty-endpoint</artifactId>
		            <version>8.5.5</version>
		            <scope>compile</scope>
		        </dependency>    		
    		</dependencies>
    	</profile>
    </profiles>

    <description>
        Deploys your web artifacts locally or remotely to IBM WebSphere Application Server or IBM WebSphere Liberty Profile
    </description>

    <licenses>
        <license>
            <name>The MIT License</name>
            <url>http://www.opensource.org/licenses/mit-license.php</url>
            <distribution>repo</distribution>
        </license>
    </licenses>

    <developers>
        <developer>
            <name>Greg Peters</name>
            <email>gregpeters00@gmail.com</email>
            <url>drivebiz.blogspot.com</url>
            <timezone>-5</timezone>
            <roles>
                <role>Lead Developer</role>
            </roles>
        </developer>
        <developer>
            <name>Valerio Ponte</name>
            <timezone>+1</timezone>
            <roles>
                <role>Contributor</role>
            </roles>
        </developer>
    </developers>

    <scm>
        <connection>scm:git:ssh://github.com/jenkinsci/websphere-deployer-plugin.git</connection>
        <developerConnection>scm:git:ssh://git@github.com/jenkinsci/websphere-deployer-plugin.git</developerConnection>
        <url>https://github.com/jenkinsci/websphere-deployer-plugin</url>
      <tag>websphere-deployer-1.3.4</tag>
  </scm>

    <build>
        <plugins>
            <plugin>
                <groupId>org.jenkins-ci.tools</groupId>
                <artifactId>maven-hpi-plugin</artifactId>
                <configuration>
                    <pluginFirstClassLoader>true</pluginFirstClassLoader>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>commons-lang</groupId>
            <artifactId>commons-lang</artifactId>
            <version>2.5</version>
        </dependency>
    </dependencies>

    <repositories>
        <repository>
            <id>repo.jenkins-ci.org</id>
            <url>http://repo.jenkins-ci.org/public/</url>
        </repository>
    </repositories>

    <pluginRepositories>
        <pluginRepository>
            <id>repo.jenkins-ci.org</id>
            <url>http://repo.jenkins-ci.org/public/</url>
        </pluginRepository>
    </pluginRepositories>

</project>
