Hello All! I have a problem with compiling any merlin testcase in offline. It doesn't find avalon-repository:avalon-repository-impl;1.3-SNAPSHOT. I have a 'avalon-repository/avalon-repository-impl-1.3-SNAPSHOT.jar' in my maven repository. Here are current settings in my enviroment:
AVALON_HOME=C:\Programming\maven-1.0-rc1\work MAVEN_HOME=C:\Programming\maven-1.0-rc1 MAVEN_HOME_LOCAL=C:\Programming\maven-1.0-rc1\work MERLIN_HOME=C:\Programming\merlin but it compiles ok, and when I execute hello tutorial with command merlin -execute target/classes then, it prints correct kernel enviroment listing ${user.dir} == C:\Programming\merlin\3.3\tutorials\hello ${user.home} == C:\Documents and Settings\ivanov.OSC ${avalon.repository.cache} == C:\Programming\merlin\system ${avalon.repository.hosts} == http://dpml.net/,http://ibiblio.org/maven ${merlin.lang} == null ${merlin.home} == C:\Programming\merlin ${merlin.system} == C:\Programming\merlin\system ${merlin.config} == C:\Programming\merlin\config ${merlin.kernel} == file:/C:/Programming/merlin/config/kernel.xml ${merlin.logging.config} == null ${merlin.logging.implementation} == [jar: avalon-logging:avalon-logkit-impl;1.0-SNAPSHOT] ${merlin.override} == null ${merlin.dir} == C:\Programming\merlin\3.3\tutorials\hello ${merlin.temp} == C:\DOCUME~1\ivanov.OSC\LOCALS~1\Temp ${merlin.context} == C:\Programming\merlin\3.3\tutorials\hello\home ${merlin.anchor} == C:\Programming\merlin\3.3\tutorials\hello ${merlin.info} == true ${merlin.debug} == true ${merlin.audit} == false ${merlin.server} == false ${merlin.autostart} == true ${merlin.code.security.enabled} == false ${merlin.deployment.timeout} == 1000 ${merlin.repository} == C:\Programming\maven-1.0-rc1\work\repository ${merlin.repository.hosts} == http://dpml.net/,http://ibiblio.org/maven/ ${merlin.deployment} == file:/${user.dir}/target/classes/ Here is testcase report. Testsuite: tutorial.StandardTestCase Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 5.312 sec Testcase: testServiceResolution took 5.25 sec Caused an ERROR ---- exception report ---------------------------------------------------------- Exception: org.apache.avalon.repository.RepositoryException Message: None of the repositories [http://dpml.net/,http://ibiblio.org/maven,] contained the metadata properties for [jar: avalon-repository:avalon-repository-impl;1.3-SNAPSHOT] ---- cause --------------------------------------------------------------------- Exception: java.net.UnknownHostException Message: ibiblio.org ---- stack trace --------------------------------------------------------------- java.net.UnknownHostException: ibiblio.org java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153) java.net.Socket.connect(Socket.java:452) java.net.Socket.connect(Socket.java:402) sun.net.NetworkClient.doConnect(NetworkClient.java:139) sun.net.www.http.HttpClient.openServer(HttpClient.java:402) sun.net.www.http.HttpClient.openServer(HttpClient.java:618) sun.net.www.http.HttpClient.<init>(HttpClient.java:306) sun.net.www.http.HttpClient.<init>(HttpClient.java:267) sun.net.www.http.HttpClient.New(HttpClient.java:339) sun.net.www.http.HttpClient.New(HttpClient.java:320) sun.net.www.http.HttpClient.New(HttpClient.java:315) sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:510) sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:487) sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:615) java.net.URL.openStream(URL.java:913) org.apache.avalon.repository.util.RepositoryUtils.getProperties(RepositoryUtils.java:228) org.apache.avalon.repository.util.RepositoryUtils.getProperties(RepositoryUtils.java:196) org.apache.avalon.repository.util.RepositoryUtils.getAttributes(RepositoryUtils.java:110) org.apache.avalon.repository.main.DefaultInitialContext.loadAttributes(DefaultInitialContext.java:560) org.apache.avalon.repository.main.DefaultInitialContext.<init>(DefaultInitialContext.java:270) org.apache.avalon.repository.main.DefaultInitialContext.<init>(DefaultInitialContext.java:230) org.apache.avalon.repository.main.DefaultInitialContext.<init>(DefaultInitialContext.java:215) org.apache.avalon.repository.main.DefaultInitialContext.<init>(DefaultInitialContext.java:190) org.apache.avalon.merlin.unit.AbstractMerlinTestCase.setUp(AbstractMerlinTestCase.java:107) junit.framework.TestCase.runBare(TestCase.java:125) junit.framework.TestResult$1.protect(TestResult.java:106) junit.framework.TestResult.runProtected(TestResult.java:124) junit.framework.TestResult.run(TestResult.java:109) junit.framework.TestCase.run(TestCase.java:118) junit.framework.TestSuite.runTest(TestSuite.java:208) junit.framework.TestSuite.run(TestSuite.java:203) org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325) org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:848) org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:556) org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:532) org.apache.tools.ant.Task.perform(Task.java:341) org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232) org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128) com.werken.werkz.Goal.fire(Goal.java:639) com.werken.werkz.Goal.attain(Goal.java:575) com.werken.werkz.Goal.attainPrecursors(Goal.java:488) com.werken.werkz.Goal.attain(Goal.java:573) org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448) org.apache.maven.MavenSession.attainGoals(MavenSession.java:348) org.apache.maven.cli.App.doMain(App.java:543) org.apache.maven.cli.App.main(App.java:1109) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:324) com.werken.forehead.Forehead.run(Forehead.java:551) com.werken.forehead.Forehead.main(Forehead.java:581) -------------------------------------------------------------------------------- java.lang.Exception: ---- exception report ---------------------------------------------------------- Exception: org.apache.avalon.repository.RepositoryException Message: None of the repositories [http://dpml.net/,http://ibiblio.org/maven,] contained the metadata properties for [jar: avalon-repository:avalon-repository-impl;1.3-SNAPSHOT] ---- cause --------------------------------------------------------------------- Exception: java.net.UnknownHostException Message: ibiblio.org ---- stack trace --------------------------------------------------------------- java.net.UnknownHostException: ibiblio.org java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153) java.net.Socket.connect(Socket.java:452) java.net.Socket.connect(Socket.java:402) sun.net.NetworkClient.doConnect(NetworkClient.java:139) sun.net.www.http.HttpClient.openServer(HttpClient.java:402) sun.net.www.http.HttpClient.openServer(HttpClient.java:618) sun.net.www.http.HttpClient.<init>(HttpClient.java:306) sun.net.www.http.HttpClient.<init>(HttpClient.java:267) sun.net.www.http.HttpClient.New(HttpClient.java:339) sun.net.www.http.HttpClient.New(HttpClient.java:320) sun.net.www.http.HttpClient.New(HttpClient.java:315) sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:510) sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:487) sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:615) java.net.URL.openStream(URL.java:913) org.apache.avalon.repository.util.RepositoryUtils.getProperties(RepositoryUtils.java:228) org.apache.avalon.repository.util.RepositoryUtils.getProperties(RepositoryUtils.java:196) org.apache.avalon.repository.util.RepositoryUtils.getAttributes(RepositoryUtils.java:110) org.apache.avalon.repository.main.DefaultInitialContext.loadAttributes(DefaultInitialContext.java:560) org.apache.avalon.repository.main.DefaultInitialContext.<init>(DefaultInitialContext.java:270) org.apache.avalon.repository.main.DefaultInitialContext.<init>(DefaultInitialContext.java:230) org.apache.avalon.repository.main.DefaultInitialContext.<init>(DefaultInitialContext.java:215) org.apache.avalon.repository.main.DefaultInitialContext.<init>(DefaultInitialContext.java:190) org.apache.avalon.merlin.unit.AbstractMerlinTestCase.setUp(AbstractMerlinTestCase.java:107) junit.framework.TestCase.runBare(TestCase.java:125) junit.framework.TestResult$1.protect(TestResult.java:106) junit.framework.TestResult.runProtected(TestResult.java:124) junit.framework.TestResult.run(TestResult.java:109) junit.framework.TestCase.run(TestCase.java:118) junit.framework.TestSuite.runTest(TestSuite.java:208) junit.framework.TestSuite.run(TestSuite.java:203) org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325) org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:848) org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:556) org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:532) org.apache.tools.ant.Task.perform(Task.java:341) org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232) org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128) com.werken.werkz.Goal.fire(Goal.java:639) com.werken.werkz.Goal.attain(Goal.java:575) com.werken.werkz.Goal.attainPrecursors(Goal.java:488) com.werken.werkz.Goal.attain(Goal.java:573) org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448) org.apache.maven.MavenSession.attainGoals(MavenSession.java:348) org.apache.maven.cli.App.doMain(App.java:543) org.apache.maven.cli.App.main(App.java:1109) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:324) com.werken.forehead.Forehead.run(Forehead.java:551) com.werken.forehead.Forehead.main(Forehead.java:581) -------------------------------------------------------------------------------- at org.apache.avalon.merlin.unit.AbstractMerlinTestCase.setUp(AbstractMerlinTestCase.java:189) at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.Goal.attainPrecursors(Goal.java:488) at com.werken.werkz.Goal.attain(Goal.java:573) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348) at org.apache.maven.cli.App.doMain(App.java:543) at org.apache.maven.cli.App.main(App.java:1109) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Testcase: testServiceResolution