[jira] Commented: (MPWAR-50) Add support for EJB client code
[ http://jira.codehaus.org/browse/MPWAR-50?page=comments#action_46726 ] Arnaud Heritier commented on MPWAR-50: -- If you activate maven.ejb.client.generate=true then the ejb client library is in ejb-clients/.jar I'll add support for types 'ejb' and 'ejb-client' > Add support for EJB client code > --- > > Key: MPWAR-50 > URL: http://jira.codehaus.org/browse/MPWAR-50 > Project: maven-war-plugin > Type: Bug > Versions: 1.6.1, 1.6 > Reporter: Jan Bares > Fix For: 1.6.2 > > > The ejb plugin from maven 1.1-beta 2 can generated EJB client code > maven.ejb.client.generate=true. The client code is placed in repository as > ejbs/.jar. Unfortunately war plugin adds only type=jar dependencies > and ignores type=ejb dependencies, see maven-war-plugin-1.6.1/plugin.jelly, > line 149. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Commented: (MPWAR-50) Add support for EJB client code
[ http://jira.codehaus.org/browse/MPWAR-50?page=comments#action_46729 ] Jan Bares commented on MPWAR-50: Actually I am not sure about the ejb-client/.jar. The code looks like it will install the client artifact to ejb-client, but if you use typeHandle=org.apache.maven.ejb.EJBArtifactTypeHandler (as in ejb plugin), it will end up in ejbs folder. > Add support for EJB client code > --- > > Key: MPWAR-50 > URL: http://jira.codehaus.org/browse/MPWAR-50 > Project: maven-war-plugin > Type: Bug > Versions: 1.6.1, 1.6 > Reporter: Jan Bares > Fix For: 1.6.2 > > > The ejb plugin from maven 1.1-beta 2 can generated EJB client code > maven.ejb.client.generate=true. The client code is placed in repository as > ejbs/.jar. Unfortunately war plugin adds only type=jar dependencies > and ignores type=ejb dependencies, see maven-war-plugin-1.6.1/plugin.jelly, > line 149. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Commented: (MPWAR-50) Add support for EJB client code
[ http://jira.codehaus.org/browse/MPWAR-50?page=comments#action_46731 ] Vincent Massol commented on MPWAR-50: - You must use a type of "ejb-client" when referencing an ejb client. Ejb clients are put in "ejbs/" by the ejb plugin. > Add support for EJB client code > --- > > Key: MPWAR-50 > URL: http://jira.codehaus.org/browse/MPWAR-50 > Project: maven-war-plugin > Type: Bug > Versions: 1.6.1, 1.6 > Reporter: Jan Bares > Fix For: 1.6.2 > > > The ejb plugin from maven 1.1-beta 2 can generated EJB client code > maven.ejb.client.generate=true. The client code is placed in repository as > ejbs/.jar. Unfortunately war plugin adds only type=jar dependencies > and ignores type=ejb dependencies, see maven-war-plugin-1.6.1/plugin.jelly, > line 149. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Commented: (MPWAR-50) Add support for EJB client code
[ http://jira.codehaus.org/browse/MPWAR-50?page=comments#action_46732 ] Arnaud Heritier commented on MPWAR-50: -- You're right. It seems that ejb-client is just the type used internally by the ejb plugin. I'll just add the ejb type in the war plugin. > Add support for EJB client code > --- > > Key: MPWAR-50 > URL: http://jira.codehaus.org/browse/MPWAR-50 > Project: maven-war-plugin > Type: Bug > Versions: 1.6.1, 1.6 > Reporter: Jan Bares > Fix For: 1.6.2 > > > The ejb plugin from maven 1.1-beta 2 can generated EJB client code > maven.ejb.client.generate=true. The client code is placed in repository as > ejbs/.jar. Unfortunately war plugin adds only type=jar dependencies > and ignores type=ejb dependencies, see maven-war-plugin-1.6.1/plugin.jelly, > line 149. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Commented: (MPWAR-50) Add support for EJB client code
[ http://jira.codehaus.org/browse/MPWAR-50?page=comments#action_46733 ] Arnaud Heritier commented on MPWAR-50: -- ok, Vincent, thus we must add the support for ejb-client ? > Add support for EJB client code > --- > > Key: MPWAR-50 > URL: http://jira.codehaus.org/browse/MPWAR-50 > Project: maven-war-plugin > Type: Bug > Versions: 1.6.1, 1.6 > Reporter: Jan Bares > Fix For: 1.6.2 > > > The ejb plugin from maven 1.1-beta 2 can generated EJB client code > maven.ejb.client.generate=true. The client code is placed in repository as > ejbs/.jar. Unfortunately war plugin adds only type=jar dependencies > and ignores type=ejb dependencies, see maven-war-plugin-1.6.1/plugin.jelly, > line 149. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Commented: (MPWAR-50) Add support for EJB client code
[ http://jira.codehaus.org/browse/MPWAR-50?page=comments#action_46734 ] Vincent Massol commented on MPWAR-50: - I don't know. Are you sure you need to do anything at all? Have a look at http://www.onjava.com/pub/a/onjava/2005/09/07/maven.html?page=4 It shows how to include an ejb client in a WAR > Add support for EJB client code > --- > > Key: MPWAR-50 > URL: http://jira.codehaus.org/browse/MPWAR-50 > Project: maven-war-plugin > Type: Bug > Versions: 1.6.1, 1.6 > Reporter: Jan Bares > Fix For: 1.6.2 > > > The ejb plugin from maven 1.1-beta 2 can generated EJB client code > maven.ejb.client.generate=true. The client code is placed in repository as > ejbs/.jar. Unfortunately war plugin adds only type=jar dependencies > and ignores type=ejb dependencies, see maven-war-plugin-1.6.1/plugin.jelly, > line 149. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Commented: (MPWAR-50) Add support for EJB client code
[ http://jira.codehaus.org/browse/MPWAR-50?page=comments#action_46737 ] Arnaud Heritier commented on MPWAR-50: -- In your article you only add the dependency on the ejb-client jar ? But in the generated war the ejb-client jar isn't present ! :-( > Add support for EJB client code > --- > > Key: MPWAR-50 > URL: http://jira.codehaus.org/browse/MPWAR-50 > Project: maven-war-plugin > Type: Bug > Versions: 1.6.1, 1.6 > Reporter: Jan Bares > Fix For: 1.6.2 > > > The ejb plugin from maven 1.1-beta 2 can generated EJB client code > maven.ejb.client.generate=true. The client code is placed in repository as > ejbs/.jar. Unfortunately war plugin adds only type=jar dependencies > and ignores type=ejb dependencies, see maven-war-plugin-1.6.1/plugin.jelly, > line 149. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Commented: (MPWAR-50) Add support for EJB client code
[ http://jira.codehaus.org/browse/MPWAR-50?page=comments#action_46738 ] Jan Bares commented on MPWAR-50: Vincent, I know about the article, but it is buggy, even the latest from SVN. Just to be sure, I build it once again and the waf-controller-ejb.jar is not part of waf-web-1.4.war just because of this bug. > Add support for EJB client code > --- > > Key: MPWAR-50 > URL: http://jira.codehaus.org/browse/MPWAR-50 > Project: maven-war-plugin > Type: Bug > Versions: 1.6.1, 1.6 > Reporter: Jan Bares > Fix For: 1.6.2 > > > The ejb plugin from maven 1.1-beta 2 can generated EJB client code > maven.ejb.client.generate=true. The client code is placed in repository as > ejbs/.jar. Unfortunately war plugin adds only type=jar dependencies > and ignores type=ejb dependencies, see maven-war-plugin-1.6.1/plugin.jelly, > line 149. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Commented: (MPWAR-50) Add support for EJB client code
[ http://jira.codehaus.org/browse/MPWAR-50?page=comments#action_46746 ] Vincent Massol commented on MPWAR-50: - Sorry guys. You're right... The build worked fined and I failed to notice that the generated WAR didn't have the ejb client bundled. This is all my fault :-( Thanks to both of you for fixing this. So in order for the code in the article to work, readers will need to use the WAR plugin v1.6.2... Sorry again > Add support for EJB client code > --- > > Key: MPWAR-50 > URL: http://jira.codehaus.org/browse/MPWAR-50 > Project: maven-war-plugin > Type: Bug > Versions: 1.6.1, 1.6 > Reporter: Jan Bares > Fix For: 1.6.2 > > > The ejb plugin from maven 1.1-beta 2 can generated EJB client code > maven.ejb.client.generate=true. The client code is placed in repository as > ejbs/.jar. Unfortunately war plugin adds only type=jar dependencies > and ignores type=ejb dependencies, see maven-war-plugin-1.6.1/plugin.jelly, > line 149. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]