aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: AriesWithSnapshotDependencies #611
Date Tue, 02 Dec 2014 16:39:15 GMT
See <https://builds.apache.org/job/AriesWithSnapshotDependencies/611/changes>

Changes:

[davidb] ARIES-1252 Support custom content in subsystems/.esa files

Custom content in .esa files is handled via Whiteboard service handlers.
To add a handler for custom content, register a org.apache.aries.subsystem.ContentHandler
service. This service will be called back for install/start/stop/uninstall actions to be performed.

The service must be registered with the service property
  org.aries.subsystem.contenthandler.type
to declare the content type that it should handle. This allows to register handlers for content
types different than the default osgi.bundle/osgi.fragment and osgi.subsystem.* ones.

For more details take a look at the CustomContentHandlerTest.testCustomContentHandler() itest.
This creates an .esa file that contains a bundle and also a custom content file called 'custom1.sausages'.
The custom content is declared in the Subsystem-Content header via the standard 'type' attribute.
To link it with a resource in the .esa also provide the embedded-resource attribute, e.g.:
Subsystem-Content:
  customContent1;embedded-resource=custom1.sausages;type=foo.sausages

Using a proper resource type (rather than directly using the file name extension) makes it
possible to also provide this custom resource from a repository if needed.

The CustomContentHandlerTest has a test content handler that is called back with the content
of the resource, its name, the current subsystem and the coordination.
Providing the coordination allows the custom handler to define a compensation in case the
installation fails elsewhere, or fail the
installation itself.

In addition, this commit also provides support for handling configuration files as custom
content. Two different configuration file types are supported. Plain properties files (which
are limited to string values) and the Felix ConfigAdmin config file format, which supports
other datatypes as values [1]. 

To embed a Felix config admin file for PID org.foo.Bar, use felix.cm.config as the resource
type as the following in the Subsystem-Content header:
 org.foo.Bar;embedded-resource=org.foo.Bar.cfg;type=felix.cm.config

To embed a properties configuration file for PID com.blah.Blah declare it with the osgi.config.properties
type:
  Subsystem-Content: com.blah.Blah;embedded-resource=com.blah.Blah.cfg;type=osgi.config.properties

The ConfigAdminPropsFileContentHandlerTest shows this in action.

[1] See the javadoc of http://svn.apache.org/repos/asf/felix/trunk/configadmin/src/main/java/org/apache/felix/cm/file/ConfigurationHandler.java
for syntax.

