Hi Vimal,
By default maven reads 2 settings.xml files: the one located in your M2_HOME
and the one in your local repository that usually is under ${user_home}/.m2,
so yes, to make this works you should set the M2_HOME environment variable.
However you can override this default using the
Thanks a lot Marion, that is exactly what I was looking for.
Vimal
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools6-Having-trouble-in-using-kie-ci-tp4027208p4027247.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
just a reminder
——
There is problem, fixed in master, for remote jars. The KieRepository
currently, when using kie-ci, doesn’t obey the settings.xml active profiles.
This means it is not recognising the remote configured repositories.
While this is fixed, and we’ll have binaries out in about 2
Thanks a lot Mark.
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools6-Having-trouble-in-using-kie-ci-tp4027208p4027258.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
all fixed in the daily build, give it a try please.
http://download.jboss.org/drools/release/snapshot/6.0.x/
Mark
On 12 Dec 2013, at 19:08, vimalkansal vimalkan...@yahoo.com wrote:
Thanks a lot Mark.
--
View this message in context:
Thanks Mark.
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools6-Having-trouble-in-using-kie-ci-tp4027208p4027262.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
Hi Manstis,
I am going to try out what you have suggested, but I have the following
questions :
In the first instance this answer looked alright, but then how is it a
dynamic module? I was under the impression (as mentioned in the doco also)
that by having kie-ci on the classpath, it can pull
Hi Manstis,
Also, I am running another instane of KIE-WB which points to the default
M2_REPO i.e /home/user/.m2 and I I have done build and deploy to push the
built jar to this repo.
Then I have written a Java SE application and I am able to successfully
dynamically download the jar and run the
And here is how my Java code looks like :
public class HelloWorldRuleExecutor {
public static void main(String[] args) {
// TODO Auto-generated method stub
String msg = xxx;
KieServices ks = KieServices.Factory.get();
I assume .m2, kie-wb and your application are all running on the same
computer? Delete from your .m2 and try again (without having the repository
in your pom). It should fail.
When everything is in the same computer it is harder (for you) to replicate
a remote maven repository. Deleting from .m2
Yes, you are correct, my application, .m2 and kie-wb are running on the same
machine., and I can see your point. But in the different instance(the
scenario that I originally described) I have a web application, .m2 and
kie-web running on the same machine and my code is not able to download the
jar
You don't need to run on 2 machines; I was trying to explain why the
dependency could be resolved in kie-wb without the additional repository
element in your consuming projects pom.
You are correct that the pom is used at build time. There were lots of
emails recently about your enquiry that
Thanks manstis. I will be eagerly looking forward to the solution.
Vimal
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools6-Having-trouble-in-using-kie-ci-tp4027208p4027238.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
Sent.. email titled something like remote jars and dynamic modules.
Sent on the move
On 12 Dec 2013 07:26, vimalkansal vimalkan...@yahoo.com wrote:
Thanks manstis. I will be eagerly looking forward to the solution.
Vimal
--
View this message in context:
Please note this relates to remote maven repositories; I.e. where kie-wb
(and it's maven repo) are on one machine; and your consuming application on
another machine.
If everything is on a single machine use of settings.xml is not needed as
artifacts should be resolved against .m2.
There is a
Hi,
I have an instance of Kie-WB running and I have started it with property
org.guvnor.m2repo.dir set to some non default location (i.e not in
/../home/.2). I am able to use the KIE WB to build and deploy the project
to this repository. Then I have built a web application ( I have declared
the
Have you add the workbench maven repository to your web-app's pom and the
project you've compiled in the workbench as a decency?
Have you disabled security for the maven repository or have you configured
maven preemptive authentication in settings.xml?
There were a number of emails last week
Yup, I think that must be the issue, I simply forgot to do that.
Thx a lot
Vimal
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools6-Having-trouble-in-using-kie-ci-tp4027208p4027215.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
18 matches
Mail list logo