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