Maven Gurus:
  
  Operating System: Windows XP
  JDK: 1.5
  Maven Version: 2.0.2
  
  I am encountering the following numerous errors as part of the compilation.
  
  Compiling 697 source files to D:\PROJ_MAVEN\trunk\src\main\classes
  [INFO] 
----------------------------------------------------------------------------
  [ERROR] BUILD FAILURE
  [INFO] 
----------------------------------------------------------------------------
  [INFO] Compilation failure
  
  
D:\PROJ_MAVEN\trunk\src\main\java\com\xora\datow\truck\struts\actions\DwTruckInsuranceBrowseAction.java:[67,36]
  package org.apache.commons.beanutils does not exist
  
  
D:\PROJ_MAVEN\trunk\src\main\java\com\xora\datow\truck\struts\actions\DwTruckInsuranceBrowseAction.java:[68,34]
  package org.apache.commons.logging does not exist
  ....
  ....
  ...
  In my pom.xml, I have clearly mentioned the dependencies (for example)
  
        <dependency>
          <groupId>xoratex.apache</groupId>
          <artifactId>commons-logging</artifactId>
          <version>1.0.4</version>
          <type>jar</type>
        </dependency>
  
  Compilation task is executed from the command prompt as follows:
  mvn -Dorg.apache.maven.user-settings=settings.xml compile
  
  where I have my configured my settings to point to a localRepository  for 
maintaining various plugins and required library files. I can see  the library 
files as well as various maven plugins in the local  repository but I cannot 
figure out why Maven is failing to find them  during the compilation time.
  
  I am attaching the pom.xml (company name and url information altered to  
respect confidential information) file as well as my user-settings in  case you 
need to get more information.
  
  Highly appreciate your help and thanks in advance. Please include me in  your 
reply since I am not subscribed to the mailing list.
  
  Attachements:
  1. pom.xml
  2. settings.xml
  
  thanks
  -J
  
  POM.XML
  
  <?xml version="1.0" encoding="UTF-8"?>
  <project xmlns="http://maven.apache.org/POM/4.0.0"; 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
  http://maven.apache.org/maven-v4_0_0.xsd";>
    <modelVersion>4.0.0</modelVersion>
  
    <!-- Use this to set properties -->
    <properties>
      <tow.version>6.0</tow.version>
    </properties>
  
    
    
    <!-- High level information about the project. -->
    <groupId>company</groupId>
    <artifactId>tow-${tow.version}</artifactId>
    <packaging>jar</packaging>
    <name>tow</name>
    <description>Provide brief description about the project 
  here.</description>
    <url>http://www.company.com/tow/</url>
    <inceptionYear>2004</inceptionYear>
    <organization>
      <name>company Corporation</name>
      <url>http://www.company.com</url>
    </organization>
    <version>${tow.version}</version>  
    
    <!-- Product License Information -->
    <licenses>
      <license>
        <name>Commercial License</name>
        <url>LICENSE.txt</url>
        <!--
        <comments>Provide any comments here</comments>
        <distribution>repo</distribution>
        -->
      </license>
    </licenses>
  
    <!-- Source Control Management Information -->
    <scm>
      <!-- Commented the following since no anonymous access is provided 
      
  <connection>scm:cvs:pserver:[EMAIL PROTECTED]:/cvsroot/tow</connection>
      -->
      
  <developerConnection>scm:cvs:ext:[EMAIL 
PROTECTED]:/cvsroot/tow</developerConnection>
      <url>http://cvs.company.com/cgi-bin/viewcvs.cgi/tow/</url>
    </scm>
  
    <!-- Project Mailing List Information -->
    <mailingLists>
      <mailingList>
        <name>tow Developers</name>
        
  
<subscribe>http://www.company.com/mailinglist/tow_dev?mode=subscribe</subscribe>
        
  
<unsubscribe>http://www.company.com/mailinglist/tow_dev?mode=subscribe</unsubscribe>
        <post>[EMAIL PROTECTED]</post>
        
  <archive>http://www.company.com/mailinglist/archive/tow_dev</archive>
      </mailingList>
      <mailingList>
        <name>tow Users</name>
        
  
