You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Alessandro Ferrucci <a....@corp.aol.com> on 2008/03/28 16:29:20 UTC
file system repo not work
Hello,
I have the relevant pom snippet below. The problem is really with the
eclipse plugin. The plugin reports not being able to download the 2
dependencies entity-client-1.0 and newsml-2.0.0.jar which are in my
sandbox in the following location:
/home/ferucci/europa_workspace/photos/
This used to work on my macbook (which died last week :) ), but on my
linux box it does not.
Eclipse complains of now being able to download the 2 given
dependencies, but when I build with maven, it builds just fine and the
jar gets downloaded in my local repo (from my sandbox).
what could be wrong with eclipse? what are some debugging tricks I can
try out with the maven eclipse plugin?
thanks
alessandro ferrucci
<?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>
<groupId>com.aol.pubt.photos.common</groupId>
<artifactId>Photos</artifactId>
<name>photos</name>
<version>0.0.1</version>
<description>DPIS</description>
<build>
<resources>
<resource>
<filtering>true</filtering>
<directory>src/main/resources/</directory>
<excludes>
<exclude>**/myconfig-ingestor.properties</exclude>
<exclude>**/log4j.properties</exclude>
<exclude>**/telescope.xsd</exclude>
<exclude>**/newsML.dtd</exclude>
<exclude>**/xsl/*.xsl</exclude>
</excludes>
</resource>
<resource>
<filtering>true</filtering>
<directory>etc/</directory>
<excludes>
<exclude>**/*</exclude>
</excludes>
</resource>
<resource>
<filtering>true</filtering>
<directory>release/</directory>
<excludes>
<exclude>**/*</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
<createChecksum>true</createChecksum>
<updateReleaseInfo>true</updateReleaseInfo>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>local sandbox repo</id>
<name>DPIS Commons Sandbox repo</name>
<url>file://${basedir}/release/lib</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.apache</groupId>
<artifactId>newsml</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>com.aol.cm.entity</groupId>
<artifactId>entity-client</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: file system repo not work
Posted by Alessandro Ferrucci <a....@corp.aol.com>.
I am using m2eclipse.
thanks
alessandro ferrucci
Brian E. Fox wrote:
> Which eclipse plugin are you using? Maven-eclipse-plugin, m2eclipse or
> q4e?
>
> -----Original Message-----
> From: Alessandro Ferrucci [mailto:a.ferrucci@corp.aol.com]
> Sent: Friday, March 28, 2008 11:29 AM
> To: users@maven.apache.org
> Subject: file system repo not work
>
> Hello,
>
> I have the relevant pom snippet below. The problem is really with the
> eclipse plugin. The plugin reports not being able to download the 2
> dependencies entity-client-1.0 and newsml-2.0.0.jar which are in my
> sandbox in the following location:
>
> /home/ferucci/europa_workspace/photos/
>
> This used to work on my macbook (which died last week :) ), but on my
> linux box it does not.
>
> Eclipse complains of now being able to download the 2 given
> dependencies, but when I build with maven, it builds just fine and the
> jar gets downloaded in my local repo (from my sandbox).
>
> what could be wrong with eclipse? what are some debugging tricks I can
> try out with the maven eclipse plugin?
>
> thanks
>
> alessandro ferrucci
>
>
>
> <?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>
> <groupId>com.aol.pubt.photos.common</groupId>
> <artifactId>Photos</artifactId>
> <name>photos</name>
> <version>0.0.1</version>
> <description>DPIS</description>
> <build>
> <resources>
> <resource>
> <filtering>true</filtering>
> <directory>src/main/resources/</directory>
> <excludes>
> <exclude>**/myconfig-ingestor.properties</exclude>
> <exclude>**/log4j.properties</exclude>
> <exclude>**/telescope.xsd</exclude>
> <exclude>**/newsML.dtd</exclude>
> <exclude>**/xsl/*.xsl</exclude>
> </excludes>
> </resource>
> <resource>
> <filtering>true</filtering>
> <directory>etc/</directory>
> <excludes>
> <exclude>**/*</exclude>
> </excludes>
> </resource>
> <resource>
> <filtering>true</filtering>
> <directory>release/</directory>
> <excludes>
> <exclude>**/*</exclude>
> </excludes>
> </resource>
> </resources>
> <plugins>
> <plugin>
> <artifactId>maven-compiler-plugin</artifactId>
> <configuration>
> <source>1.5</source>
> <target>1.5</target>
> <createChecksum>true</createChecksum>
> <updateReleaseInfo>true</updateReleaseInfo>
> </configuration>
> </plugin>
> </plugins>
> </build>
> <repositories>
> <repository>
> <id>local sandbox repo</id>
> <name>DPIS Commons Sandbox repo</name>
> <url>file://${basedir}/release/lib</url>
> </repository>
> </repositories>
> <dependencies>
> <dependency>
> <groupId>org.apache</groupId>
> <artifactId>newsml</artifactId>
> <version>2.0</version>
> </dependency>
> <dependency>
> <groupId>com.aol.cm.entity</groupId>
> <artifactId>entity-client</artifactId>
> <version>1.0</version>
> </dependency>
> </dependencies>
> </project>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: file system repo not work
Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
Which eclipse plugin are you using? Maven-eclipse-plugin, m2eclipse or
q4e?
-----Original Message-----
From: Alessandro Ferrucci [mailto:a.ferrucci@corp.aol.com]
Sent: Friday, March 28, 2008 11:29 AM
To: users@maven.apache.org
Subject: file system repo not work
Hello,
I have the relevant pom snippet below. The problem is really with the
eclipse plugin. The plugin reports not being able to download the 2
dependencies entity-client-1.0 and newsml-2.0.0.jar which are in my
sandbox in the following location:
/home/ferucci/europa_workspace/photos/
This used to work on my macbook (which died last week :) ), but on my
linux box it does not.
Eclipse complains of now being able to download the 2 given
dependencies, but when I build with maven, it builds just fine and the
jar gets downloaded in my local repo (from my sandbox).
what could be wrong with eclipse? what are some debugging tricks I can
try out with the maven eclipse plugin?
thanks
alessandro ferrucci
<?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>
<groupId>com.aol.pubt.photos.common</groupId>
<artifactId>Photos</artifactId>
<name>photos</name>
<version>0.0.1</version>
<description>DPIS</description>
<build>
<resources>
<resource>
<filtering>true</filtering>
<directory>src/main/resources/</directory>
<excludes>
<exclude>**/myconfig-ingestor.properties</exclude>
<exclude>**/log4j.properties</exclude>
<exclude>**/telescope.xsd</exclude>
<exclude>**/newsML.dtd</exclude>
<exclude>**/xsl/*.xsl</exclude>
</excludes>
</resource>
<resource>
<filtering>true</filtering>
<directory>etc/</directory>
<excludes>
<exclude>**/*</exclude>
</excludes>
</resource>
<resource>
<filtering>true</filtering>
<directory>release/</directory>
<excludes>
<exclude>**/*</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
<createChecksum>true</createChecksum>
<updateReleaseInfo>true</updateReleaseInfo>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>local sandbox repo</id>
<name>DPIS Commons Sandbox repo</name>
<url>file://${basedir}/release/lib</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.apache</groupId>
<artifactId>newsml</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>com.aol.cm.entity</groupId>
<artifactId>entity-client</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org