------------------------------------------
[...truncated 12715 lines...]
[INFO] 
[INFO] Aries :: Parent POM ............................... SUCCESS [1.453s]
[INFO] Aries Maven EBA Plugin ............................ SUCCESS [13.241s]
[INFO] Apache Aries Unit Test Support .................... SUCCESS [2.940s]
[INFO] Apache Aries Test Support ......................... SUCCESS [0.028s]
[INFO] Apache Aries Util classes compiled under r 42 framework  SUCCESS [10.967s]
[INFO] Apache Aries Util ................................. SUCCESS [9.278s]
[INFO] Apache Aries Util ................................. SUCCESS [0.029s]
[INFO] Apache Aries Proxy API ............................ SUCCESS [1.420s]
[INFO] Apache Aries Proxy Service ........................ SUCCESS [6.061s]
[INFO] Apache Aries Proxy Bundle ......................... SUCCESS [0.516s]
[INFO] Apache Aries Proxy iTests ......................... SUCCESS [29.968s]
[INFO] Apache Aries Class Proxy .......................... SUCCESS [0.023s]
[INFO] Apache Aries Quiesce API .......................... SUCCESS [0.238s]
[INFO] Apache Aries Quiesce Manager ...................... SUCCESS [0.584s]
[INFO] Aries Quiesce Manager iTests ...................... SUCCESS [2.744s]
[INFO] Apache Aries Quiesce .............................. SUCCESS [0.030s]
[INFO] Apache Aries Blueprint API ........................ SUCCESS [0.510s]
[INFO] Apache Aries Blueprint Parser ..................... SUCCESS [0.682s]
[INFO] Apache Aries Blueprint Core ....................... SUCCESS [4.863s]
[INFO] Apache Aries Blueprint CM ......................... SUCCESS [5.109s]
[INFO] Apache Aries Blueprint Bundle ..................... SUCCESS [2.126s]
[INFO] Apache Aries Blueprint Compatiblity Fragment Bundle  SUCCESS [0.192s]
[INFO] Apache Aries Blueprint Core Compatiblity Fragment Bundle  SUCCESS [0.667s]
[INFO] Apache Aries Blueprint Maven Plugin ............... SUCCESS [21.968s]
[INFO] Apache Aries Blueprint no-OSGI .................... SUCCESS [2.098s]
[INFO] Apache Aries Blueprint Web ........................ SUCCESS [1.892s]
[INFO] Apache Aries Blueprint Web OSGI ................... SUCCESS [1.383s]
[INFO] Apache Aries Blueprint JEXL evaluator ............. SUCCESS [0.861s]
[INFO] Apache Aries Blueprint Sample ..................... SUCCESS [0.475s]
[INFO] Apache Aries Blueprint Annotation API ............. SUCCESS [0.236s]
[INFO] Apache Aries Blueprint Annotation Impl ............ SUCCESS [1.682s]
[INFO] Apache Aries Blueprint Annotation based authorization  SUCCESS [0.657s]
[INFO] Apache Aries Blueprint Sample for Testing Annotation  SUCCESS [0.382s]
[INFO] Apache Aries Blueprint Sample Fragment for Testing Annotation  SUCCESS [0.369s]
[INFO] Apache Aries Blueprint WAR Sample ................. SUCCESS [2.435s]
[INFO] Apache Aries Blueprint Test Bundle A .............. SUCCESS [0.784s]
[INFO] Apache Aries Blueprint Test Bundle B .............. SUCCESS [0.738s]
[INFO] Apache Aries Blueprint Test Quiesce Bundle ........ SUCCESS [0.491s]
[INFO] Apache Aries Blueprint iTests ..................... SUCCESS [10.514s]
[INFO] Apache Aries Blueprint ............................ SUCCESS [0.021s]
[INFO] Apache Aries JNDI API ............................. SUCCESS [0.296s]
[INFO] Apache Aries JNDI Core ............................ SUCCESS [0.989s]
[INFO] Apache Aries JNDI URL Handler ..................... SUCCESS [1.719s]
[INFO] Apache Aries JNDI RMI Handler ..................... SUCCESS [0.512s]
[INFO] Apache Aries JNDI Bundle .......................... SUCCESS [0.953s]
[INFO] Apache Aries JNDI Support for Legacy Runtimes ..... SUCCESS [0.322s]
[INFO] Apache Aries JNDI "business logic" test bundle for Aries jndi-url iTests  SUCCESS [0.448s]
[INFO] Apache Aries JNDI Test Bundle for Aries jndi-url iTests  SUCCESS [0.347s]
[INFO] Apache Aries JNDI iTests for jndi-url ............. FAILURE [11.460s]
[INFO] Apache Aries JNDI ................................. SKIPPED
[INFO] Apache Aries Transaction Manager .................. SKIPPED
[INFO] Apache Aries Transaction Blueprint ................ SKIPPED
[INFO] Apache Aries Transaction Enlisting JDBC Datasource  SKIPPED
[INFO] Apache Aries JMS Pool ............................. SKIPPED
[INFO] Apache Aries Transaction Test Datasource Configuration  SKIPPED
[INFO] Apache Aries Transaction Test Bundle .............. SKIPPED
[INFO] Apache Aries Transaction Integration Tests ........ SKIPPED
[INFO] Apache Aries Transaction - reactor pom ............ SKIPPED
[INFO] Apache Aries Web Url handler ...................... SKIPPED
[INFO] Apache Aries Web integration tests ................ SKIPPED
[INFO] Apache Aries Web Component ........................ SKIPPED
[INFO] Apache Aries Application API ...................... SKIPPED
[INFO] Apache Aries Application Utils .................... SKIPPED
[INFO] Apache Aries Application Bundle ................... SKIPPED
[INFO] Apache Aries Application Converters ............... SKIPPED
[INFO] Apache Aries Application Default local platform ... SKIPPED
[INFO] Apache Aries Application Deployment Management .... SKIPPED
[INFO] Apache Aries Application Installer ................ SKIPPED
[INFO] Apache Aries Application itests sample application interface  SKIPPED
[INFO] Apache Aries Application integration tests ........ SKIPPED
[INFO] Apache Aries Application Management ............... SKIPPED
[INFO] Apache Aries Application Modelling ................ SKIPPED
[INFO] Apache Aries Application Modelling Standalone ..... SKIPPED
[INFO] Apache Aries Application Modelling tests .......... SKIPPED
[INFO] Apache Aries Application No-op Resolver ........... SKIPPED
[INFO] Apache Aries Application OBR Resolver ............. SKIPPED
[INFO] Apache Aries Application Resolve CM Transform ..... SKIPPED
[INFO] Apache Aries Application Resolve CM Transform iTests  SKIPPED
[INFO] Apache Aries Application Runtime .................. SKIPPED
[INFO] Apache Aries Isolated Application Runtime ......... SKIPPED
[INFO] Apache Aries Bundle Framework provider ............ SKIPPED
[INFO] Apache Aries Bundle Framework Manager provider .... SKIPPED
[INFO] Apache Aries repository generator tool ............ SKIPPED
[INFO] Apache Aries Bundle Repository provider ........... SKIPPED
[INFO] Application distribution .......................... SKIPPED
[INFO] Application distribution for isolated application support  SKIPPED
[INFO] Apache Aries Application .......................... SKIPPED
[INFO] Apache Aries Subsystem API ........................ SKIPPED
[INFO] Apache Aries Subsystem Core ....................... SKIPPED
[INFO] Apache Aries Subsystem OBR ........................ SKIPPED
[INFO] Apache Aries Subsystem iTests interfaces bundle ... SKIPPED
[INFO] Apache Aries Subsystem iTests ..................... SKIPPED
[INFO] Apache Aries Subsystems Bundle .................... SKIPPED
[INFO] Apache Aries Subsystem ............................ SKIPPED
[INFO] Aries EJB Modelling Integration ................... SKIPPED
[INFO] Aries EJB Modelling iTests ........................ SKIPPED
[INFO] Aries OpenEJB Runtime Extender .................... SKIPPED
[INFO] Aries EJB Extender iTests ......................... SKIPPED
[INFO] Aries EJB Component ............................... SKIPPED
[INFO] Apache Aries JMX API .............................. SKIPPED
[INFO] Apache Aries JMX Blueprint API .................... SKIPPED
[INFO] Apache Aries JMX Core ............................. SKIPPED
[INFO] Apache Aries JMX Core via Whiteboards ............. SKIPPED
[INFO] Apache Aries Whiteboard support for JMX DynamicMBean services  SKIPPED
[INFO] Apache Aries JMX Blueprint Core ................... SKIPPED
[INFO] Apache Aries JMX Bundle ........................... SKIPPED
[INFO] Apache Aries JMX Blueprint Bundle ................. SKIPPED
[INFO] Apache Aries JMX integration tests ................ SKIPPED
[INFO] Apache Aries JMX .................................. SKIPPED
[INFO] Aries JPA Container API ........................... SKIPPED
[INFO] Aries JPA Container ............................... SKIPPED
[INFO] Aries JPA Container Managed Contexts .............. SKIPPED
[INFO] Aries JPA Container blueprint integration for Aries blueprint  SKIPPED
[INFO] Aries JPA Container adapter for use with EclipseLink  SKIPPED
[INFO] Test Bundle for Aries JPA Container iTests ........ SKIPPED
[INFO] Test Bundle for Aries JPA Container iTests Eclipselink  SKIPPED
[INFO] Test Bundle for Aries JPA Container advanced iTests  SKIPPED
[INFO] Test Bundle for Aries JPA Blueprint iTests ........ SKIPPED
[INFO] Aries JPA iTests .................................. SKIPPED
[INFO] Aries JPA Component ............................... SKIPPED
[INFO] Apache Aries SPI Fly Core (internal module) ....... SKIPPED
[INFO] Apache Aries SPI Fly Weaver (internal module) ..... SKIPPED
[INFO] Apache Aries SPI Fly Dynamic Weaving Bundle ....... SKIPPED
[INFO] Apache Aries SPI Fly Static Weaving Tool .......... SKIPPED
[INFO] Apache Aries SPI Fly Static Weaving Bundle ........ SKIPPED
[INFO] Apache Aries SPI Fly Examples ..................... SKIPPED
[INFO] Apache Aries Example SPI Interface ................ SKIPPED
[INFO] Apache Aries Example SPI Provider Jar 1 ........... SKIPPED
[INFO] Apache Aries Example SPI Provider Bundle 1 ........ SKIPPED
[INFO] Apache Aries Example SPI Provider Bundle 2 ........ SKIPPED
[INFO] Apache Aries Example SPI Client Jar 1 ............. SKIPPED
[INFO] Apache Aries Example SPI Client Bundle 1 .......... SKIPPED
[INFO] Apache Aries Example SPI Client Bundle 2 .......... SKIPPED
[INFO] Apache Aries Example SPI Provider Consumer Bundle . SKIPPED
[INFO] Apache Aries Example Resource Provider Bundle ..... SKIPPED
[INFO] Apache Aries Example Resource Client Bundle ....... SKIPPED
[INFO] Apache Aries SPI Fly .............................. SKIPPED
[INFO] Apache Aries Samples .............................. SKIPPED
[INFO] Apache Aries blog sample .......................... SKIPPED
[INFO] Apache Aries blog sample API ...................... SKIPPED
[INFO] Apache Aries blog sample transaction enlisting JDBC datasource  SKIPPED
[INFO] Apache Aries blog sample assembly ................. SKIPPED
[INFO] Apache Aries blog sample .......................... SKIPPED
[INFO] Apache Aries blog sample web component ............ SKIPPED
[INFO] Apache Aries blog sample persistence .............. SKIPPED
[INFO] Apache Aries Blog Sample EBA using JDBC ........... SKIPPED
[INFO] Apache Aries blog sample persistence .............. SKIPPED
[INFO] Apache Aries Blog Sample EBA using JPA ............ SKIPPED
[INFO] Apache Aries blog sample commenting EJB ........... SKIPPED
[INFO] Apache Aries Blog sample iTests ................... SKIPPED
[INFO] AriesTrader :: Performance Benchmark Sample ....... SKIPPED
[INFO] AriesTrader :: Modules ............................ SKIPPED
[INFO] AriesTrader :: Modules - Util ..................... SKIPPED
[INFO] AriesTrader :: Modules - API ...................... SKIPPED
[INFO] AriesTrader :: Modules - Core ..................... SKIPPED
[INFO] AriesTrader :: Modules - Web ...................... SKIPPED
[INFO] AriesTrader :: Modules - Beans .................... SKIPPED
[INFO] AriesTrader :: Modules - Entities ................. SKIPPED
[INFO] AriesTrader :: Modules - Derby DataSource ......... SKIPPED
[INFO] AriesTrader :: Modules - Persist JDBC ............. SKIPPED
[INFO] AriesTrader :: Modules - Persist JPA App Managed .. SKIPPED
[INFO] AriesTrader :: Modules - Persist JPA Container Managed  SKIPPED
[INFO] AriesTrader :: Assemblies ......................... SKIPPED
[INFO] AriesTrader :: Assemblies - EBA - JDBC ............ SKIPPED
[INFO] AriesTrader :: Assemblies - EBA - ALL ............. SKIPPED
[INFO] Equinox test harness that can be used to install sample EBAs  SKIPPED
[INFO] Apache Aries Blueprint samples .................... SKIPPED
[INFO] Apache Aries Blueprint HelloWorld ................. SKIPPED
[INFO] Apache Aries Blueprint HelloWorld API ............. SKIPPED
[INFO] Apache Aries Blueprint HelloWorldServer ........... SKIPPED
[INFO] Apache Aries Blueprint HelloWorldClient ........... SKIPPED
[INFO] Apache Aries Blueprint HelloWorld Assembly ........ SKIPPED
[INFO] Apache Aries Blueprint HelloWorld EBA ............. SKIPPED
[INFO] Apache Aries Blueprint sample iTests .............. SKIPPED
[INFO] Apache Aries Blueprint Sample - ID Verifier ....... SKIPPED
[INFO] Apache Aries Blueprint Sample - ID Verifier API ... SKIPPED
[INFO] Apache Aries Blueprint Sample - ID Verifier Server  SKIPPED
[INFO] Apache Aries Blueprint Sample - ID Verifier Client  SKIPPED
[INFO] Apache Aries Blueprint Sample - ID Verifier Assembly  SKIPPED
[INFO] Apache Aries Twitter sample ....................... SKIPPED
[INFO] Apache Aries Bundlise Twitter4j ................... SKIPPED
[INFO] Apache Aries Twitter bundle ....................... SKIPPED
[INFO] Apache Aries Twitter EBA .......................... SKIPPED
[INFO] Apache Aries Twitter sample integration tests ..... SKIPPED
[INFO] Aries Maven ESA Plugin ............................ SKIPPED
[INFO] Apache Aries ...................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:45.303s
[INFO] Finished at: Tue Dec 02 16:39:13 UTC 2014
[INFO] Final Memory: 103M/557M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project org.apache.aries.jndi.url.itest: Could not resolve
dependencies for project org.apache.aries.jndi:org.apache.aries.jndi.url.itest:jar:1.0.1-SNAPSHOT:
Could not find artifact org.apache.aries.jndi:org.apache.aries.jndi.url:jar:1.1.0-SNAPSHOT
in codehaus.snapshots (http://snapshots.repository.codehaus.org) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project
org.apache.aries.jndi.url.itest: Could not resolve dependencies for project org.apache.aries.jndi:org.apache.aries.jndi.url.itest:jar:1.0.1-SNAPSHOT:
Could not find artifact org.apache.aries.jndi:org.apache.aries.jndi.url:jar:1.1.0-SNAPSHOT
in codehaus.snapshots (http://snapshots.repository.codehaus.org)
	at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:196)
	at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:108)
	at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies
