<div> </div>
<div>Sorry For Multiple posting but I had problems with the last post....</div>
<div> </div>
<div>I deleted all the active links and I hope that It works.</div>
<div> </div>
<div>The post has been rendered as follows: "weft didn't produce an output."</div>
<div> </div>
<div>massi</div>
<div> </div>
<div>----</div>
<div> </div>
<div>Hi guys,<br> <br>I got troubled trying to deploy the "Insurance example" in JBoss.<br> <br>I tell you, step by step, what I did.<br> <br>1. I downloaded "drools-4.0.3-examples.zip" from JBoss site.
<br>2. I extracted the "insurance-example" into directory "insurance".<br>3. I downloaded and installed maven 1.8.<br>4. I opened a "cmd" shell and I executed the command: mvn clean package.<br>
5. I got back the following error message:<br> <br>C:\Users\mmquelo\Documents\Eclipse Workspaces\insurance33\insurance>mvn -e clean package<br>+ Error stacktraces are turned on.<br>[INFO] Scanning for projects...<br>[INFO] ------------------------------------------------------------------------
<br>[INFO] Building DroolsInsurance<br>[INFO] task-segment: [clean, package]<br>[INFO] ------------------------------------------------------------------------<br>Downloading: <br><a href="http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.1/maven-clean-plugin-2.1.pom">
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.1/maven-clean-plugin-2.1.pom</a><br>Downloading: <br><a href="http://repository.jboss.com/maven2/org/apache/maven/plugins/maven-c">http://repository.jboss.com/maven2/org/apache/maven/plugins/maven-c
</a> lean-plugin/2.1/maven-clean-plugin-2.1.pom<br>Downloading: <br><a href="http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-">http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-</a> plugin/2.1/maven-
clean-plugin-2.1.pom<br>[INFO] ------------------------------------------------------------------------<br>[ERROR] BUILD ERROR<br>[INFO] ------------------------------------------------------------------------<br>[INFO] Error building POM (may not be this project's POM).
<br>Project ID: org.apache.maven.plugins:maven-clean-plugin<br>Reason: POM 'org.apache.maven.plugins:maven-clean-plugin' not found in repositor y: Unable to download the artifact from any repository<br> org.apache.maven.plugins:maven-clean-plugin:pom:2.1
<br>from the specified remote repositories: <br> jbossRepository (<br><a href="http://repository.jboss.com/maven2">http://repository.jboss.com/maven2</a>),<br> central (<br><a href="http://repo1.maven.org/maven2">http://repo1.maven.org/maven2
</a>) <br> for project org.apache.maven.plugins:maven-clean-plugin<br>[INFO] ------------------------------------------------------------------------<br>[INFO] Trace<br>org.apache.maven.lifecycle.LifecycleExecutionException
: Unable to build project<br>for plugin 'org.apache.maven.plugins:maven-clean-plugin': POM 'org.apache.maven.<br>plugins:maven-clean-plugin' not found in repository: Unable to download the arti<br>fact from any repository
<br> org.apache.maven.plugins:maven-clean-plugin:pom:2.1<br>from the specified remote repositories: <br> jbossRepository (<br><a href="http://repository.jboss.com/maven2">http://repository.jboss.com/maven2</a>),<br> central (
<br><a href="http://repo1.maven.org/maven2">http://repo1.maven.org/maven2</a>) <br> for project org.apache.maven.plugins:maven-clean-plugin<br> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java
:1274)<br> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor<br>(DefaultLifecycleExecutor.java:1522)<br> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging
(DefaultLifecycleExecutor.java:1016)<br> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:980)<br> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(DefaultLifecycleExecutor.java:458)<br> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)<br> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
(DefaultLifecycleExecutor.java:278)<br> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)<br> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
<br> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)<br> at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)<br> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.<br>java:39)<br> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces<br>sorImpl.java:25)<br> at java.lang.reflect.Method.invoke
(Method.java:597)<br> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)<br> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)<br> at org.codehaus.classworlds.Launcher.mainWithExitCode
(Launcher.java:430)<br> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) <br>Caused by: org.apache.maven.plugin.InvalidPluginException: Unable to build proje<br>ct for plugin 'org.apache.maven.plugins:maven-clean-plugin
': POM 'org.apache.mav<br>en.plugins:maven-clean-plugin' not found in repository: Unable to download the a<br>rtifact from any repository<br> org.apache.maven.plugins:maven-clean-plugin:pom:2.1<br>from the specified remote repositories:
<br> jbossRepository (<br><a href="http://repository.jboss.com/maven2">http://repository.jboss.com/maven2</a>),<br> central (<br><a href="http://repo1.maven.org/maven2">http://repo1.maven.org/maven2</a>) <br> for project
org.apache.maven.plugins:maven-clean-plugin<br> at org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion(DefaultPluginManager.java:277)<br> at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin
(DefaultPluginManager.java:193)<br> at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:172)<br> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java
:1257)<br> ... 18 more<br>Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.apache.maven.plugins:maven-clean-plugin' not found in repository: Unable to download the<br>artifact from any repository
<br> org.apache.maven.plugins:maven-clean-plugin:pom:2.1<br>from the specified remote repositories: <br> jbossRepository (<br><a href="http://repository.jboss.com/maven2">http://repository.jboss.com/maven2</a>),<br> central (
<br><a href="http://repo1.maven.org/maven2">http://repo1.maven.org/maven2</a>) <br> for project org.apache.maven.plugins:maven-clean-plugin<br> at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository
(DefaultMavenProjectBuilder.java:571)<br> at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:231)<br> at org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion
(DefaultPluginManager.java:261)<br> ... 21 more<br>Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable<br>to download the artifact from any repository<br> org.apache.maven.plugins:maven-clean-plugin:pom:2.1
<br>from the specified remote repositories: <br> jbossRepository (<br><a href="http://repository.jboss.com/maven2">http://repository.jboss.com/maven2</a>),<br> central (<br><a href="http://repo1.maven.org/maven2">http://repo1.maven.org/maven2
</a>) <br> at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De faultArtifactResolver.java:206)<br> at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java
:73)<br> at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:524)<br> ... 23 more<br>Caused by: org.apache.maven.wagon.ResourceDoesNotExistException
: Unable to download the artifact from any repository<br> at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:324)<br> at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve
(DefaultArtifactResolver.java:194)<br> ... 25 more<br>[INFO] ------------------------------------------------------------------------<br>[INFO] Total time: 3 seconds<br>[INFO] Finished at: Fri Dec 07 11:00:35 CET 2007
<br>[INFO] Final Memory: 1M/4M<br>[INFO] ------------------------------------------------------------------------<br>C:\Users\mmquelo\Documents\Eclipse Workspaces\insurance33\insurance><br>What did it go wrong?<br>What did I miss?
<br> <br>Thank You again!<br> <br>Massi</div>