It will try to download them, but they don't exist. (only the jar
files exist). So maven won't write them into the local repository and
tries again next time.

Solutions:
1) Use new artifact with pom
2) Run a repository manager and create and upload the poms.

Hth,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Wed, Mar 4, 2009 at 9:11 PM, Amy de Buitléir <[email protected]> wrote:
> Every time I run a command such as "mvn jetty:run", "mvn tomcat:run",
> or "mvn site", Maven downloads the same four files. Is that correct
> behaviour, or do I have something configured incorrectly?
>
> Downloading: 
> http://scala-tools.org/repo-releases/org/igniterealtime/smack/smack/3.0.4/smack-3.0.4.pom
> Downloading: 
> http://repo1.maven.org/maven2/org/igniterealtime/smack/smack/3.0.4/smack-3.0.4.pom
> Downloading: 
> http://scala-tools.org/repo-releases/org/igniterealtime/smack/smackx/3.0.4/smackx-3.0.4.pom
> Downloading: 
> http://repo1.maven.org/maven2/org/igniterealtime/smack/smackx/3.0.4/smackx-3.0.4.pom
>
> When I look in my repository, I see only the jar and sha1 files, no
> pom files. For other plugins, Maven puts the pom files in the
> repository along with the other files. Is there some reason why it
> doesn't do that for smack and smackx?
>
> a...@wombat7000 ~/forbairt/AccuFunnel/emu $ find ~/.m2/repository/ -name 
> 'smack*'
> /home/amy/.m2/repository/org/igniterealtime/smack
> /home/amy/.m2/repository/org/igniterealtime/smack/smack
> /home/amy/.m2/repository/org/igniterealtime/smack/smack/3.0.4/smack-3.0.4.jar
> /home/amy/.m2/repository/org/igniterealtime/smack/smack/3.0.4/smack-3.0.4.jar.sha1
> /home/amy/.m2/repository/org/igniterealtime/smack/smackx
> /home/amy/.m2/repository/org/igniterealtime/smack/smackx/3.0.4/smackx-3.0.4.jar.sha1
> /home/amy/.m2/repository/org/igniterealtime/smack/smackx/3.0.4/smackx-3.0.4.jar
>
> Here's my pom.xml, if it helps:
>
> <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.liftworkshop</groupId>
>  <artifactId>lift-todo</artifactId>
>  <version>0.1-SNAPSHOT</version>
>  <packaging>war</packaging>
>  <name>lift-todo</name>
>  <inceptionYear>2007</inceptionYear>
>  <properties>
>    <scala.version>2.7.3</scala.version>
>  </properties>
>
>  <repositories>
>    <repository>
>      <id>scala-tools.org</id>
>      <name>Scala-Tools Maven2 Repository</name>
>      <url>http://scala-tools.org/repo-releases</url>
>    </repository>
>  </repositories>
>
>  <pluginRepositories>
>    <pluginRepository>
>      <id>scala-tools.org</id>
>      <name>Scala-Tools Maven2 Repository</name>
>      <url>http://scala-tools.org/repo-releases</url>
>    </pluginRepository>
>  </pluginRepositories>
>
>  <dependencies>
>    <dependency>
>      <groupId>org.scala-lang</groupId>
>      <artifactId>scala-library</artifactId>
>      <version>${scala.version}</version>
>    </dependency>
>    <dependency>
>      <groupId>net.liftweb</groupId>
>      <artifactId>lift-core</artifactId>
>      <version>0.10</version>
>    </dependency>
>    <dependency>
>      <groupId>org.apache.derby</groupId>
>      <artifactId>derby</artifactId>
>      <version>10.2.2.0</version>
>    </dependency>
>    <dependency>
>      <groupId>javax.servlet</groupId>
>      <artifactId>servlet-api</artifactId>
>      <version>2.5</version>
>      <scope>provided</scope>
>    </dependency>
>    <dependency>
>      <groupId>junit</groupId>
>      <artifactId>junit</artifactId>
>      <version>3.8.1</version>
>      <scope>test</scope>
>    </dependency>
>    <dependency>
>      <groupId>org.mortbay.jetty</groupId>
>      <artifactId>jetty</artifactId>
>      <version>[6.1.6,)</version>
>      <scope>test</scope>
>    </dependency>
>    <!-- for LiftConsole -->
>    <dependency>
>      <groupId>org.scala-lang</groupId>
>      <artifactId>scala-compiler</artifactId>
>      <version>${scala.version}</version>
>      <scope>test</scope>
>    </dependency>
>  </dependencies>
>
>  <build>
>    <sourceDirectory>src/main/scala</sourceDirectory>
>    <testSourceDirectory>src/test/scala</testSourceDirectory>
>    <plugins>
>      <plugin>
>        <groupId>org.scala-tools</groupId>
>        <artifactId>maven-scala-plugin</artifactId>
>        <executions>
>          <execution>
>            <goals>
>              <goal>compile</goal>
>              <goal>testCompile</goal>
>            </goals>
>          </execution>
>        </executions>
>        <configuration>
>          <scalaVersion>${scala.version}</scalaVersion>
>        </configuration>
>      </plugin>
>      <plugin>
>        <groupId>org.mortbay.jetty</groupId>
>        <artifactId>maven-jetty-plugin</artifactId>
>        <configuration>
>          <contextPath>/</contextPath>
>          <scanIntervalSeconds>5</scanIntervalSeconds>
>        </configuration>
>      </plugin>
>      <plugin>
>        <groupId>net.sf.alchim</groupId>
>        <artifactId>yuicompressor-maven-plugin</artifactId>
>        <executions>
>          <execution>
>            <goals>
>              <goal>compress</goal>
>            </goals>
>          </execution>
>        </executions>
>        <configuration>
>          <nosuffix>true</nosuffix>
>        </configuration>
>      </plugin>
>      <plugin>
>        <groupId>org.apache.maven.plugins</groupId>
>        <artifactId>maven-eclipse-plugin</artifactId>
>        <configuration>
>          <downloadSources>true</downloadSources>
>          <excludes>
>            <exclude>org.scala-lang:scala-library</exclude>
>          </excludes>
>          <classpathContainers>
>            
> <classpathContainer>ch.epfl.lamp.sdt.launching.SCALA_CONTAINER</classpathContainer>
>          </classpathContainers>
>          <projectnatures>
>            
> <java.lang.String>ch.epfl.lamp.sdt.core.scalanature</java.lang.String>
>            
> <java.lang.String>org.eclipse.jdt.core.javanature</java.lang.String>
>          </projectnatures>
>          <buildcommands>
>            
> <java.lang.String>ch.epfl.lamp.sdt.core.scalabuilder</java.lang.String>
>          </buildcommands>
>        </configuration>
>      </plugin>
>    </plugins>
>  </build>
>  <reporting>
>    <plugins>
>      <plugin>
>        <groupId>org.scala-tools</groupId>
>        <artifactId>maven-scala-plugin</artifactId>
>        <configuration>
>          <scalaVersion>${scala.version}</scalaVersion>
>        </configuration>
>      </plugin>
>    </plugins>
>  </reporting>
> </project>
>
>
> Thank you in advance,
> Amy de Buitléir
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to