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.domain>wls</weblogic.domain>

Plugin configuration was something like:

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>weblogic-maven-plugin</artifactId>
        <version>2.8.0-SNAPSHOT</version>
        <executions>
          <execution>
            <id>wlappc</id>
            <goals>
              <goal>appc</goal>
            </goals>
            <phase>package</phase>
            <configuration>
              <verbose>true</verbose>
              <debug>true</debug>
            </configuration>
          </execution>
        </executions>
        <dependencies>
          <dependency>
            <groupId>sun.jdk</groupId>
            <artifactId>tools</artifactId>
            <version>1.4.2</version>
            <scope>system</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]

Reply via email to