<div> </div>
<div>Hi guys,</div>
<div> </div>
<div>I got troubled trying to deploy the "Insurance example" in JBoss.</div>
<div> </div>
<div>I tell you, step by step, what I did.</div>
<div> </div>
<div>1. I downloaded "drools-4.0.3-examples.zip" from JBoss site.</div>
<div>2. I extracted the "insurance-example" into directory "insurance".</div>
<div>3. I downloaded and installed maven 1.8.</div>
<div>4. I opened a "cmd" shell and I executed the command: <em>mvn clean package</em>.</div>
<div>5. I got back the following error message:</div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<div> </div>
<div><em>C:\Users\mmquelo\Documents\Eclipse Workspaces\insurance33\insurance>mvn -e clean
<div> package</div>
<div>+ Error stacktraces are turned on.</div>
<div>[INFO] Scanning for projects...</div>
<div>[INFO] ------------------------------------------------------------------------</div>
<div>[INFO] Building DroolsInsurance</div>
<div>[INFO] task-segment: [clean, package]</div>
<div>[INFO] ------------------------------------------------------------------------</div>
<div>Downloading: </div></em><a href="http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean"><em>http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean</em></a><em>-</em></div><em>
<div>plugin/2.1/maven-clean-plugin-2.1.pom</div>
<div>Downloading: </div></em><a href="http://repository.jboss.com/maven2/org/apache/maven/plugins/maven-c"><em>http://repository.jboss.com/maven2/org/apache/maven/plugins/maven-c</em></a>
<div><em>lean-plugin/2.1/maven-clean-plugin-2.1.pom</em></div><em>
<div>Downloading: </div></em><a href="http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean"><em>http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean</em></a><em>-</em><em>
<div>plugin/2.1/maven-clean-plugin-2.1.pom</div>
<div>[INFO] ------------------------------------------------------------------------</div>
<div>[ERROR] BUILD ERROR</div>
<div>[INFO] ------------------------------------------------------------------------</div>
<div>[INFO] Error building POM (may not be this project's POM).</div></em>
<div>
<div><em>Project ID: org.apache.maven.plugins:maven-clean-plugin</em></div></div>
<div><em>Reason: POM 'org.apache.maven.plugins:maven-clean-plugin' not found in repositor
<div>y: Unable to download the artifact from any repository</div></em></div>
<div><em> org.apache.maven.plugins:maven-clean-plugin:pom:2.1</em></div>
<div><em>from the specified remote repositories:
<div> jbossRepository (</div></em><a href="http://repository.jboss.com/maven2"><em>http://repository.jboss.com/maven2</em></a><em>),</em></div><em>
<div> central (</div></em><a href="http://repo1.maven.org/maven2"><em>http://repo1.maven.org/maven2</em></a><em>)</em><em>
<div> for project org.apache.maven.plugins:maven-clean-plugin</div></em>
<div>
<div><em>[INFO] ------------------------------------------------------------------------</em></div><em>
<div>[INFO] Trace</div>
<div>org.apache.maven.lifecycle.LifecycleExecutionException: Unable to build project</div>
<div>for plugin 'org.apache.maven.plugins:maven-clean-plugin': POM 'org.apache.maven.</div>
<div>plugins:maven-clean-plugin' not found in repository: Unable to download the arti</div>
<div>fact from any repository</div></em></div>
<div><em> org.apache.maven.plugins:maven-clean-plugin:pom:2.1</em></div>
<div><em>from the specified remote repositories:
<div> jbossRepository (</div></em><a href="http://repository.jboss.com/maven2"><em>http://repository.jboss.com/maven2</em></a><em>),</em></div><em>
<div> central (</div></em><a href="http://repo1.maven.org/maven2"><em>http://repo1.maven.org/maven2</em></a><em>)</em><em>
<div> for project org.apache.maven.plugins:maven-clean-plugin</div>
<div> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa</div>
<div>ultLifecycleExecutor.java:1274)</div>
<div> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor</div>
<div>(DefaultLifecycleExecutor.java:1522)</div>
<div> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForP</div>
<div>ackaging(DefaultLifecycleExecutor.java:1016)</div>
<div> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl</div>
<div>eMappings(DefaultLifecycleExecutor.java:980)</div>
<div> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau</div>
<div>ltLifecycleExecutor.java:458)</div>
<div> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan</div>
<div>dleFailures(DefaultLifecycleExecutor.java:311)</div>
<div> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen</div>
<div>ts(DefaultLifecycleExecutor.java:278)</div>
<div> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi</div>
<div>fecycleExecutor.java:143)</div>
<div> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)</div>
<div> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)</div>
<div> at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)</div>
<div> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</div>
<div> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.</div>
<div>java:39)</div>
<div> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces</div>
<div>sorImpl.java:25)</div>
<div> at java.lang.reflect.Method.invoke(Method.java:597)</div>
<div> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)</div>
<div> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)</div>
<div> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)</div></em>
<div><em> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
<div>Caused by: org.apache.maven.plugin.InvalidPluginException: Unable to build proje</div>
<div>ct for plugin 'org.apache.maven.plugins:maven-clean-plugin': POM 'org.apache.mav</div>
<div>en.plugins:maven-clean-plugin' not found in repository: Unable to download the a</div>
<div>rtifact from any repository</div></em></div>
<div><em> org.apache.maven.plugins:maven-clean-plugin:pom:2.1</em></div>
<div><em>from the specified remote repositories:
<div> jbossRepository (</div></em><a href="http://repository.jboss.com/maven2"><em>http://repository.jboss.com/maven2</em></a><em>),</em></div><em>
<div> central (</div></em><a href="http://repo1.maven.org/maven2"><em>http://repo1.maven.org/maven2</em></a><em>)</em><em>
<div> for project org.apache.maven.plugins:maven-clean-plugin</div>
<div> at org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersio</div>
<div>n(DefaultPluginManager.java:277)</div>
<div> at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(De</div>
<div>faultPluginManager.java:193)</div>
<div> at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug</div>
<div>inManager.java:172)</div>
<div> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa</div>
<div>ultLifecycleExecutor.java:1257)</div>
<div> ... 18 more</div>
<div>Caused by: org.apache.maven.project.ProjectBuildingException: POM '<a href="http://org.apache.ma">org.apache.ma</a></div>
<div>ven.plugins:maven-clean-plugin' not found in repository: Unable to download the</div>
<div>artifact from any repository</div></em>
<div><em> org.apache.maven.plugins:maven-clean-plugin:pom:2.1</em></div>
<div><em>from the specified remote repositories:
<div> jbossRepository (</div></em><a href="http://repository.jboss.com/maven2"><em>http://repository.jboss.com/maven2</em></a><em>),</em></div><em>
<div> central (</div></em><a href="http://repo1.maven.org/maven2"><em>http://repo1.maven.org/maven2</em></a><em>)</em><em>
<div> for project org.apache.maven.plugins:maven-clean-plugin</div>
<div> at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo</div>
<div>sitory(DefaultMavenProjectBuilder.java:571)</div>
<div> at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromReposito</div>
<div>ry(DefaultMavenProjectBuilder.java:231)</div>
<div> at org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersio</div>
<div>n(DefaultPluginManager.java:261)</div>
<div> ... 21 more</div>
<div>Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable</div>
<div>to download the artifact from any repository</div></em>
<div><em> org.apache.maven.plugins:maven-clean-plugin:pom:2.1</em></div>
<div><em>from the specified remote repositories:
<div> jbossRepository (</div></em><a href="http://repository.jboss.com/maven2"><em>http://repository.jboss.com/maven2</em></a><em>),</em></div><em>
<div> central (</div></em><a href="http://repo1.maven.org/maven2"><em>http://repo1.maven.org/maven2</em></a><em>)</em>
<div><em> at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
<div>faultArtifactResolver.java:206)</div>
<div> at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De</div>
<div>faultArtifactResolver.java:73)</div>
<div> at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo</div>
<div>sitory(DefaultMavenProjectBuilder.java:524)</div>
<div> ... 23 more</div>
<div>Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to downl</div>
<div>oad the artifact from any repository</div>
<div> at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(Def</div>
<div>aultWagonManager.java:324)</div>
<div> at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De</div>
<div>faultArtifactResolver.java:194)</div>
<div> ... 25 more</div>
<div>[INFO] ------------------------------------------------------------------------</div>
<div>[INFO] Total time: 3 seconds</div>
<div>[INFO] Finished at: Fri Dec 07 11:00:35 CET 2007</div>
<div>[INFO] Final Memory: 1M/4M</div>
<div>[INFO] ------------------------------------------------------------------------</div></em></div>
<div><em>C:\Users\mmquelo\Documents\Eclipse Workspaces\insurance33\insurance></em></div></blockquote>
<div dir="ltr">What did it go wrong?</div>
<div dir="ltr">What did I miss?</div>
<div dir="ltr"> </div>
<div dir="ltr">Thank You again!</div>
<div dir="ltr"> </div>
<div dir="ltr">Massi</div>
<div dir="ltr"> </div>
<div dir="ltr"> </div>