Hi everyone,

 

            I have urgent questions abt the weblogic plugin. I tried to
search on web and can't find the suitable solution.

 

            Here is my current POM for the Weblogic plugin:

 

<?xml version="1.0"?>

<project>

 <parent>

   <artifactId>itms</artifactId>

   <groupId>dttn</groupId>

   <version>1.0</version>

 </parent>

 <modelVersion>4.0.0</modelVersion>

 <groupId>dttn.itms.ears</groupId>

 <artifactId>itmsPortal</artifactId>

 <name>itmsPortal</name>

 <packaging>ear</packaging>

 <version>1.0</version>

 <url>http://maven.apache.org</url>

 <dependencies>

   <dependency>

     <groupId>junit</groupId>

     <artifactId>junit</artifactId>

     <version>3.8.1</version>

     <scope>test</scope>

   </dependency>

 </dependencies>

 <pluginRepositories>

   <pluginRepository>

     <id>snapshots</id>

     <name>Codehaus Snapshots</name>

     <url>http://snapshots.repository.codehaus.org/</url>

   </pluginRepository>

 </pluginRepositories>

 <build>

   <finalName>${project.artifactId}-${project.version}</finalName>

   <plugins>

     <plugin>

       <groupId>org.codehaus.mojo</groupId>

       <artifactId>weblogic-maven-plugin</artifactId>

       <version>2.8.0-SNAPSHOT</version>

       <configuration>

         <adminServerHostName>localhost</adminServerHostName>

         <adminServerPort>7001</adminServerPort>

         <userId>weblogic</userId>

         <password>password</password>

 
<objectPath>${project.build.outputDirectory}/../${project.artifactId}.${proj
ect.packaging}</objectPath>

         <name>${project.artifactId}</name>

         <staging>nostage</staging>

         <lineNumbers>true</lineNumbers>

       </configuration>

       <executions>

         <execution>

           <phase>package</phase>

           <goals>

             <goal>appc</goal>

           </goals>

         </execution>

       </executions>

     </plugin>

   </plugins>

 </build>

</project>

 

 

            When I tried to run mvn install. It comes out errors. So.Is
there anyone can point me out what the problem is it in the pom.xml. and how
to fix it ??

 

Thx

 

Eric

 

 

Reply via email to