Hi Marco,

I can't download the surefire plugin any of those repositories (see
below). Could you email me the jar and the pom?

Reason: Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-surefire-plugin:pom:2.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://cvs.apache.org/maven-snapshot-repository),
  apache.snapshots.plugins
(http://cvs.apache.org/maven-snapshot-repository)



Thanks!
Adam

-----Original Message-----
From: Marco Mistroni [mailto:[EMAIL PROTECTED] 
Sent: 24 May 2006 09:24
To: Maven Users List
Subject: Re: Surefire and UnsupportedClassVersionError - more info

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


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

Reply via email to