<subscribe>http://www.company.com/mailinglist/tow_usr?mode=subscribe</subscribe>
        
  
<unsubscribe>http://www.company.com/mailinglist/tow_usr?mode=subscribe</unsubscribe>
        <post>[EMAIL PROTECTED]</post>
        
  <archive>http://www.company.com/mailinglist/archive/tow_usr</archive>
      </mailingList>
    </mailingLists>
  
    <!-- Project Issue Management Information -->
    <issueManagement>
      <system>BugZilla</system>
      <url>http://www.company.com/bug/</url>
    </issueManagement>
  
    <!-- Continuous Integration Information -->
    <ciManagement>
      <notifiers>
        <notifier>
          <type>email</type>
          <sendOnError>true</sendOnError>
          <sendOnFailure>true</sendOnFailure>
          <sendOnSuccess>true</sendOnSuccess>
          <sendOnWarning>true</sendOnWarning>
          <configuration>
            <address>[EMAIL PROTECTED]</address>
            <address>[EMAIL PROTECTED]</address>
          </configuration>
        </notifier>
      </notifiers>
    </ciManagement>
  
    <!-- Project Team Members Information -->
    <developers>
      <developer>
        <id>userone</id>
        <name>User One</name>
        <email>[EMAIL PROTECTED]</email>
        <organization>company</organization>
        <organizationUrl>http://www.company.com</organizationUrl>
        <roles>
          <role>Architect</role>
          <role>Project Lead</role>
          <role>Developer</role>
        </roles>
        <timezone>-8</timezone>
      </developer>
    </developers>
    <contributors>
      <contributor>
        <name>User One</name>
        <email>[EMAIL PROTECTED]</email>
        <roles>
          <role>Architect</role>
        </roles>
        <timezone>-8</timezone>
      </contributor>
      <contributor>
        <name>User Two</name>
        <email>[EMAIL PROTECTED]</email>
        <roles>
          <role>Project Co-Ordinator</role>
        </roles>
        <timezone>-8</timezone>
      </contributor>
    </contributors>
  
    <!-- Project Reports -->
    <reporting>
      <plugins>
        <!-- Test Report. -->
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>surefire-report-maven-plugin</artifactId>
          <configuration>
           <skip>true</skip>
          </configuration>
        </plugin>
        <!-- Taglist Report- ToDo, FixMe etc. -->
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>taglist-maven-plugin</artifactId>
          <configuration>
            <multipleLineComments>true</multipleLineComments>
            <tags>TODO, @TODO, @todo, FIXME, @deprecated</tags>
          </configuration>
        </plugin>
        <!-- Source Cross-Reference report. -->
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>jxr-maven-plugin</artifactId>
        </plugin>
        <!-- Changes Report -->
        
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>changes-maven-plugin</artifactId>
           <reportSets>
             <reportSet>
               <id>allReports</id>
               <configuration>
                 <inherited>false</inherited>
                 
  <link_template>%URL%/show_bug.cgi?id=%ISSUE%</link_template>
                 <!--
                 <type>date</type>
                 <dates>
                   <date 
  implementation="java.lang.String">1990-01-01</date>
                 </dates>
                  <dateFormat>yyyy-MM-dd</dateFormat>
                 -->
                 <type>range</type>
                 <range>30</range>
               </configuration>
               <reports>
                 <report>changes-report</report>
                 <report>changelog</report>
                 <report>dev-activity</report>
                 <report>file-activity</report>
               </reports>
             </reportSet>
           </reportSets>
        </plugin>
        <!-- Remove the following plugin definition if the above works 
  -->
        <!--
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>changes-maven-plugin</artifactId>
          <configuration>
            <inherited>false</inherited>
            <link_template>%URL%/show_bug.cgi?id=%ISSUE%</link_template>
          </configuration>
           <reportSets>
             <reportSet>
               <reports>
                 <report>changes-report</report>
               </reports>
             </reportSet>
           </reportSets>
        </plugin>
        -->
        <!-- PMD Report. -->
        <plugin>
          <artifactId>maven-pmd-plugin</artifactId>
        </plugin>
        <!-- Project Information Report. -->
        <plugin>
          <artifactId>maven-project-info-reports-plugin</artifactId>
        </plugin>
  
        <!-- JavaDoc Report. -->
        <plugin>
          <artifactId>maven-javadoc-plugin</artifactId>
          <configuration>
            <author>true</author>
            <bottom>Copyright {inceptionYear}-{currentYear} 
  ${project.organization.name}. All Rights Reserved.</bottom>
            <breakiterator>true</breakiterator>
            <docfilessubdirs>true</docfilessubdirs>
            <doctitle>${project.name} ${project.version} API</doctitle>
            <excludedocfilessubdir>CVS</excludedocfilessubdir>
            <links>
               <link>http://java.sun.com/j2se/1.4.2/docs/api</link>
              
  <link>http://java.sun.com/products/jsp/jstl/1.1/docs/api</link>
              
  <link>http://struts.apache.org/struts-action/apidocs/</link>
              <link>http://www.common-controls.com/api/</link>
            </links>
            <linksource>true</linksource>
            <destDir>${project.build.directory}/javadoc/</destDir>
            <quiet>true</quiet>
            <windowtitle>${project.name} ${project.version} 
  API</windowtitle>
          </configuration>
        </plugin>
  
        <!-- Checkstyle report. -->
        <plugin>
          <artifactId>maven-checkstyle-plugin</artifactId>
          <configuration>
            <configLocation>checkstyle.xml</configLocation>
            <enableRulesSummary>false</enableRulesSummary>
          </configuration>
        </plugin>
      </plugins>
    </reporting>
  
    
    <!-- Project Build Settings -->
    <build>
      <sourceDirectory>src/main/java</sourceDirectory>
      <resources>
        <resource>
          <directory>src/main/java</directory>
          <includes>
            <include>log4j.xml</include>
          </includes>
        </resource>
        <resource>
          <directory>src/main/java/properties</directory>
          <includes>
            <include>*.properties</include>
          </includes>
        </resource>
      </resources>
  
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <configuration>
            <!--
            <compilerVersion>1.4</compilerVersion>
            <source>1.4</source>
            <target>1.4</target>
            -->
            <debug>true</debug>
            <showDeprecation>true</showDeprecation>
            <showWarnings>true</showWarnings>
            <optimize>false</optimize>
          </configuration>
        </plugin>
        <plugin>
          <artifactId>maven-antrun-plugin</artifactId>
          <executions>
            <execution>
              <phase>validate</phase>
              <configuration>
                <tasks>
                  
  <echo>+-------------------------------------------------------------</echo>
                  <echo>|</echo>
                   <echo>|     User Name :  ${user.name}</echo>
                   <echo>|      Group Id :  ${pom.groupId}</echo>
                   <echo>|   Artifact Id : ${pom.artifactId}</echo>
                   <echo>|     Packaging :  ${pom.packaging}</echo>
                  <echo>|SCM Connection : 
  ${project.scm.developerConnection}</echo>
                   <echo>|   Source Dir. : 
  ${project.build.sourceDirectory}</echo>
                  
  <echo>+-------------------------------------------------------------</echo>
                </tasks>
              </configuration>
              <goals>
                <goal>run</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
      </plugins>
  
      <testSourceDirectory>src\test\java</testSourceDirectory>
      <outputDirectory>src\main\classes</outputDirectory>
      <finalName>${project.artifactId}-${project.version}</finalName>
      <testOutputDirectory>src\test\classes</testOutputDirectory>
    </build>
  
    <!-- Project Dependency Matrix -->
    <dependencyManagement>
      <dependencies>
      
       <!--
       <dependency>
         <groupId>sun.jdk</groupId>
         <artifactId>tools</artifactId>
         <version>1.5.0</version>
         <scope>system</scope>
         <systemPath>${java.home}\tools.jar</systemPath>
       </dependency>
       <dependency>
         <groupId>sun.jre</groupId>
         <artifactId>tools</artifactId>
         <version>1.5.0</version>
         <scope>system</scope>
         <systemPath>${java.home}\jre\lib\rt.jar</systemPath>
       </dependency>
       -->
        <dependency>
          <groupId>company.cc</groupId>
          <artifactId>common-controls</artifactId>
          <version>1.6.020</version>
          <type>jar</type>
          <scope>compile</scope>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>commons-beanutils</artifactId>
          <version>1.6</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>commons-collections</artifactId>
          <version>2.1.1</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>commons-dbcp</artifactId>
          <version>1.1</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>commons-digester</artifactId>
          <version>1.6</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>commons-el</artifactId>
          <version>1.0</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>commons-el-ext</artifactId>
          <version>1.0</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>commons-fileupload</artifactId>
          <version>1.0</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>commons-lang</artifactId>
          <version>2.1</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>commons-logging</artifactId>
          <version>1.0.4</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>commons-pool</artifactId>
          <version>1.1</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>commons-resources</artifactId>
          <version>1.0</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>commons-validator</artifactId>
          <version>1.1.4</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>ecs</artifactId>
          <version>1.4.2</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>ibatis-common</artifactId>
          <version>2.0</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>ibatis-dao</artifactId>
          <version>2.0</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>ibatis-sqlmap</artifactId>
          <version>2.0</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.itext</groupId>
          <artifactId>itext</artifactId>
          <version>1.3.1</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>jakarta-oro</artifactId>
          <version>2.0.7</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>jakarta-regexp</artifactId>
          <version>1.2</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.jasperreports</groupId>
          <artifactId>jasperreports</artifactId>
          <version>1.1.0</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.jcommon</groupId>
          <artifactId>jcommon</artifactId>
          <version>1.0.0-rc1</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.javax</groupId>
          <artifactId>jdbc-stdext</artifactId>
          <version>2.0</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.jfreechart</groupId>
          <artifactId>jfreechart</artifactId>
          <version>1.1.0-rc1</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>jstl</artifactId>
          <version>1.1.2</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.javax</groupId>
          <artifactId>jta</artifactId>
          <version>1.1.0a</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>log4j</artifactId>
          <version>1.2.8</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.mysql</groupId>
          <artifactId>mysql-connector-java</artifactId>
          <version>3.1.11</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>oscache</artifactId>
          <version>2.0.1</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.javax</groupId>
          <artifactId>servlet-api</artifactId>
          <version>2.4</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>sslext-struts</artifactId>
          <version>1.2</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>standard</artifactId>
          <version>1.1.2</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>struts</artifactId>
          <version>1.2.8</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>taglibs-log</artifactId>
          <version>1.0</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>company.apache</groupId>
          <artifactId>xml-apis</artifactId>
          <version>1.1</version>
          <type>jar</type>
        </dependency>
      </dependencies>
    </dependencyManagement>
  
  </project>
  
  SETTINGS.XML
  ============
  <?xml version="1.0" encoding="UTF-8"?>
  <settings>
    <localRepository>..\MAVEN2-REPOSITORY</localRepository>
    <interactiveMode>true</interactiveMode>
    <offline>false</offline>
  </settings>
  
  
                
---------------------------------
 Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new 
and used cars.

Reply via email to