[jboss-jira] [JBoss JIRA] (DROOLS-796) Native maven pom parser doesn't work under OSGi
David virgil naranjo (JIRA)
issues at jboss.org
Thu Sep 17 05:27:00 EDT 2015
[ https://issues.jboss.org/browse/DROOLS-796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13109831#comment-13109831 ]
David virgil naranjo commented on DROOLS-796:
---------------------------------------------
I ve already tested the functionality on EAP 6.4, and Bxms 6.2. The use case is working
This is what I did:
1. Configure EAP 6.4 to use Fuse-bxms-integ. What I do is to use the Jboss eap 6.4 folder that is generated in the itests folder:
https://github.com/jboss-integration/fuse-bxms-integ/tree/master/release/eap/itests
2. Then it is important to make it working to set the M2_HOME:
export M2_HOME=$
{YOUR MAVEN HOME}
3. Modify the container quickstart to scan for updates:
https://github.com/jboss-integration/fuse-bxms-integ/tree/master/quickstarts/switchyard-rules-interview-container
4. For doing that it is required:
Import the project in eclipse.
Edit the src/main/resources/META-INF/switchyard.xml
Check the checkbox scan for updates
Include a release id, setting the groupId, artifactId and versionId. Use the same releaseId that is included in the pom.xml
5. Start Jboss EAP 6.4
6. mvn clean install -Pdeploy -Dmaven.test.skip=true
7. Modify the swithcyard.xml and uncheck the scan for updates (this is because the junit tests are failing in this case).
8. mvn clean install
9. mvn exec:java
10. Modify the drl file and in the System.out include something else.
11. mvn clean install
12. After one minute you ll see in the jboss logs that the artifact has been updated
13. mvn exec:java
14. Chekc the jboss logs and you ll see that the change has been updated.
> Native maven pom parser doesn't work under OSGi
> -----------------------------------------------
>
> Key: DROOLS-796
> URL: https://issues.jboss.org/browse/DROOLS-796
> Project: Drools
> Issue Type: Bug
> Affects Versions: 6.2.0.Final
> Reporter: David virgil naranjo
> Assignee: Mario Fusco
> Fix For: 6.3.0.Beta2
>
> Attachments: switchyard-example-rules-kie.zip
>
>
> The KieScanner is used on Switchyard (layer of drools). It is failing for certains cases.
> In the example attached, this is the error obtained when the kieScanner tires to read the pom.xml of the project uploadded to the maven repo:
> https://gist.github.com/dvirgiln/e5c69afc7434367e04c1
> This is executed on EAP.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list