FYI Begin forwarded message:
> From: Dennis Lundberg <denn...@apache.org> > Date: August 14, 2011 9:58:15 AM PDT > To: bui...@apache.org > Subject: Re: [continuum] BUILD FAILURE: Apache Commons - Commons VFS - > Default Maven 2 Build Definition (Java 1.5) > Reply-To: bui...@apache.org > > Hi Ralph > > The problem is that you are referencing resources from the parent by > using the property: > > <vfs.parent.dir>${basedir}/..</vfs.parent.dir> > > When you build your project on a CI server it is not certain that the > modules of the project are laid out in that way on the file system. > Jenkins puts every module in its own directory, so the reference to the > parent will not work. But that doesn't seem to be the case for Continuum. > > The Maven way of doing this is to create a module that contains the > resources that needs to be shared, like the MANIFEST.MF in this case. > Then you add a dependency to this "shared-resources" module from the > other modules. > > For an example of this you can look at the docs for Maven Checkstyle Plugin: > > http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html > > > To me it seems that this commit is the one that made the build fail. > > http://svn.apache.org/viewvc?view=revision&revision=1157461 > > Where you are doing this: > > <commons.manifestfile>${}</commons.manifestfile> > > On 2011-08-14 16:46, Ralph Goers wrote: >> Can anyone here tell me what the problem is? >> >> Ralph >> >> On Aug 14, 2011, at 7:33 AM, sebb wrote: >> >>> Me neither - try asking on builds@a.o >>> >>> On 14 August 2011 15:29, Ralph Goers <ralph.go...@dslextreme.com> wrote: >>>> I don't understand this failure. I've run the build with both Maven 2 & 3 >>>> and it doesn't fail. The message it fails with is >>>> >>>> [INFO] [jar:jar {execution: default-jar}] >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [ERROR] BUILD ERROR >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Error assembling JAR >>>> >>>> Embedded error: Manifest file: >>>> /home/continuum/continuum-base/data/working-directory/129/core/org.apache.maven.model.Model@a00185 >>>> does not exist. >>>> Ralph >>>> >>>> On Aug 14, 2011, at 1:23 AM, Continuum@vmbuild wrote: >>>> >>>>> Online report : >>>>> http://vmbuild.apache.org/continuum/buildResult.action?buildId=11238&projectId=129 >>>>> >>>>> Build statistics: >>>>> State: Failed >>>>> Previous State: Failed >>>>> Started at: Sun 14 Aug 2011 08:20:52 +0000 >>>>> Finished at: Sun 14 Aug 2011 08:23:24 +0000 >>>>> Total time: 2m 32s >>>>> Build Trigger: Schedule >>>>> Build Number: 78 >>>>> Exit code: 1 >>>>> Building machine hostname: vmbuild >>>>> Operating system : Linux(unknown) >>>>> Java Home version : >>>>> java version "1.6.0_24" >>>>> Java(TM) SE Runtime Environment (build 1.6.0_24-b07) >>>>> Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode) >>>>> >>>>> Builder version : >>>>> Apache Maven 2.2.1 (r801777; 2009-08-06 19:16:01+0000) >>>>> Java version: 1.6.0_24 >>>>> Java home: /usr/lib/jvm/java-6-sun-1.6.0.24/jre >>>>> Default locale: en_AU, platform encoding: UTF-8 >>>>> OS name: "linux" version: "2.6.32-31-server" arch: "amd64" >>>>> Family: "unix" >>>>> >>>>> **************************************************************************** >>>>> SCM Changes: >>>>> **************************************************************************** >>>>> Changed: rgoers @ Sun 14 Aug 2011 07:30:53 +0000 >>>>> Comment: Check in release notes >>>>> Files changed: >>>>> /commons/proper/vfs/trunk/RELEASE-NOTES.txt ( 1157482 ) >>>>> /commons/proper/vfs/trunk/pom.xml ( 1157482 ) >>>>> /commons/proper/vfs/trunk/src/changes/announcement.vm ( 1157482 ) >>>>> >>>>> Changed: rgoers @ Sun 14 Aug 2011 07:43:07 +0000 >>>>> Comment: Include release notes in binary distribution >>>>> Files changed: >>>>> /commons/proper/vfs/trunk/dist/src/assembly/bin.xml ( 1157488 ) >>>>> >>>>> Changed: rgoers @ Sun 14 Aug 2011 07:53:44 +0000 >>>>> Comment: [maven-release-plugin] prepare release commons-vfs2-project-2.0 >>>>> Files changed: >>>>> /commons/proper/vfs/trunk/core/pom.xml ( 1157489 ) >>>>> /commons/proper/vfs/trunk/dist/pom.xml ( 1157489 ) >>>>> /commons/proper/vfs/trunk/examples/pom.xml ( 1157489 ) >>>>> /commons/proper/vfs/trunk/pom.xml ( 1157489 ) >>>>> /commons/proper/vfs/trunk/sandbox/pom.xml ( 1157489 ) >>>>> >>>>> Changed: rgoers @ Sun 14 Aug 2011 07:53:50 +0000 >>>>> Comment: [maven-release-plugin] prepare for next development iteration >>>>> Files changed: >>>>> /commons/proper/vfs/trunk/core/pom.xml ( 1157491 ) >>>>> /commons/proper/vfs/trunk/dist/pom.xml ( 1157491 ) >>>>> /commons/proper/vfs/trunk/examples/pom.xml ( 1157491 ) >>>>> /commons/proper/vfs/trunk/pom.xml ( 1157491 ) >>>>> /commons/proper/vfs/trunk/sandbox/pom.xml ( 1157491 ) >>>>> >>>>> **************************************************************************** >>>>> Dependencies Changes: >>>>> **************************************************************************** >>>>> No dependencies changed >>>>> >>>>> >>>>> **************************************************************************** >>>>> Build Definition: >>>>> **************************************************************************** >>>>> POM filename: pom.xml >>>>> Goals: clean deploy >>>>> Arguments: --batch-mode -Pjava-1.5 >>>>> Build Fresh: false >>>>> Always Build: false >>>>> Default Build Definition: true >>>>> Schedule: COMMONS_SCHEDULE >>>>> Profile Name: Maven 2.2.1 >>>>> Description: Default Maven 2 Build Definition (Java 1.5) >>>>> >>>>> **************************************************************************** >>>>> Test Summary: >>>>> **************************************************************************** >>>>> Tests: 978 >>>>> Failures: 0 >>>>> Errors: 0 >>>>> Success Rate: 100 >>>>> Total time: 109.54999 >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >>>>> For additional commands, e-mail: dev-h...@commons.apache.org >>>>> >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >>> For additional commands, e-mail: dev-h...@commons.apache.org >>> >> >> > > > -- > Dennis Lundberg