Thanks Geofrey,
Im taking care of it as soon as possible.
Fernando Meyer http://fmeyer.org
[EMAIL PROTECTED]
PGP: 0xD804DDFB
On Jul 27, 2007, at 12:49 PM, Geoffrey De Smet wrote:
Ps the missing drools-compiler-4.0.0.pom, drools-core-4.0.0.pom
files etc cause maven to only use the jars, but forget (non-
optional) transitive dependencies, so you get
ClassNotFoundExceptions because the eclipse compiler is missing.
That is of course, if you haven't svn checked out 4.0.0 and did a
"mvn install", because they you 'd have the poms locally.
This of course makes it hard to test if a deploy was done
correctly... there might be a plugin to verify that (maven-
dependency-plugin maybe?), but what I do is just move .m2/
repository/org/drools a sec, switch drools-solver (taseree) to be
dependend on 4.0.0 and then run it, getting the
ClassNotFoundExceptions.
With kind regards,
Geoffrey De Smet
Geoffrey De Smet wrote:
Actually it's a corrupted deploy apparently, but because of a
different reason:
http://repository.jboss.com/maven2/org/drools/drools-compiler/4.0.0/
does not contain
drools-compiler-4.0.0.pom
instead it contains pom.xml but a remote repository should not
contain that.
Someone's not been using "mvn deploy" here :)
Sources jar are also missing of course, although I am pretty sure
a "mvn deploy" deploys them to (as well as hashes/md5 and stuff).
Also note that you can "mvn deploy" to a different repo with the -
DaltRepository parameter (though the format is a bit tricky to get
right)
Anyone with access to the server can easily do a "mvn deploy", the
only pitfall is getting USER_HOME/.m2/setting.xml correctly before
doing it:
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<!--<interactiveMode>false</interactiveMode>-->
<servers>
<server>
<id>shell.sourceforge.net</id>
<username>ge0ffrey</username>
<password>xxx</password>
<filePermissions>775</filePermissions>
<directoryPermissions>775</directoryPermissions>
</server>
</servers>
</settings>
Mind the permissions: otherwise it's 700 or something and pretty
annoying if any other team member ever wants to fix anything
manually.
My advice: clean up all the org/drools/*/4.0.0 dirs and start over :)
With kind regards,
Geoffrey De Smet
Geoffrey De Smet wrote:
That's just the parent pom probably,
Make a dependency on org.drools:drools-core:4.0.0 and probably
drools-compiler too.
With kind regards,
Geoffrey De Smet
Greg Barton wrote:
Also, I just tried upping a maven project to 4.0.0.
(Haven't worked through the compile issues, but that's
not my concern at the moment.) I noticed a
org.drools/drools artifact and tried that first, but
it didn't work. There's no jar in
http://repository.jboss.com/maven2/org/drools/drools/4.0.0/
, just the pom.xml, so maven reported the artifact as
missing. I used org.drools/drools-core instead and
everything was fine. Just FYI.
--- Geoffrey De Smet <[EMAIL PROTECTED]> wrote:
Great work :)
Any chance of getting
http://repository.jboss.com/maven2/org/drools synced to the
central maven repo like they do for
spring etc?
With kind regards,
Geoffrey De Smet
Fernando Meyer wrote:
We have just updated maven repository and drools
IDE update site to
include drools 4.0.0 GA libraries. You can check
both at the following
addresses:
_http://repository.jboss.com/maven2/org/drools/___
_http://downloads.jboss.com/drools/updatesite/site.xml___
Last but not less important, remember that the new
drools page at
jboss.org is _http://labs.jboss.com/drools/_ as
same as the new
downloads page
_http://labs.jboss.com/drools/downloads_
Fernando Meyer - http://fmeyer.org
Y! [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3124-6000
Mobile: +55 11 8524-1298
JBoss, a division of Red Hat @ www.jboss.com
<http://www.jboss.com>
PGP: 0xAB29DA3A
-------------------------------------------------------------------
-----
_______________________________________________
rules-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-dev
_______________________________________________
rules-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-dev
___________________________________________________________________
_________________
Fussy? Opinionated? Impossible to please? Perfect. Join
Yahoo!'s user panel and lay it on us. http://
surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
_______________________________________________
rules-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-dev
_______________________________________________
rules-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-dev
_______________________________________________
rules-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-dev
_______________________________________________
rules-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-dev
_______________________________________________
rules-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-dev