You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Lanfeust troy <la...@gmail.com> on 2011/03/18 15:56:55 UTC
Eclipse on git clone not working
Hi list,
I have clone git james server from github
When i have import project into Eclipse the pom.xml in james-server projet
is wrong with:
Unable to find resource
'org.apache.james:james-server-root:pom:1.6-SNAPSHOT'
on http://mvnrepository.com/artifact/org.apache.james/james-server-root they
are only 1.5 version
so i have modified the pom.xml like this:
<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">
<parent>
<artifactId>james-server-root</artifactId>
<groupId>org.apache.james</groupId>
<version>1.5</version>
</parent>
... ...
Re: Eclipse on git clone not working
Posted by Felix Knecht <fe...@apache.org>.
On 03/18/2011 04:21 PM, Felix Knecht wrote:
> Hi
>
>> I have clone git james server from github
>>
>> When i have import project into Eclipse the pom.xml in james-server
>> projet
>> is wrong with:
>>
>> Unable to find resource
>> 'org.apache.james:james-server-root:pom:1.6-SNAPSHOT'
>>
>> on
>> http://mvnrepository.com/artifact/org.apache.james/james-server-root they
>> are only 1.5 version
>
> It's available on Apaches repository [1]. I just wonder why this isn't
> used when trying to download snapshots.
You can add following to your .m2/settings.xml:
<profiles>
<profile>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>apache.snapshots</id>
<name>Apache Snapshot Repository</name>
<url>http://repository.apache.org/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
</profile>
</profiles>
HTH
Felix
>
> [1] https://repository.apache.org/content/groups/public/
>
>>
>> so i have modified the pom.xml like this:
>>
>> <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">
>> <parent>
>> <artifactId>james-server-root</artifactId>
>> <groupId>org.apache.james</groupId>
>> <version>1.5</version>
>> </parent>
>> ... ...
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Eclipse on git clone not working
Posted by Felix Knecht <fe...@apache.org>.
Hi
> I have clone git james server from github
>
> When i have import project into Eclipse the pom.xml in james-server projet
> is wrong with:
>
> Unable to find resource
> 'org.apache.james:james-server-root:pom:1.6-SNAPSHOT'
>
> on http://mvnrepository.com/artifact/org.apache.james/james-server-root they
> are only 1.5 version
It's available on Apaches repository [1]. I just wonder why this isn't
used when trying to download snapshots.
[1] https://repository.apache.org/content/groups/public/
>
> so i have modified the pom.xml like this:
>
> <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">
> <parent>
> <artifactId>james-server-root</artifactId>
> <groupId>org.apache.james</groupId>
> <version>1.5</version>
> </parent>
> ... ...
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org