Hey,
Following the instructions below, during execution of the 'mvn
eclipse:eclipse' command execution, I get the following error...
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Drools
[INFO] Drools :: Rete-OO Core
[INFO] Drools :: Compiler
[INFO] Drools :: JSR-94 API Module
[INFO] Searching repository for plugin with prefix: 'eclipse'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building Drools
[INFO] task-segment: [eclipse:eclipse]
[INFO]
----------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
[INFO] No goals needed for project - skipping
[INFO] [eclipse:eclipse]
[INFO] Not running eclipse plugin goal for pom project
[INFO]
----------------------------------------------------------------------------
[INFO] Building Drools :: Rete-OO Core
[INFO] task-segment: [eclipse:eclipse]
[INFO]
----------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING]
Artifact junit:junit:jar:3.8.1:test retains local scope 'test'
overriding broader scope 'compile'
given by a dependency. If this is not intended, modify or remove the
local scope.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [eclipse:eclipse]
[INFO] File C:\tools\drools-2.5-final\Drools\drools-core\.project already
exists.
Additional settings will be preserved, run mvn eclipse:clean if you
want old settings to be removed.
[INFO] Not writing settings - defaults suffice
[INFO]
Sources for some artifacts are not available.
Please run "mvn -Declipse.downloadSources=true eclipse:eclipse" in
order to check remote repositories for sources.
List of artifacts without a source archive:
o concurrent:concurrent:jar:1.3.4
o jung:jung:jar:1.7.2
o commons-collections:commons-collections:jar:3.1
o xstream:xstream:jar:1.1.3
o junit:junit:jar:3.8.1
o drools-asm:drools-asm:jar:2.2.1
o xerces:xercesImpl:jar:2.6.2
o xpp3:xpp3:jar:1.1.3.3
o colt:colt:jar:1.2.0
[INFO] Wrote Eclipse project for "drools-core" to
C:\tools\drools-2.5-final\Drools\drools-core.
[INFO]
----------------------------------------------------------------------------
[INFO] Building Drools :: Compiler
[INFO] task-segment: [eclipse:eclipse]
[INFO]
----------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING]
Artifact xstream:xstream:jar:1.1.3:runtime retains local scope
'runtime' overriding broader scope 'compile'
given by a dependency. If this is not intended, modify or remove the
local scope.
Downloading:
file://C:\tools\drools-2.5-final\Drools\drools-compiler/../repository/org/dr
ools/drools-core/3.0-beta-1/drools-core-3.0-beta-1.jar
[WARNING] Unable to get resource from repository basedir
(file://C:\tools\drools-2.5-final\Drools\drools-compiler/../repository)
Downloading:
http://www.ibiblio.org/maven2//org/drools/drools-core/3.0-beta-1/drools-core
-3.0-beta-1.jar
[WARNING] Unable to get resource from repository ibiblio
(http://www.ibiblio.org/maven2/)
Downloading:
http://repo1.maven.org/maven2/org/drools/drools-core/3.0-beta-1/drools-core-
3.0-beta-1.jar
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.drools:drools-core:jar:3.0-beta-1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.drools -DartifactId=drools-core
\
-Dversion=3.0-beta-1 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) org.drools:drools-compiler:jar:3.0-beta-1
2) org.drools:drools-core:jar:3.0-beta-1
----------
1 required artifact is missing.
for artifact:
org.drools:drools-compiler:jar:3.0-beta-1
from the specified remote repositories:
Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
central (http://repo1.maven.org/maven2),
ibiblio (http://www.ibiblio.org/maven2/),
basedir
(file://C:\tools\drools-2.5-final\Drools\drools-compiler/../repository)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Wed Mar 29 10:48:28 PST 2006
[INFO] Final Memory: 4M/8M
[INFO]
------------------------------------------------------------------------
-----Original Message-----
From: Michael Neale [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 28, 2006 9:33 PM
To: [email protected]
Subject: Re: [drools-user] Compiling Drools 3 in Eclipse
If there are any steps missing, please let me know, I will update the wiki.
Actually, I think anyone can signup with a jboss.com account and then adjust
the wiki - please feel free too.
We will have "official" documents (the manual) and the wiki, the wiki will
be a good source of hands on instructions, which we can move to the manual
for future revisions.
Michael.
On 3/29/06, Steven Williams <[EMAIL PROTECTED]> wrote:
I followed the instructions at
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossRules without any major
problems - it gave me drools-core, drools-compiler and drools-jsr94
eclipse
projects I could import.
cheers
Steve
On 3/29/06, Mitch Christensen <[EMAIL PROTECTED]> wrote:
Hey,
I spent some time yesterday trying to import/compile Drools 3 in Eclipse
with no luck.
Does anyone have any experience/instructions on how to do this?
-Mitch
--
Steven Williams
Supervising Consultant
Object Consulting
Office: 8615 4500 Mob: 0439 898 668 Fax: 8615 4501
[EMAIL PROTECTED]
www.objectconsulting.com.au
consulting | development | training | support
our experience makes the difference