mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-09 18:16:10 +00:00
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'source'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Test harness for Hudson and plugins
[INFO] task-segment: [source:jar, install]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing source:jar
[INFO] [enforcer:enforce {execution: default}]
[INFO] [enforcer:display-info {execution: default}]
[INFO] Maven Version: 2.2.1
[INFO] JDK Version: 1.6.0_19 normalized as: 1.6.0-19
[INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
[INFO] [source:jar {execution: default-cli}]
[INFO] Building jar: C:\cygwin\home\kkawaguchi\ws\hudson\hudson\main\test\target\hudson-test-harness-1.356-SNAPSHOT-sources.jar
[INFO] [enforcer:enforce {execution: default}]
[INFO] [enforcer:display-info {execution: default}]
[INFO] Maven Version: 2.2.1
[INFO] JDK Version: 1.6.0_19 normalized as: 1.6.0-19
[INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process {execution: default}]
[INFO] inceptionYear not specified, defaulting to 2010
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] [groovy:execute {execution: preset-packager}]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO]
Illegal character in path at index 18: file:/C:/Documents and Settings/kkawaguchi/.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException
at org.codehaus.groovy.maven.plugin.MojoSupport.execute(MojoSupport.java:85)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
... 17 more
Caused by: java.lang.IllegalArgumentException
at java.net.URI.create(URI.java:842)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.launch.Locator.fromURI(Locator.java:162)
at org.apache.tools.ant.launch.Locator.getResourceSource(Locator.java:119)
at org.apache.tools.ant.launch.Locator.getClassSource(Locator.java:90)
at org.apache.tools.ant.Project.setAntLib(Project.java:313)
at org.apache.tools.ant.Project.initProperties(Project.java:309)
at org.apache.tools.ant.Project.init(Project.java:295)
at groovy.util.AntBuilder.createProject(AntBuilder.java:140)
at groovy.util.AntBuilder.<init>(AntBuilder.java:69)
at org.codehaus.groovy.maven.runtime.v1_6.ScriptExecutorFeature$ScriptExecutorImpl.createAntBuilder(ScriptExecutorFeature.java:84)
at org.codehaus.groovy.maven.runtime.v1_6.ScriptExecutorFeature$ScriptExecutorImpl.createMagicAttribute(ScriptExecutorFeature.java:101)
at org.codehaus.groovy.maven.runtime.support.ScriptExecutorSupport.applyContext(ScriptExecutorSupport.java:108)
at org.codehaus.groovy.maven.runtime.support.ScriptExecutorSupport.execute(ScriptExecutorSupport.java:69)
at org.codehaus.groovy.maven.plugin.execute.ExecuteMojo.process(ExecuteMojo.java:200)
at org.codehaus.groovy.maven.plugin.ComponentMojoSupport.doExecute(ComponentMojoSupport.java:60)
at org.codehaus.groovy.maven.plugin.MojoSupport.execute(MojoSupport.java:69)
... 19 more
Caused by: java.net.URISyntaxException: Illegal character in path at index 18: file:/C:/Documents and Settings/kkawaguchi/.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar
at java.net.URI$Parser.fail(URI.java:2809)
at java.net.URI$Parser.checkChars(URI.java:2982)
at java.net.URI$Parser.parseHierarchical(URI.java:3066)
at java.net.URI$Parser.parse(URI.java:3014)
at java.net.URI.<init>(URI.java:578)
at java.net.URI.create(URI.java:840)
... 38 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Thu Apr 22 15:20:14 PDT 2010
[INFO] Final Memory: 37M/89M
[INFO] ------------------------------------------------------------------------
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30335 71c3de6d-444a-0410-be80-ed276b4c234a
234 lines
7.8 KiB
XML
234 lines
7.8 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
The MIT License
|
|
|
|
Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi
|
|
|
|
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">
|
|
<parent>
|
|
<artifactId>pom</artifactId>
|
|
<groupId>org.jvnet.hudson.main</groupId>
|
|
<version>1.356-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>org.jvnet.hudson.main</groupId>
|
|
<artifactId>hudson-test-harness</artifactId>
|
|
<packaging>stapler-jar</packaging>
|
|
<name>Test harness for Hudson and plugins</name>
|
|
<description>
|
|
Unit test harness (src/main) and Unit tests for Hudson core (src/test)
|
|
</description>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<skip>true</skip><!-- tests now run by maven-junit-plugin -->
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<!-- see http://maven-junit-plugin.kenai.com/ for more info -->
|
|
<groupId>com.sun.maven</groupId>
|
|
<artifactId>maven-junit-plugin</artifactId>
|
|
<version>1.2</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>test</goal>
|
|
</goals>
|
|
<configuration>
|
|
<fork>true</fork>
|
|
<concurrency>1</concurrency> <!-- -1 means # of processors in the system -->
|
|
<argLine>-XX:MaxPermSize=192m -Dfile.encoding=UTF-8</argLine>
|
|
<systemProperties>
|
|
<property>
|
|
<!-- use AntClassLoader that supports predictable file handle release -->
|
|
<name>hudson.ClassicPluginStrategy.useAntClassLoader</name>
|
|
<value>true</value>
|
|
</property>
|
|
</systemProperties>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.kohsuke.gmaven</groupId>
|
|
<artifactId>gmaven-plugin</artifactId>
|
|
<version>1.0-rc-5-patch-2</version>
|
|
<executions>
|
|
<execution>
|
|
<id>preset-packager</id>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>execute</goal>
|
|
</goals>
|
|
<configuration>
|
|
<source>${pom.basedir}/src/main/preset-data/package.groovy</source>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>test-in-groovy</id>
|
|
<!-- allow tests written in Groovy -->
|
|
<goals>
|
|
<goal>generateTestStubs</goal>
|
|
<goal>testCompile</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.ant</groupId>
|
|
<artifactId>ant</artifactId>
|
|
<version>1.8.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.kohsuke.stapler</groupId>
|
|
<artifactId>maven-stapler-plugin</artifactId>
|
|
<version>1.14</version>
|
|
<extensions>true</extensions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<!--
|
|
put hudson.war in the classpath. we can't pull in the war artifact directly
|
|
because Maven excludes all wars from classpath automatically. so we need a jar artifact.
|
|
-->
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>hudson-war</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>war-for-test</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>maven-plugin</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jvnet.hudson.plugins</groupId>
|
|
<artifactId>subversion</artifactId>
|
|
<version>1.11</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
<artifactId>jetty</artifactId>
|
|
<version>6.1.11</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jvnet.mock-javamail</groupId>
|
|
<artifactId>mock-javamail</artifactId>
|
|
<version>1.7</version>
|
|
</dependency>
|
|
<!--dependency>
|
|
<groupId>org.openqa.selenium.client-drivers</groupId>
|
|
<artifactId>selenium-java-client-driver</artifactId>
|
|
<version>1.0-beta-1</version>
|
|
</dependency-->
|
|
<dependency>
|
|
<groupId>org.jvnet.hudson</groupId>
|
|
<artifactId>htmlunit</artifactId>
|
|
<version>2.6-hudson-2</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<!-- hides JDK DOM classes in Eclipse -->
|
|
<groupId>xml-apis</groupId>
|
|
<artifactId>xml-apis</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.jvnet.hudson</groupId>
|
|
<artifactId>embedded-rhino-debugger</artifactId>
|
|
<version>1.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<!-- for testing JNLP launch. -->
|
|
<groupId>org.jvnet.hudson</groupId>
|
|
<artifactId>netx</artifactId>
|
|
<version>0.5-hudson-2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>3.8.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.easymock</groupId>
|
|
<artifactId>easymock</artifactId>
|
|
<version>2.4</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>light-test</id>
|
|
<properties>
|
|
<skipTests>true</skipTests>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<!--
|
|
Obtain code coverage report. This is done by running Unit tests on our own and suppressing surefire.
|
|
-->
|
|
<id>cobertura</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.kohsuke.gmaven</groupId>
|
|
<artifactId>gmaven-plugin</artifactId>
|
|
<executions>
|
|
<!-- run unit test -->
|
|
<execution>
|
|
<phase>test</phase>
|
|
<goals>
|
|
<goal>execute</goal>
|
|
</goals>
|
|
<configuration>
|
|
<scriptpath>
|
|
<!-- load helpers from hg core -->
|
|
<element>${project.basedir}/../core/src/build-script</element>
|
|
</scriptpath>
|
|
<source>${project.basedir}/src/build-script/unitTest.groovy</source>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<!-- unit tests are run by GMaven through Ant. -->
|
|
<groupId>com.sun.maven</groupId>
|
|
<artifactId>maven-junit-plugin</artifactId>
|
|
<configuration>
|
|
<skipTests>true</skipTests>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|