Hello Adam,
can you try this pom.xml (obviously you'd need to change it for your
modules)....
and btw, can you clear your m2 repository so that jars get downloaded from
scratch again?

<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>ExpenseControl</groupId>
  <version>1.0</version>
  <artifactId>project</artifactId>
  <packaging>pom</packaging>
  <name>project</name>
  <pluginRepositories>
     <pluginRepository>
        <id>apache.snapshots</id>
        <url>http://cvs.apache.org/maven-snapshot-repository</url>
     </pluginRepository>
  </pluginRepositories>
  <repositories>
     <repository>
          <id>apache.snapshots</id>
          <url>http://cvs.apache.org/maven-snapshot-repository</url>
        </repository>
  </repositories>
  <modules>
    <module>ejbs</module>
    <module>web</module>
     <module>ear</module>
    <!-- <module>site</module>-->
  </modules>
  <build>
     <pluginManagement>
        <plugins>
           <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-compiler-plugin</artifactId>
              <configuration>
                <source>1.5</source>
                <target>1.5</target>
              </configuration>
           </plugin>
           <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-site-plugin</artifactId>
              <configuration>
                 <unzipCommand>/usr/bin/unzip -o > err.txt</unzipCommand>
              </configuration>
           </plugin>

        </plugins>
     </pluginManagement>
  </build>

  <dependencyManagement>
     <dependencies>
       <dependency>
           <groupId>geronimo-spec</groupId>
           <artifactId>geronimo-spec-j2ee</artifactId>
           <version>1.4-rc4</version>
       <scope>provided</scope>
       </dependency>
       <dependency>
           <groupId>fop</groupId>
           <artifactId>fop</artifactId>
           <version>0.20.5rc2</version>
       </dependency>
       <dependency>
           <groupId>axis</groupId>
           <artifactId>axis-saaj</artifactId>
           <version>1.3</version>
     </dependency>
     <dependency>
           <groupId>axis</groupId>
           <artifactId>axis</artifactId>
           <version>1.3</version>
     </dependency>

     <dependency>
        <groupId>ExpenseControl</groupId>
        <artifactId>ejbs</artifactId>
    <version>1.0</version>
     </dependency>

    </dependencies>
  </dependencyManagement>
  <distributionManagement>
     <site>
        <id>site</id>
        <name>project website</name>
        <url>scp://local.company.com/websites/project.company.com/</url>
     </site>
  </distributionManagement>
</project>


hth
marco

Reply via email to