Files
jenkins/pom.xml
T
kohsuke 45b4264920 enforcer rule should cover the whole core, since the remoting bulid fails on some JDK5 versions.
----------
[INFO] ----------------------------------------------------------------------------
[INFO] Building Hudson remoting layer
[INFO]    task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from m.g.o-public
[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for updates from m.g.o-public
[INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for updates from m.g.o-public
[INFO] [enforcer:display-info {execution: default}]
[INFO] Maven Version: 2.0.7
[INFO] JDK Version: 1.5.0_06 normalized as: 1.5.0-6
[INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 2.6.27-11-generic
[INFO] [remote-resources:process {execution: default}]
[INFO] inceptionYear not specified, defaulting to 2009
[INFO] [resources:resources]
[WARNING] Using platform encoding (ISO-8859-1 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] [compiler:compile]
[INFO] Compiling 46 source files to /files/hudson/workspace/hudson-cobertura/main/remoting/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/files/hudson/workspace/hudson-cobertura/main/remoting/src/main/java/hudson/remoting/Request.java:[133,16] unreported exception java.lang.Throwable; must be caught or declared to be thrown



/files/hudson/workspace/hudson-cobertura/main/remoting/src/main/java/hudson/remoting/Request.java:[133,16] unreported exception java.lang.Throwable; must be caught or declared to be thrown


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11 seconds
[INFO] Finished at: Wed Mar 25 09:42:20 PDT 2009
[INFO] Final Memory: 40M/207M
[INFO] ------------------------------------------------------------------------
Finished: FAILURE


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16536 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-25 16:46:42 +00:00

244 lines
7.8 KiB
XML

<!--
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.294-SNAPSHOT</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-agent</module>
<module>maven-interceptor</module>
<module>war</module>
<module>test</module>
</modules>
<scm>
<connection>scm:svn:https://guest@svn.dev.java.net/svn/hudson/trunk/hudson/main/</connection>
<developerConnection>scm:svn:https://svn.dev.java.net/svn/hudson/trunk/hudson/main/</developerConnection>
<url>https://hudson.dev.java.net/source/browse/hudson/trunk/hudson/main</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>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>2.0-beta-8</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>install javadoc:javadoc animal-sniffer:check assembly:attached deploy</goals>
</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.4</maven.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>
</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>