for project org.apache.aries.jndi:org.apache.aries.jndi.url.itest:jar:1.0.1-SNAPSHOT: Could
not find artifact org.apache.aries.jndi:org.apache.aries.jndi.url:jar:1.1.0-SNAPSHOT in codehaus.snapshots
(http://snapshots.repository.codehaus.org)
	at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:170)
	at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:171)
	... 22 more
Caused by: org.sonatype.aether.resolution.DependencyResolutionException: Could not find artifact
org.apache.aries.jndi:org.apache.aries.jndi.url:jar:1.1.0-SNAPSHOT in codehaus.snapshots (http://snapshots.repository.codehaus.org)
	at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:412)
	at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:164)
	... 23 more
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could not find artifact
org.apache.aries.jndi:org.apache.aries.jndi.url:jar:1.1.0-SNAPSHOT in codehaus.snapshots (http://snapshots.repository.codehaus.org)
	at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:541)
	at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:220)
	at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:395)
	... 24 more
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could not find artifact
org.apache.aries.jndi:org.apache.aries.jndi.url:jar:1.1.0-SNAPSHOT in codehaus.snapshots (http://snapshots.repository.codehaus.org)
	at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:945)
	at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:940)
	at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.flush(WagonRepositoryConnector.java:695)
	at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.flush(WagonRepositoryConnector.java:689)
	at org.sonatype.aether.connector.wagon.WagonRepositoryConnector.get(WagonRepositoryConnector.java:445)
	at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:460)
	... 26 more
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :org.apache.aries.jndi.url.itest
Build step 'Invoke top-level Maven targets' marked build as failure

Mime
View raw message