Discussion:
Generation of ibm-application-bnd.xmi files with maven
Arand, Thomas (NSN - DE/Muenich)
2008-05-08 10:50:16 UTC
Permalink
Hi all,

I'm building an ear-project with maven. The generated ear-file must be
suitable for the IBM WebSphere application server (6.0 in my case).

I'm currently using the maven-ear-plugin. This plugin is able to
generate the necessary META-INF/application.xml file automatically.
However, for WebSphere it is necessary to also create a file called
META-INF/ibm-application-bnd.xmi file.

Does anybody know how I can do it? I didn't find an option for the
maven-ear-plugin (though there is one to create jboss-specific files).

Thanks in advance,

Thomas
Baeriswyl Kuno - Extern (IT-BA-MV)
2008-05-08 11:00:05 UTC
Permalink
Hello Thomas,

I've got the same issue, though, we are using WAS 6.1. The issue is related to maven-ear-plugin and maven-eclipse-plugin. I've found a solution yet. I copy a static file.

So, I'm looking forward to a solutions for this issue.
Kuno

-----Ursprüngliche Nachricht-----
Von: Arand, Thomas (NSN - DE/Muenich) [mailto:***@nsn.com]
Gesendet: Donnerstag, 8. Mai 2008 12:50
An: ***@maven.apache.org
Betreff: Generation of ibm-application-bnd.xmi files with maven


Hi all,

I'm building an ear-project with maven. The generated ear-file must be suitable for the IBM WebSphere application server (6.0 in my case).

I'm currently using the maven-ear-plugin. This plugin is able to generate the necessary META-INF/application.xml file automatically. However, for WebSphere it is necessary to also create a file called META-INF/ibm-application-bnd.xmi file.

Does anybody know how I can do it? I didn't find an option for the maven-ear-plugin (though there is one to create jboss-specific files).

Thanks in advance,

Thomas
Wouter Hermeling
2008-05-08 11:32:03 UTC
Permalink
I've done this in the past (before maven2) using an xdoclet maven1 plugin.
There is an XDoclet plugin available for maven2 too. I suggest you give it a
try. If you're totally stuck, i might be able to help you by providing you
the old xdoclet maven1 plugin configuration.

kind regards,
Wouter
Post by Arand, Thomas (NSN - DE/Muenich)
Hi all,
I'm building an ear-project with maven. The generated ear-file must be
suitable for the IBM WebSphere application server (6.0 in my case).
I'm currently using the maven-ear-plugin. This plugin is able to
generate the necessary META-INF/application.xml file automatically.
However, for WebSphere it is necessary to also create a file called
META-INF/ibm-application-bnd.xmi file.
Does anybody know how I can do it? I didn't find an option for the
maven-ear-plugin (though there is one to create jboss-specific files).
Thanks in advance,
Thomas
--
View this message in context: http://www.nabble.com/Generation-of-ibm-application-bnd.xmi-files-with-maven-tp17124798p17124836.html
Sent from the Maven - Users mailing list archive at Nabble.com.
Arand, Thomas (NSN - DE/Muenich)
2008-05-13 13:27:10 UTC
Permalink
Hi Wouter,

thanks for your suggestion. It would be interesting to know which Xdoclet task you where using. I looked up the documentation, but wasn't able to find one which seems feasable.

Thank you very much,

Thomas


-----Ursprüngliche Nachricht-----
Von: ext Wouter Hermeling [mailto:***@gmail.com]
Gesendet: Donnerstag, 8. Mai 2008 13:32
An: ***@maven.apache.org
Betreff: Re: Generation of ibm-application-bnd.xmi files with maven


I've done this in the past (before maven2) using an xdoclet maven1 plugin.
There is an XDoclet plugin available for maven2 too. I suggest you give it a
try. If you're totally stuck, i might be able to help you by providing you
the old xdoclet maven1 plugin configuration.

kind regards,
Wouter
Post by Arand, Thomas (NSN - DE/Muenich)
Hi all,
I'm building an ear-project with maven. The generated ear-file must be
suitable for the IBM WebSphere application server (6.0 in my case).
I'm currently using the maven-ear-plugin. This plugin is able to
generate the necessary META-INF/application.xml file automatically.
However, for WebSphere it is necessary to also create a file called
META-INF/ibm-application-bnd.xmi file.
Does anybody know how I can do it? I didn't find an option for the
maven-ear-plugin (though there is one to create jboss-specific files).
Thanks in advance,
Thomas
--
View this message in context: http://www.nabble.com/Generation-of-ibm-application-bnd.xmi-files-with-maven-tp17124798p17124836.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@maven.apache.org
For additional commands, e-mail: users-***@maven.apache.org
Wouter Hermeling
2008-05-14 20:12:26 UTC
Permalink
Hi Thomas,

My bad. I looked up in the old code repo and it seems we were only
generating ejb bnd xmi files. For ears we could use the ones which WSAD
generated.

However, i stumbled across this post
(http://www.mail-archive.com/xdoclet-***@lists.sourceforge.net/msg10689.html)
which says it can be done with the WSDL2JavaTask ant task. I've got no
experience with this, but you could give it a try.

Good luck,
Wouter
Post by Arand, Thomas (NSN - DE/Muenich)
Hi Wouter,
thanks for your suggestion. It would be interesting to know which Xdoclet
task you where using. I looked up the documentation, but wasn't able to
find one which seems feasable.
Thank you very much,
Thomas
-----Ursprüngliche Nachricht-----
Gesendet: Donnerstag, 8. Mai 2008 13:32
Betreff: Re: Generation of ibm-application-bnd.xmi files with maven
I've done this in the past (before maven2) using an xdoclet maven1 plugin.
There is an XDoclet plugin available for maven2 too. I suggest you give it a
try. If you're totally stuck, i might be able to help you by providing you
the old xdoclet maven1 plugin configuration.
kind regards,
Wouter
Post by Arand, Thomas (NSN - DE/Muenich)
Hi all,
I'm building an ear-project with maven. The generated ear-file must be
suitable for the IBM WebSphere application server (6.0 in my case).
I'm currently using the maven-ear-plugin. This plugin is able to
generate the necessary META-INF/application.xml file automatically.
However, for WebSphere it is necessary to also create a file called
META-INF/ibm-application-bnd.xmi file.
Does anybody know how I can do it? I didn't find an option for the
maven-ear-plugin (though there is one to create jboss-specific files).
Thanks in advance,
Thomas
--
http://www.nabble.com/Generation-of-ibm-application-bnd.xmi-files-with-maven-tp17124798p17124836.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
---------------------------------------------------------------------
--
View this message in context: http://www.nabble.com/Generation-of-ibm-application-bnd.xmi-files-with-maven-tp17124798p17239846.html
Sent from the Maven - Users mailing list archive at Nabble.com.
d***@davidkarlsen.com
2008-05-08 17:06:38 UTC
Permalink
Post by Arand, Thomas (NSN - DE/Muenich)
Hi all,
I'm building an ear-project with maven. The generated ear-file must be
suitable for the IBM WebSphere application server (6.0 in my case).
I'm currently using the maven-ear-plugin. This plugin is able to
generate the necessary META-INF/application.xml file automatically.
However, for WebSphere it is necessary to also create a file called
META-INF/ibm-application-bnd.xmi file.
Yes - you can use the wsDefaultBindings goal from the was6 plugin:
http://mojo.codehaus.org/was6-maven-plugin/wsDefaultBindings-mojo.html
It was originally designed for was 6.1 - but you might get lucky with
was6.0.x too.

--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com
Loading...