[ImageJ-devel] Build failed in Jenkins: ImageJ-daily #453

jenkins at imagej.net jenkins at imagej.net
Thu Apr 5 00:07:26 CDT 2012


See <http://jenkins.imagej.net/job/ImageJ-daily/453/changes>

Changes:

[Johannes Schindelin] Updater: allow uploading/removing just after adding upload info

Without this changes, the following would fail:

1) unpack a fresh copy of ImageJ2
2) start ImageJ2
3) start the Updater
4) manage update sites
5) edit the ImageJ update site for uploading
6) mark new/obsolete files for upload/remove

This commit fixes that.

Signed-off-by: Johannes Schindelin <johannes.schindelin at gmx.de>

[Johannes Schindelin] Updater: Prepare the dependency checking for version numbers in .jar names

We decided that it would be better for ImageJ2 to keep the version numbers
in the file names.

As a consequence, the Updater now has to learn to deal with the situation.

As a first step, the dependency analyzer no longer bothers with exact file
names but only with the initial part of the file name.

The next steps are more crucial: FileObject will need to learn to look
harder for dependencies (and to be gentle when the file name does not
match exactly, but allow for version differences; I am thinking about a
regex like this: ^(.*)-(\d+\.\d(\.\d)-.*)\.jar$).

Signed-off-by: Johannes Schindelin <johannes.schindelin at gmx.de>

[Johannes Schindelin] Updater (DependencyAnalyzer): fix style

Signed-off-by: Johannes Schindelin <johannes.schindelin at gmx.de>

[Johannes Schindelin] Up-to-date check: fix the developer check

For now, everybody is assumed to be a developer, unfortunately...

Signed-off-by: Johannes Schindelin <johannes.schindelin at gmx.de>

[Curtis Rueden] Use latest SciJava POM

This enables the recording of project name, groupId, version and
organization in the META-INF/MANIFEST.MF files in each JAR.

For details, see:
  http://maven.apache.org/shared/maven-archiver/index.html#manifest

[Curtis Rueden] Reset version number to 2.0.0-SNAPSHOT

Reset dependency versions to SNAPSHOT versions.

Usually, after a release we would increment the version number (e.g.,
after release 2.0.0 we would go to 2.0.1-SNAPSHOT) but for the betas,
we return to 2.0.0-SNAPSHOT again.

This one time, we are changing the version number from 2.0-SNAPSHOT to
2.0.0-SNAPSHOT, adding the extra zero. Ideally we would have had the
major.minor.micro pattern this whole time, but better late than never.
Now is as good a time as any to start.

[Curtis Rueden] Release version 2.0.0-beta1

This fixes the scifio dependencies at 4.4-imagej-2.0.0-beta1,
fixes the ImgLib2 dependency at 2.0.0-beta1, and fixes the ImageJ1
dependency at 1.46j.

[Curtis Rueden] Remove empty directories (SVN cruft)

[Curtis Rueden] Fix OverlayProperties plugin

OverlayProperties needed an initialize method and annotation to pull in
the settings for the initial display's selected overlays.

Authored-by: Lee Kamentsky <leek at broadinstitute.org>

[Curtis Rueden] Fix indentation for ij-launcher POM

Also standardizes the name and description to match the rest of the
projects, and removes the superfluous version number.

[Curtis Rueden] Add explicit version number to maven-nar-plugin

This fixes a warning when building, and also allows us to
override the version of maven-nar-plugin later if needed.

