Maven plugin for the petals-platform-2.1.2 release

View: New views
3 Messages — Rating Filter:   Alert me  

Maven plugin for the petals-platform-2.1.2 release

by Wladimir Safonov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I've just tried to run some tests with the latest platform release and
was very happy to see that dynamic domain mode now works fine in both
multicast and non-multicast configurations. Thanks guys! ;-)
Unfortunately I also found that the current maven plugin version is not
up-to-date for building and deploying with this platform release. JMX
URI has been changed, but the currently used JMX plugin still uses the
old variant.
Furthermore, I got a NLP exception in the component packaging:

Caused by: org.apache.maven.plugin.MojoExecutionException: Problem while
updating jbi.xml file. We add it like it is
        at
org.ow2.petals.plugin.jbiplugin.JBIPackageMojo.updateComponentJBIXmlFile(JBIPackageMojo.java:720)
        at
org.ow2.petals.plugin.jbiplugin.JBIPackageMojo.packageComponent(JBIPackageMojo.java:286)
        at
org.ow2.petals.plugin.jbiplugin.JBIPackageMojo.executeMojo(JBIPackageMojo.java:250)
        at
org.ow2.petals.plugin.jbiplugin.JBIAbstractMojo.execute(JBIAbstractMojo.java:238)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
        ... 16 more
Caused by: java.lang.NullPointerException
        at
org.ow2.petals.jbi.descriptor.ExtensibleJbiElement.getNode(ExtensibleJbiElement.java:85)
        at
org.ow2.petals.jbi.descriptor.ComponentDescription.getNode(ComponentDescription.java:228)
        at
org.ow2.petals.jbi.descriptor.JBIDescriptor.getDocument(JBIDescriptor.java:186)
        at
org.ow2.petals.plugin.jbiplugin.JBIPackageMojo.updateComponentJBIXmlFile(JBIPackageMojo.java:713)
        ... 21 more

This is due to the fact that some of my component descriptors don't use
petals extensions and thus no extensions node exists in the XML document
tree.
Can you please fix this problem within the next release of maven plugin?

Thanks for your help!

Best regards,
Wladimir Safonov



--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: mailto:petals-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Re: Maven plugin for the petals-platform-2.1.2 release

by Christophe Hamerling :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hu Wladimir,

Thanks for this feedback, we will resolve all of this issues as soon as possible !

Christophe

On Mon, Apr 28, 2008 at 7:29 PM, Wladimir Safonov <wladimir.safonov@...> wrote:
Hi all,

I've just tried to run some tests with the latest platform release and was very happy to see that dynamic domain mode now works fine in both multicast and non-multicast configurations. Thanks guys! ;-)
Unfortunately I also found that the current maven plugin version is not up-to-date for building and deploying with this platform release. JMX URI has been changed, but the currently used JMX plugin still uses the old variant.
Furthermore, I got a NLP exception in the component packaging:

Caused by: org.apache.maven.plugin.MojoExecutionException: Problem while updating jbi.xml file. We add it like it is
      at org.ow2.petals.plugin.jbiplugin.JBIPackageMojo.updateComponentJBIXmlFile(JBIPackageMojo.java:720)
      at org.ow2.petals.plugin.jbiplugin.JBIPackageMojo.packageComponent(JBIPackageMojo.java:286)
      at org.ow2.petals.plugin.jbiplugin.JBIPackageMojo.executeMojo(JBIPackageMojo.java:250)
      at org.ow2.petals.plugin.jbiplugin.JBIAbstractMojo.execute(JBIAbstractMojo.java:238)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
      ... 16 more
Caused by: java.lang.NullPointerException
      at org.ow2.petals.jbi.descriptor.ExtensibleJbiElement.getNode(ExtensibleJbiElement.java:85)
      at org.ow2.petals.jbi.descriptor.ComponentDescription.getNode(ComponentDescription.java:228)
      at org.ow2.petals.jbi.descriptor.JBIDescriptor.getDocument(JBIDescriptor.java:186)
      at org.ow2.petals.plugin.jbiplugin.JBIPackageMojo.updateComponentJBIXmlFile(JBIPackageMojo.java:713)
      ... 21 more
