mirror of https://github.com/jenkinsci/jenkins.git
285 lines
9.3 KiB
XML
285 lines
9.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
The MIT License
|
|
|
|
Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, id:sorokh
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
all copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
THE SOFTWARE.
|
|
-->
|
|
<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.jvnet.hudson</groupId>
|
|
<artifactId>hudson</artifactId>
|
|
<version>1.7</version>
|
|
<relativePath>../pom.xml</relativePath>
|
|
</parent>
|
|
|
|
<groupId>org.jvnet.hudson.main</groupId>
|
|
<artifactId>pom</artifactId>
|
|
<version>1.318</version>
|
|
<packaging>pom</packaging>
|
|
|
|
<name>Hudson main module</name>
|
|
<description>The module that constitutes the main hudson.war</description>
|
|
|
|
<modules>
|
|
<module>remoting</module>
|
|
<module>core</module>
|
|
<module>maven-plugin</module>
|
|
<module>maven-agent</module>
|
|
<module>maven-interceptor</module>
|
|
<module>war</module>
|
|
<module>test</module>
|
|
<module>cli</module>
|
|
</modules>
|
|
|
|
<scm>
|
|
<!-- release comes from the RC branch now -->
|
|
<connection>scm:svn:https://guest@svn.dev.java.net/svn/hudson/tags/hudson-1_318</connection>
|
|
<developerConnection>scm:svn:https://svn.dev.java.net/svn/hudson/tags/hudson-1_318</developerConnection>
|
|
<url>https://hudson.dev.java.net/source/browse/hudson/tags/hudson-1_318</url>
|
|
</scm>
|
|
|
|
<build>
|
|
<defaultGoal>install</defaultGoal>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.kohsuke.gmaven</groupId>
|
|
<artifactId>gmaven-plugin</artifactId>
|
|
<version>1.0-rc-5-patch-2</version>
|
|
<dependencies>
|
|
<dependency><!-- this needs to be visible to Ant inside GMaven, so has to be a plugin dependency -->
|
|
<groupId>org.apache.ant</groupId>
|
|
<artifactId>ant-junit</artifactId>
|
|
<version>1.7.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.sourceforge.cobertura</groupId>
|
|
<artifactId>cobertura</artifactId>
|
|
<version>1.9</version>
|
|
</dependency>
|
|
<dependency>
|
|
<!-- this provided scope dependency doesn't get added to GMaven unless explicitly added here -->
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
<version>2.4</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jvnet.maven-antrun-extended-plugin</groupId>
|
|
<artifactId>maven-antrun-extended-plugin</artifactId>
|
|
<version>1.39</version>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>2.5</version>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>2.0-beta-9</version>
|
|
<configuration>
|
|
<!-- enable release profile during the release, create IPS package, and sign bits. -->
|
|
<prepareVerifyArgs>-P release,ips,sign</prepareVerifyArgs>
|
|
<!--
|
|
also run assembly during the release.
|
|
http://www.nabble.com/Release-Plugin%3A-Include-assemblies-for-deploying-tf2642295s177.html#a7377938
|
|
-->
|
|
<goals>-DskipTests install javadoc:javadoc animal-sniffer:check assembly:attached deploy javadoc:aggregate</goals>
|
|
<remoteTagging>true</remoteTagging><!-- work around http://jira.codehaus.org/browse/SCM-406 -->
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<inherited>false</inherited>
|
|
<configuration>
|
|
<finalName>hudson-${version}</finalName>
|
|
<descriptors>
|
|
<descriptor>assembly-src.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-remote-resources-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>process</goal>
|
|
</goals>
|
|
<configuration>
|
|
<resourceBundles>
|
|
<resourceBundle>org.jvnet.hudson:license:1.0</resourceBundle>
|
|
</resourceBundles>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<!-- make sure our code doesn't have 1.6 dependencies except where we know it -->
|
|
<groupId>org.jvnet</groupId>
|
|
<artifactId>animal-sniffer</artifactId>
|
|
<version>1.2</version>
|
|
<configuration>
|
|
<signature>
|
|
<groupId>org.jvnet.animal-sniffer</groupId>
|
|
<artifactId>java1.5</artifactId>
|
|
<version>1.0</version>
|
|
</signature>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin><!-- we specify this in the parent POM, so this is redundant, but otherwise IntelliJ is unhappy -->
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>1.5</source>
|
|
<target>1.5</target>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<!-- There is a bug in JDK 1.5's compiler therefore need to compile with 1.6 -->
|
|
<requireJavaVersion>
|
|
<version>[1.6.0,]</version>
|
|
</requireJavaVersion>
|
|
</rules>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<!--<plugin>
|
|
<groupId>org.jvnet.fix1600</groupId>
|
|
<artifactId>fix1600</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>fix</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>-->
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<!-- for JRE requirement check annotation -->
|
|
<groupId>org.jvnet</groupId>
|
|
<artifactId>animal-sniffer-annotation</artifactId>
|
|
<version>1.0</version>
|
|
<optional>true</optional><!-- no need to have this at runtime -->
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<properties>
|
|
<maven.version>2.0.9</maven.version>
|
|
<maven.embedder.version>2.0.4</maven.embedder.version>
|
|
</properties>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>debug</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
<properties>
|
|
<hudson.sign.alias>hudson</hudson.sign.alias>
|
|
<hudson.sign.keystore>../dummy.keystore</hudson.sign.keystore>
|
|
<hudson.sign.storepass>hudson</hudson.sign.storepass>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>sorcerer</id>
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jvnet.sorcerer</groupId>
|
|
<artifactId>maven-sorcerer-plugin</artifactId>
|
|
<version>0.8</version>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jvnet.sorcerer</groupId>
|
|
<artifactId>maven-sorcerer-plugin</artifactId>
|
|
<version>0.8</version>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>m.g.o-public</id>
|
|
<url>http://maven.glassfish.org/content/groups/public/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>m.g.o-public</id>
|
|
<url>http://maven.glassfish.org/content/groups/public/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>The MIT license</name>
|
|
<url>http://www.opensource.org/licenses/mit-license.php</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
|
|
<distributionManagement>
|
|
<site>
|
|
<id>hudson-www</id>
|
|
<url>java-net:/hudson/trunk/www/maven-site/</url>
|
|
</site>
|
|
</distributionManagement>
|
|
</project>
|