Can we have a look at your parent pom?

Looks like maven is trying to build a war out of your parent project....

Sure thing.There goes :

<project>
 <modelVersion>4.0.0</modelVersion>
 <groupId>za.co.mycompany.eportal</groupId>
 <artifactId>mycompany-eportal</artifactId>
 <name>mycompany ePortal</name>
 <packaging>pom</packaging>
 <version>1.0.0</version>
 <description>mycompany J2EE application called ePortal</description>
 <inceptionYear>2005</inceptionYear>
 <developers>
   <developer>
     <name>Jeff  Mutonho</name>
     <id>jmutonho</id>
     <email>[EMAIL PROTECTED]</email>
     <organization>mycompany</organization>
     <roles>
       <role>Build Engineer</role>
     </roles>
     <timezone>+2</timezone>
   </developer>

 </developers>
<dependencies>
   <dependency>
     <groupId>oracle.ldap</groupId>
     <artifactId>ldapjclnt</artifactId>
     <version>1.0</version>
     <!--scope>test</scope-->
   </dependency>
   <dependency>
     <groupId>javax.j2ee</groupId>
     <artifactId>j2ee</artifactId>
     <version>1.3.0</version>
     <!--scope>test</scope-->
   </dependency>
   <dependency>
     <groupId>net.sf.hibernate2</groupId>
     <artifactId>hibernate</artifactId>
     <version>2.0.0</version>
     <!--scope>test</scope-->
   </dependency>
     <dependency>
     <groupId>org.springframework</groupId>
     <artifactId>spring</artifactId>
     <version>1.2.3</version>
     <!--scope>test</scope-->
   </dependency>
   <dependency>
     <groupId>org.apache.log4j</groupId>
     <artifactId>log4j</artifactId>
     <version>1.2.13</version>
     <!--scope>test</scope-->
   </dependency>
   <dependency>
     <groupId>commons-logging</groupId>
     <artifactId>commons-logging</artifactId>
     <version>1.0.4</version>
     <!--scope>test</scope-->
   </dependency>
   <dependency>
     <groupId>za.co.mycompany</groupId>
     <artifactId>OBPortalSynchMDB</artifactId>
     <version>1.0.0</version>
     <!--scope>test</scope-->
   </dependency>
      <dependency>
     <groupId>za.co.mycompany</groupId>
     <artifactId>EBPortalSynchMDB</artifactId>
     <version>1.0.0</version>
     <!--scope>test</scope-->
   </dependency>
 </dependencies>
  <build>
   <plugins>
     <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
         <version>1.0</version>
        </plugin>
   </plugins>
  </build>
   <reporting>
   <plugins>
     <plugin>
       <artifactId>maven-surefire-report-plugin</artifactId>
       <configuration>
         <showSuccess>false</showSuccess>
       </configuration>
     </plugin>
     <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-jxr-plugin</artifactId>
     </plugin>
     <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-javadoc-plugin</artifactId>
       <configuration>
         <links>
           <link>http://java.sun.com/j2se/1.4.2/docs/api</link>
           <link>http://plexus.codehaus.org/ref/1.0-alpha-9/apidocs</link>
         </links>
         <aggregate>true</aggregate>
       </configuration>
     </plugin>
     <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-pmd-plugin</artifactId>
       <configuration>
         <rulesets>
           <ruleset>/rulesets/basic.xml</ruleset>
           <ruleset>/rulesets/imports.xml</ruleset>
           <ruleset>/rulesets/unusedcode.xml</ruleset>
           <ruleset>/rulesets/finalizers.xml</ruleset>
         </rulesets>
       </configuration>
     </plugin>
     <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-checkstyle-plugin</artifactId>
       <configuration>
         <configLocation>config/maven_checks.xml</configLocation>
       </configuration>
     </plugin>
     <plugin>
       <groupId>org.codehaus.mojo</groupId>
       <artifactId>taglist-maven-plugin</artifactId>
       <configuration>
         <tags>
           <tag>TODO</tag>
           <tag>@todo</tag>
           <tag>FIXME</tag>
           <tag>XXX</tag>
         </tags>
       </configuration>
     </plugin>
     <plugin>
       <groupId>org.codehaus.mojo</groupId>
       <artifactId>cobertura-maven-plugin</artifactId>
     </plugin>
   </plugins>
 </reporting>
 <organization>
   <name>mycompany Limited</name>
   <url>http://www.mycompany.co.za/</url>
 </organization>
 <modules>
   <module>eportal-services</module>
   <!--module>eportal-services-junit</module-->
   <module>eportal-messaging</module>
   <module>eportal-messaging-support</module>
   <module>eportal-webservices</module>
   <module>eportal-domain</module>
   <module>eportal-exceptions</module>
   <module>eportal</module>
 </modules>
 <profiles>
    <!--<profile>
     <id>tomcat5x</id>
     <activation>
       <activeByDefault>true</activeByDefault>
     </activation>
     <modules>
       <module>eportal</module>
     </modules>
   </profile>-->
   <profile>
     <id>eportal-services-junit</id>
     <activation>
       <property>
         <name>enableCiProfile</name>
         <value>true</value>
       </property>
     </activation>
     <modules>
       <module>eportal-services-junit</module>
     </modules>
   </profile>
 </profiles>
 <ciManagement>
  <system>continuum</system>
  <url>http://localhost:8080/continuum</url>
  <notifiers>
    <notifier>
      <type>mail</type>
       <configuration>
        <address>[EMAIL PROTECTED]</address>
       </configuration>
    </notifier>
   </notifiers>
</ciManagement>
<scm>
<connection>
  scm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/lib/cvsroot:dev
</connection>
<developerConnection>
  scm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/lib/cvsroot:dev
</developerConnection>
</scm>
</project>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to