This is due to the fact that some of my component descriptors don't use petals extensions and thus no extensions node exists in the XML document tree.
Can you please fix this problem within the next release of maven plugin?

Thanks for your help!

Best regards,
Wladimir Safonov



--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: mailto:petals-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws




--
Christophe Hamerling
PEtALS ESB Research Engineer / Product Manager @ eBM WebSourcing
Phone : +33534320314
Skype : christophe.hamerling

--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: mailto:petals-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

RE : Re: Maven plugin for the petals-platform-2.1.2 release

by Deneux, Christophe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
 
It seems to me that this problem is already fix in trunk using petals-jbi-descriptor:2.0
 
_______________________________________________________________________________
Christophe DENEUX / Capgemini Sud / Méditerranée
Integration Architect
Tel: + 33 4 93 95 55 92 /
www.capgemini.com
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice / FRANCE
Join the Collaborative Business Experience
_______________________________________________________________________________
Please consider the environment and do not print this email unless absolutely necessary. Capgemini encourages environmental awareness.


De: chamerling.ebmws@... de la part de Christophe Hamerling - eBM WebSourcing
Date: lun. 28/04/2008 23:36
À: petals-users@...
Objet : [petals-users] Re: Maven plugin for the petals-platform-2.1.2 release

Hu Wladimir,

Thanks for this feedback, we will resolve all of this issues as soon as possible !

Christophe

On Mon, Apr 28, 2008 at 7:29 PM, Wladimir Safonov <wladimir.safonov@...> wrote:
Hi all,

I've just tried to run some tests with the latest platform release and was very happy to see that dynamic domain mode now works fine in both multicast and non-multicast configurations. Thanks guys! ;-)
Unfortunately I also found that the current maven plugin version is not up-to-date for building and deploying with this platform release. JMX URI has been changed, but the currently used JMX plugin still uses the old variant.
Furthermore, I got a NLP exception in the component packaging:

Caused by: org.apache.maven.plugin.MojoExecutionException: Problem while updating jbi.xml file. We add it like it is
      at org.ow2.petals.plugin.jbiplugin.JBIPackageMojo.updateComponentJBIXmlFile(JBIPackageMojo.java:720)
      at org.ow2.petals.plugin.jbiplugin.JBIPackageMojo.packageComponent(JBIPackageMojo.java:286)
      at org.ow2.petals.plugin.jbiplugin.JBIPackageMojo.executeMojo(JBIPackageMojo.java:250)
      at org.ow2.petals.plugin.jbiplugin.JBIAbstractMojo.execute(JBIAbstractMojo.java:238)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
      ... 16 more
Caused by: java.lang.NullPointerException
      at org.ow2.petals.jbi.descriptor.ExtensibleJbiElement.getNode(ExtensibleJbiElement.java:85)
      at org.ow2.petals.jbi.descriptor.ComponentDescription.getNode(ComponentDescription.java:228)
      at org.ow2.petals.jbi.descriptor.JBIDescriptor.getDocument(JBIDescriptor.java:186)
      at org.ow2.petals.plugin.jbiplugin.JBIPackageMojo.updateComponentJBIXmlFile(JBIPackageMojo.java:713)
      ... 21 more
This is due to the fact that some of my component descriptors don't use petals extensions and thus no extensions node exists in the XML document tree.
Can you please fix this problem within the next release of maven plugin?

Thanks for your help!

Best regards,
Wladimir Safonov



--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: mailto:petals-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws




--
Christophe Hamerling
PEtALS ESB Research Engineer / Product Manager @ eBM WebSourcing
Phone : +33534320314
Skype : christophe.hamerling


--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: mailto:petals-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
LightInTheBox - Buy quality products at wholesale price