RE: Question - weblogic-maven-plugin - Urgent
Hi Scott, I tried other to achieve that (build the ear). Use the WebLogic Workshop to export the build.xml. And then use the maven-antrun-plugin to execute that build.xml. The EAR can build successfully. build plugins plugin artifactIdmaven-antrun-plugin/artifactId executions execution phasepackage/phase configuration tasks echoBuilding EAR by using WebLogic generated build.xml/echo ant antfile=${basedir}/build.xml inheritRefs=true target name=build/ /ant /tasks /configuration goals goalrun/goal /goals /execution /executions /plugin /plugins /build But there are some problems / questions . 1)As I used packagingpom/packaging. The built EAR don't copy to Repository, just only copy the pom.xml only. If I change to this packagingear/packaging. Even the build.xml is executed but Maven will copy the other EAR (the incorrect one) and POM to the repository. So how can I solve that ??? 2)In the Multiproject case, I have some EJB, Taglib, etc in other Project. How can I copy it into the WebLogic Application source directory ? Thanks, Eric -Original Message- From: Scott Ryan [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ryan Sent: Sunday, July 29, 2007 12:19 AM To: Maven Users List Subject: Re: Question - weblogic-maven-plugin - Urgent Appc has been repackaged and has become very difficult to support. I am working on getting support built into the plugin however it requires a host of additional libraries that would make the other goals a real pain to use. I will probably post a set of instructions on the mojo website on how to set up the proper libraries to run appc and then it is really unpredictable. Since I get no support for this plugin from BEA it is some guesswork on my end. There are a number of posts on the mojo list that describe how to get appc working. If you want to work with me to get it working I will be more than happy to put it in the plugin. Sorry, Scott Ryan On Jul 27, 2007, at 7:57 PM, Dmitry wrote: Eric, Probably you did not set correct configuration for maven..it's one point. Actually its interesting about maven plagin for Workshop. Can you sene the link to that plugin i also try to use it. thanks, dt www.ejinz.com Search Engine News - Original Message - From: Eric YH WONG To: 'Maven Users List' Sent: Friday, July 27, 2007 8:52 PM Subject: Question - weblogic-maven-plugin - Urgent Hi All, Here is my env setting: JDK v1.4.2, WebLogic Platform v8.1.6, Windows XP SP2. I use WebLogic Workshop (accompany with the WebLogic Platform installer) v8.1.6 to create a new Application and a portal project. Attached the Directory Layout. And I want to use Maven2 to build an EAR, so I created a pom.xml and using weblogic-maven-plugin v2.8.0.. When I execute mvn weblogic:appc I got errors (see the attached files Debug.txt and Error.txt). Does anyone can help to resolve it ??? Thanks, Eric -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Scott Ryan CTO Soaring Eagle L.L.C. Denver, Co. 80129 www.soaringeagleco.com www.theryansplace.com (303) 263-3044 [EMAIL PROTECTED]
Re: Question - weblogic-maven-plugin - Urgent
Appc has been repackaged and has become very difficult to support. I am working on getting support built into the plugin however it requires a host of additional libraries that would make the other goals a real pain to use. I will probably post a set of instructions on the mojo website on how to set up the proper libraries to run appc and then it is really unpredictable. Since I get no support for this plugin from BEA it is some guesswork on my end. There are a number of posts on the mojo list that describe how to get appc working. If you want to work with me to get it working I will be more than happy to put it in the plugin. Sorry, Scott Ryan On Jul 27, 2007, at 7:57 PM, Dmitry wrote: Eric, Probably you did not set correct configuration for maven..it's one point. Actually its interesting about maven plagin for Workshop. Can you sene the link to that plugin i also try to use it. thanks, dt www.ejinz.com Search Engine News - Original Message - From: Eric YH WONG To: 'Maven Users List' Sent: Friday, July 27, 2007 8:52 PM Subject: Question - weblogic-maven-plugin - Urgent Hi All, Here is my env setting: JDK v1.4.2, WebLogic Platform v8.1.6, Windows XP SP2. I use WebLogic Workshop (accompany with the WebLogic Platform installer) v8.1.6 to create a new Application and a portal project. Attached the Directory Layout. And I want to use Maven2 to build an EAR, so I created a pom.xml and using weblogic-maven-plugin v2.8.0.. When I execute mvn weblogic:appc I got errors (see the attached files Debug.txt and Error.txt). Does anyone can help to resolve it ??? Thanks, Eric -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Scott Ryan CTO Soaring Eagle L.L.C. Denver, Co. 80129 www.soaringeagleco.com www.theryansplace.com (303) 263-3044 [EMAIL PROTECTED]
Re: Question - weblogic-maven-plugin - Urgent
I recall that the last time I used this plugin I had to set up the following properties in my settings.xml file: bea.home/Users/steve/servers/bea/bea.home weblogic.domainwls/weblogic.domain Plugin configuration was something like: plugin groupIdorg.codehaus.mojo/groupId artifactIdweblogic-maven-plugin/artifactId version2.8.0-SNAPSHOT/version executions execution idwlappc/id goals goalappc/goal /goals phasepackage/phase configuration verbosetrue/verbose debugtrue/debug /configuration /execution /executions dependencies dependency groupIdsun.jdk/groupId artifactIdtools/artifactId version1.4.2/version scopesystem/scope systemPath${java.home}/../lib/tools.jar/systemPath /dependency /dependencies /plugin Cheers, Steve Coy On 29/07/2007, at 2:19 AM, Scott Ryan wrote: Appc has been repackaged and has become very difficult to support. I am working on getting support built into the plugin however it requires a host of additional libraries that would make the other goals a real pain to use. I will probably post a set of instructions on the mojo website on how to set up the proper libraries to run appc and then it is really unpredictable. Since I get no support for this plugin from BEA it is some guesswork on my end. There are a number of posts on the mojo list that describe how to get appc working. If you want to work with me to get it working I will be more than happy to put it in the plugin. Sorry, Scott Ryan On Jul 27, 2007, at 7:57 PM, Dmitry wrote: Eric, Probably you did not set correct configuration for maven..it's one point. Actually its interesting about maven plagin for Workshop. Can you sene the link to that plugin i also try to use it. thanks, dt www.ejinz.com Search Engine News - Original Message - From: Eric YH WONG To: 'Maven Users List' Sent: Friday, July 27, 2007 8:52 PM Subject: Question - weblogic-maven-plugin - Urgent Hi All, Here is my env setting: JDK v1.4.2, WebLogic Platform v8.1.6, Windows XP SP2. I use WebLogic Workshop (accompany with the WebLogic Platform installer) v8.1.6 to create a new Application and a portal project. Attached the Directory Layout. And I want to use Maven2 to build an EAR, so I created a pom.xml and using weblogic-maven-plugin v2.8.0.. When I execute mvn weblogic:appc I got errors (see the attached files Debug.txt and Error.txt). Does anyone can help to resolve it ??? Thanks, Eric - - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Scott Ryan CTO Soaring Eagle L.L.C. Denver, Co. 80129 www.soaringeagleco.com www.theryansplace.com (303) 263-3044 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Question - weblogic-maven-plugin - Urgent
Hi All, Here is my env setting: JDK v1.4.2, WebLogic Platform v8.1.6, Windows XP SP2. I use WebLogic Workshop (accompany with the WebLogic Platform installer) v8.1.6 to create a new Application and a portal project. Attached the Directory Layout. And I want to use Maven2 to build an EAR, so I created a pom.xml and using weblogic-maven-plugin v2.8.0.. When I execute mvn weblogic:appc I got errors (see the attached files Debug.txt and Error.txt). Does anyone can help to resolve it ??? Thanks, Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Question - weblogic-maven-plugin - Urgent
Hi All, Here is my env setting: JDK v1.4.2, WebLogic Platform v8.1.6, Windows XP SP2. I use WebLogic Workshop (accompany with the WebLogic Platform installer) v8.1.6 to create a new Application and a portal project. Attached the Directory Layout. And I want to use Maven2 to build an EAR, so I created a pom.xml and using weblogic-maven-plugin v2.8.0.. When I execute mvn weblogic:appc I got errors (see the attached files Debug.txt and Error.txt). Does anyone can help to resolve it ??? Thanks, Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Question - weblogic-maven-plugin - Urgent
Eric, Probably you did not set correct configuration for maven..it's one point. Actually its interesting about maven plagin for Workshop. Can you sene the link to that plugin i also try to use it. thanks, dt www.ejinz.com Search Engine News - Original Message - From: Eric YH WONG To: 'Maven Users List' Sent: Friday, July 27, 2007 8:52 PM Subject: Question - weblogic-maven-plugin - Urgent Hi All, Here is my env setting: JDK v1.4.2, WebLogic Platform v8.1.6, Windows XP SP2. I use WebLogic Workshop (accompany with the WebLogic Platform installer) v8.1.6 to create a new Application and a portal project. Attached the Directory Layout. And I want to use Maven2 to build an EAR, so I created a pom.xml and using weblogic-maven-plugin v2.8.0.. When I execute mvn weblogic:appc I got errors (see the attached files Debug.txt and Error.txt). Does anyone can help to resolve it ??? Thanks, Eric -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]