------------------------------------------
[...truncated 6 lines...]
U         extra/pom.xml
U         extra/workflow/pom.xml
U         extra/workflowpipes/pom.xml
D         core/ext/src/main/java/imagej/ext/module/menu
D         core/ext/src/main/java/imagej/ext/module/ui/menu
D         core/ext/src/main/java/imagej/ext/plugin/finder
D         core/ext/src/main/java/imagej/ext/display/event/key
D         core/ext/src/main/java/imagej/ext/display/event/mouse
U         core/ext/pom.xml
D         core/tools/src/main/java/imagej/core/tools/global
U         core/tools/pom.xml
U         core/launcher/pom.xml
D         core/plugins/updater
D         core/plugins/app/src/main/resources/images
U         core/plugins/app/pom.xml
U         core/plugins/display/pom.xml
U         core/plugins/debug/pom.xml
D         core/plugins/data/src/main/java/imagej/core/plugins/roi
U         core/plugins/data/src/main/java/imagej/core/plugins/overlay/OverlayProperties.java
U         core/plugins/data/pom.xml
U         core/plugins/pom.xml
U         core/plugins/misc/pom.xml
U         core/legacy/pom.xml
U         core/platform/pom.xml
D         core/updater/src
U         core/updater/core/src/main/java/imagej/updater/core/FileObject.java
U         core/updater/core/src/main/java/imagej/updater/core/UpToDate.java
U         core/updater/core/src/main/java/imagej/updater/util/DependencyAnalyzer.java
U         core/updater/core/src/main/java/imagej/updater/util/Class2JarFilesMap.java
U         core/updater/core/pom.xml
U         core/updater/pom.xml
U         core/updater/ssh/pom.xml
U         core/io/pom.xml
D         core/core/src/main/java/imagej/util/diag
U         core/core/pom.xml
D         core/data/src/test/java/imagej/data/roi
D         core/data/src/main/java/imagej/data/roi
U         core/data/pom.xml
U         core/pom.xml
U         core/options/pom.xml
U         core/ui/pom.xml
U         pom.xml
U         sandbox/pom.xml
D         ui/app/src/main/assembly/application/ImageJ32.app
D         ui/app/src/main/assembly/application/ImageJ64.app
U         ui/app/pom.xml
D         ui/awt-swing/swing/ext/src/main/java/imagej/plugin
U         ui/awt-swing/swing/ext/pom.xml
D         ui/awt-swing/swing/tools/src/main/java/imagej/ui/swing/tools/roi
U         ui/awt-swing/swing/tools/pom.xml
U         ui/awt-swing/swing/plugins/pom.xml
U         ui/awt-swing/swing/ui-mdi/pom.xml
U         ui/awt-swing/swing/updater/pom.xml
D         ui/awt-swing/swing/ui-base/src/main/java/imagej/ui/swing/roi
U         ui/awt-swing/swing/ui-base/pom.xml
U         ui/awt-swing/swing/pom.xml
U         ui/awt-swing/swing/ui-sdi/pom.xml
U         ui/awt-swing/common/pom.xml
U         ui/awt-swing/pom.xml
D         ui/awt-swing/awt/ext/src/main/java/imagej/plugin
U         ui/awt-swing/awt/ext/pom.xml
U         ui/awt-swing/awt/pom.xml
U         ui/awt-swing/awt/ui/pom.xml
U         ui/awt-swing/util/pom.xml
D         ui/pivot/ext/src/main/java/imagej/plugin
U         ui/pivot/ext/pom.xml
U         ui/pivot/pom.xml
U         ui/pivot/ui/pom.xml
U         ui/pom.xml
U         ui/platform-macosx/pom.xml
U         ui/platform-windows/pom.xml
D         ui/swt/ext/src/main/java/imagej/plugin
U         ui/swt/ext/pom.xml
U         ui/swt/pom.xml
U         ui/swt/ui/pom.xml
At revision 5267
Deleting old artifacts from #451
[imagej] $ mvn -U -P all clean deploy site
[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   ImageJ Projects
[INFO]   ImageJ POM: Core
[INFO]   ImageJ Core Classes
[INFO]   ImageJ Extensibility Framework
[INFO]   ImageJ Data Model
[INFO]   ImageJ Platform Framework
[INFO]   ImageJ Updater
[INFO]   ImageJ Updater Core
[INFO]   ImageJ User Interface Framework
[INFO]   ImageJ Core: I/O
[INFO]   ImageJ Core: Options
[INFO]   ImageJ POM: User Interface
[INFO]   ImageJ POM: AWT and Swing UIs
[INFO]   ImageJ Utility Classes: AWT
[INFO]   ImageJ Legacy Bridge
[INFO]   ImageJ POM: Core Plugins
[INFO]   ImageJ Core Plugins: Application
[INFO]   ImageJ Core Plugins: Data
[INFO]   ImageJ Core Plugins: Debug
[INFO]   ImageJ Core Plugins: Display
[INFO]   ImageJ Core Plugins: Miscellaneous
[INFO]   ImageJ Core Tools
[INFO]   ImageJ Updater support for uploading via SSH/SFTP
[INFO]   ImageJ Platform: Mac OS X
[INFO]   ImageJ POM: Swing UI
[INFO]   ImageJ Extensibility Framework: Swing
[INFO]   ImageJ UI: Common AWT Classes
[INFO]   ImageJ UI: Swing (base classes)
[INFO]   ImageJ UI: Swing Plugins
[INFO]   ImageJ UI: Swing (SDI)
[INFO]   ImageJ UI: Swing Tools
[INFO]   ImageJ Updater (Swing)
[INFO]   ImageJ Application
[INFO]   ImageJ Platform: Windows
[INFO]   ImageJ POM: AWT UI
[INFO]   ImageJ Extensibility Framework: AWT
[INFO]   ImageJ UI: AWT
[INFO]   ImageJ UI: Swing (MDI)
[INFO]   ImageJ POM: Pivot UI
[INFO]   ImageJ Extensibility Framework: Pivot
[INFO]   ImageJ UI: Pivot
[INFO]   ImageJ POM: SWT UI
[INFO]   ImageJ Extensibility Framework: SWT
[INFO]   ImageJ UI: SWT
[INFO]   ImageJ POM: Extras
[INFO]   VisAD plugin for ImageJ
[INFO]   Workflow
[INFO]   Workflow Pipes
[INFO]   Zoom Viewer
[INFO] ------------------------------------------------------------------------
[INFO] Building ImageJ Projects
[INFO]    task-segment: [clean, deploy, site]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting /data/devel/jenkins/jobs/ImageJ-daily/workspace/imagej/target
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing /data/devel/jenkins/jobs/ImageJ-daily/workspace/imagej/pom.xml to /var/lib/jenkins/.m2/repository/net/imagej/pom-ij-base/2.0.0-SNAPSHOT/pom-ij-base-2.0.0-SNAPSHOT.pom
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] Retrieving previous build number from imagej.snapshots
[INFO] repository metadata for: 'snapshot net.imagej:pom-ij-base:2.0.0-SNAPSHOT' could not be found on repository: imagej.snapshots, so will be created
Uploading: http://maven.imagej.net/content/repositories/snapshots/net/imagej/pom-ij-base/2.0.0-SNAPSHOT/pom-ij-base-2.0.0-20120405.050701-1.pom
Apr 5, 2012 12:07:01 AM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
INFO: basic authentication scheme selected
4/9K
8/9K
9/9K
9K uploaded  (pom-ij-base-2.0.0-20120405.050701-1.pom)
[INFO] Retrieving previous metadata from imagej.snapshots
[INFO] Uploading repository metadata for: 'artifact net.imagej:pom-ij-base'
Apr 5, 2012 12:07:04 AM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
INFO: basic authentication scheme selected
[INFO] Retrieving previous metadata from imagej.snapshots
[INFO] repository metadata for: 'snapshot net.imagej:pom-ij-base:2.0.0-SNAPSHOT' could not be found on repository: imagej.snapshots, so will be created
[INFO] Uploading repository metadata for: 'snapshot net.imagej:pom-ij-base:2.0.0-SNAPSHOT'
Apr 5, 2012 12:07:04 AM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
INFO: basic authentication scheme selected
[INFO] Preparing javadoc:test-javadoc
[INFO] No goals needed for project - skipping
[INFO] Preparing javadoc:test-aggregate
[INFO] ------------------------------------------------------------------------
[INFO] Building ImageJ Projects
[INFO] ------------------------------------------------------------------------
[INFO] No goals needed for project - skipping
[INFO] ------------------------------------------------------------------------
[INFO] Building ImageJ POM: Core
[INFO] ------------------------------------------------------------------------
[INFO] No goals needed for project - skipping
[INFO] ------------------------------------------------------------------------
[INFO] Building ImageJ Core Classes
[INFO] ------------------------------------------------------------------------
[debug] execute contextualize
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] ------------------------------------------------------------------------
[INFO] Building ImageJ Extensibility Framework
[INFO] ------------------------------------------------------------------------
[debug] execute contextualize
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] snapshot net.imagej:ij-core:2.0.0-SNAPSHOT: checking for updates from imagej.releases
[INFO] snapshot net.imagej:ij-core:2.0.0-SNAPSHOT: checking for updates from imagej.snapshots
[INFO] snapshot net.imagej:ij-core:2.0.0-SNAPSHOT: checking for updates from loci.releases
[INFO] snapshot net.imagej:ij-core:2.0.0-SNAPSHOT: checking for updates from loci.snapshots
[INFO] snapshot net.imagej:ij-core:2.0.0-SNAPSHOT: checking for updates from imagej.thirdparty
[INFO] snapshot net.imagej:ij-core:2.0.0-SNAPSHOT: checking for updates from java.net
Downloading: http://maven.imagej.net/content/repositories/releases/net/imagej/ij-core/2.0.0-SNAPSHOT/ij-core-2.0.0-SNAPSHOT.jar
[INFO] Unable to find resource 'net.imagej:ij-core:jar:2.0.0-SNAPSHOT' in repository imagej.releases (http://maven.imagej.net/content/repositories/releases)
Downloading: http://maven.imagej.net/content/repositories/snapshots/net/imagej/ij-core/2.0.0-SNAPSHOT/ij-core-2.0.0-SNAPSHOT.jar
[INFO] Unable to find resource 'net.imagej:ij-core:jar:2.0.0-SNAPSHOT' in repository imagej.snapshots (http://maven.imagej.net/content/repositories/snapshots)
Downloading: http://dev.loci.wisc.edu/maven2/releases/net/imagej/ij-core/2.0.0-SNAPSHOT/ij-core-2.0.0-SNAPSHOT.jar
[INFO] Unable to find resource 'net.imagej:ij-core:jar:2.0.0-SNAPSHOT' in repository loci.releases (http://dev.loci.wisc.edu/maven2/releases)
Downloading: http://dev.loci.wisc.edu/maven2/snapshots/net/imagej/ij-core/2.0.0-SNAPSHOT/ij-core-2.0.0-SNAPSHOT.jar
[INFO] Unable to find resource 'net.imagej:ij-core:jar:2.0.0-SNAPSHOT' in repository loci.snapshots (http://dev.loci.wisc.edu/maven2/snapshots)
Downloading: http://maven.imagej.net/content/repositories/thirdparty/net/imagej/ij-core/2.0.0-SNAPSHOT/ij-core-2.0.0-SNAPSHOT.jar
[INFO] Unable to find resource 'net.imagej:ij-core:jar:2.0.0-SNAPSHOT' in repository imagej.thirdparty (http://maven.imagej.net/content/repositories/thirdparty)
Downloading: http://download.java.net/maven/2/net/imagej/ij-core/2.0.0-SNAPSHOT/ij-core-2.0.0-SNAPSHOT.jar
[INFO] Unable to find resource 'net.imagej:ij-core:jar:2.0.0-SNAPSHOT' in repository java.net (http://download.java.net/maven/2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) net.imagej:ij-core:jar:2.0.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=net.imagej -DartifactId=ij-core -Dversion=2.0.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=net.imagej -DartifactId=ij-core -Dversion=2.0.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
  	1) net.imagej:ij-ext:jar:2.0.0-SNAPSHOT
  	2) net.imagej:ij-core:jar:2.0.0-SNAPSHOT

----------
1 required artifact is missing.

for artifact: 
  net.imagej:ij-ext:jar:2.0.0-SNAPSHOT

from the specified remote repositories:
  imagej.releases (http://maven.imagej.net/content/repositories/releases),
  central (http://repo1.maven.org/maven2),
  loci.releases (http://dev.loci.wisc.edu/maven2/releases),
  imagej.snapshots (http://maven.imagej.net/content/repositories/snapshots),
  java.net (http://download.java.net/maven/2),
  loci.snapshots (http://dev.loci.wisc.edu/maven2/snapshots),
  imagej.thirdparty (http://maven.imagej.net/content/repositories/thirdparty)



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15 seconds
[INFO] Finished at: Thu Apr 05 00:07:10 CDT 2012
[INFO] Final Memory: 68M/953M
[INFO] ------------------------------------------------------------------------
Publishing Javadoc
Archiving artifacts



More information about the ImageJ-devel mailing list