Community
Participate
Working Groups
1. why is it in the lyo.core instead of lyo.docs? 2. why does it depend on org.eclipse.lyo.oslc4j.stockquote.common, which is not deployed to a maven repo? Otherwise it shall have a parent so that dependent modules can be built. 3. why does it depend on the WAR build artefact of org.eclipse.lyo.oslc4j.registry? shall this dependency be (a) eliminated, (b) deployed to maven as an overlay, or (c) included as a module on a common parent? The problems were originally reported on https://www.eclipse.org/forums/index.php?t=rview&goto=1755157 Problem 2 has the following "signature": [ERROR] Failed to execute goal on project oslc4j-stockquote-sample: Could not resolve dependencies for project org.eclipse.lyo.oslc4j.samples:oslc4j-stockquote-sample:war:3.0.0-SNAPSHOT: Could not find artifact org.eclipse.lyo.oslc4j.samples:oslc4j-stockquote-common:jar:3.0.0-SNAPSHOT in snapshots (http://aide.md.kth.se/artifactory/libs-snapshot) -> [Help 1] Problem 3 results in a runtime exception: java.io.FileNotFoundException: /Users/andrew/kth/_lyo/org.eclipse.lyo.core/org.eclipse.lyo.oslc4j.stockquote/../org.eclipse.lyo.oslc4j.registry/target/oslc4j-registry-3.0.0-SNAPSHOT.war at org.eclipse.jetty.webapp.WebInfConfiguration.unpack(WebInfConfiguration.java:505) at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:71) at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:457) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:493) which causes the failure to register the SP catalog: SCHWERWIEGEND: Unable to register with service provider catalog org.apache.wink.client.ClientWebException at org.eclipse.lyo.oslc4j.client.OslcRestClient.getOslcResource(OslcRestClient.java:198) at org.eclipse.lyo.oslc4j.client.ServiceProviderRegistryClient.getServiceProviderCatalog(ServiceProviderRegistryClient.java:245) at org.eclipse.lyo.oslc4j.client.ServiceProviderRegistryClient.registerServiceProvider(ServiceProviderRegistryClient.java:93) at org.eclipse.lyo.oslc4j.stockquote.servlet.ServletListener$RegistrationTask.run(ServletListener.java:151) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505)
The wiki entry is https://wiki.eclipse.org/Lyo/BuildingOSLC4J#To_build_the_stock_quote_sample_and_OSLC4J_test_projects
low prio