I have a rather complex project I'm creating:

com.solbright.adinventory
         projects
                  adplanning
                  base
                      jar
                      har
                      servlet
        aimwebservices
        apps
        ear

The aimwebservices depends upon
com.solbright.adinventory.projects:adplanning,
com.solbright.adinventory.projects.base:jar, and
com.solbright.adinventory.projects.base:har. This works out fine. The
"base" and "adplanning" jars/hars are built before the
aimwebservices.war file.

However, when I examine the aimwebservices.war file, the base:jar:jar
and the base:servlet:jar aren't included although I have them in the
dependency section of my pom.xml. Why aren't these jars being packaged
into my aimwebservices.war?

Here's the pom.xml for aimwebservices:

<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>
  <groupId>com.solbright.adinventory</groupId>
  <artifactId>aimwebservices</artifactId>
  <packaging>war</packaging>
  <version>2.1.2-SNAPSHOT</version>
  <parent>
    <groupId>com.solbright</groupId>
    <artifactId>adinventory</artifactId>
    <version>2.1.2-SNAPSHOT</version>
  </parent>
  <name>aimwebservices.war</name>
  <url>http://maven.apache.org</url>
  <build>
    <finalName>aimwebservices</finalName>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>axistools-maven-plugin</artifactId>
        <version>1.3</version>
        <configuration>
          <wsdlFiles>
            <wsdlFile>solbright_inventory_service.wsdl</wsdlFile>
          </wsdlFiles>
          <packageSpace>com.solbright.aimwebservices</packageSpace>
          <serverSide>true</serverSide>
          <skeletonDeploy>true</skeletonDeploy>
        </configuration>
        <executions>
          <execution>
            <goals>
              <goal>wsdl2java</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.6</source>
          <target>1.6</target>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.4.2</version>
      </plugin>
     <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <configuration>
          <archive>
            <addMavenDescriptor>false</addMavenDescriptor>
            <manifest>
              <addClasspath>true</addClasspath>
            </manifest>
          </archive>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>com.solbright.adinventory.projects.base</groupId>
      <artifactId>jar</artifactId>
      <version>2.1.2-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>com.solbright.adinventory.projects.base</groupId>
      <artifactId>servlet</artifactId>
      <version>2.1.2-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>com.solbright.adinventory</groupId>
      <artifactId>adplanning</artifactId>
      <version>2.1.2-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>axis</groupId>
      <artifactId>axis</artifactId>
      <version>1.4</version>
    </dependency>
    <dependency>
      <groupId>commons-httpclient</groupId>
      <artifactId>commons-httpclient</artifactId>
      <version>3.1</version>
    </dependency>
    <dependency>
      <groupId>activation</groupId>
      <artifactId>activation</artifactId>
      <version>1.0.2</version>
    </dependency>
    <dependency>
      <groupId>commons-beanutils</groupId>
      <artifactId>commons-beanutils</artifactId>
      <version>1.6</version>
    </dependency>
   <dependency>
      <groupId>cryptix</groupId>
      <artifactId>cryptix</artifactId>
      <version>3.2.0</version>
    </dependency>
    <dependency>
      <groupId>fop</groupId>
      <artifactId>fop</artifactId>
      <version>0.20.4</version>
    </dependency>
    <dependency>
      <groupId>com.enterprisedt</groupId>
      <artifactId>edtFTPj</artifactId>
      <version>1.5.3</version>
    </dependency>
    <dependency>
      <groupId>gnu-regexp</groupId>
      <artifactId>gnu-regexp</artifactId>
      <version>1.1.4</version>
    </dependency>
    <dependency>
      <groupId>itext</groupId>
      <artifactId>itext</artifactId>
      <version>1.3.1</version>
    </dependency>
    <dependency>
      <groupId>jboss</groupId>
      <artifactId>jboss-j2ee</artifactId>
      <version>4.0.2</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>jboss</groupId>
      <artifactId>javax.servlet</artifactId>
      <version>4.0.4</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>jboss</groupId>
      <artifactId>javax.servlet.jsp</artifactId>
      <version>4.0.4</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>jdom</groupId>
      <artifactId>jdom</artifactId>
      <version>b7</version>
    </dependency>
    <dependency>
      <groupId>com.wutka</groupId>
      <artifactId>jox</artifactId>
      <version>1.16</version>
    </dependency>
    <dependency>
      <groupId>javax.mail</groupId>
      <artifactId>mail</artifactId>
      <version>1.4.1</version>
    </dependency>
    <dependency>
      <groupId>com.oracle</groupId>
      <artifactId>ojdbc14</artifactId>
      <version>10.2.0.2</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <version>1.2.12</version>
    </dependency>
    <dependency>
      <groupId>org.log4j</groupId>
      <artifactId>log4j</artifactId>
      <version>0.0.1</version>
    </dependency>
    <dependency>
      <groupId>com.oreilly</groupId>
      <artifactId>servlet-cos</artifactId>
      <version>05Nov2002</version>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring</artifactId>
      <version>1.2.9</version>
    </dependency>
    <dependency>
      <groupId>xerces</groupId>
      <artifactId>xerces</artifactId>
      <version>2.0.1</version>
    </dependency>
    <dependency>
      <groupId>com.oracle</groupId>
      <artifactId>xsu</artifactId>
      <version>1.2</version>
    </dependency>
    <dependency>
      <groupId>de.dankomannhaupt</groupId>
      <artifactId>jdbcappender</artifactId>
      <version>2.1.01</version>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.5</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>


-- 
David Weintraub
qazw...@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to