You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Julian Payne <jp...@ilog.fr> on 2006/03/13 19:04:40 UTC
Continuum 1.0.2 and maven 2
I have a simple question. I am running contiuum 1.0.2 with maven 2 on
linux and I can not get continuum to see my maven 2 local repository.
When I run continuum I get this is in the log:
INFO | jvm 1 | 2006/03/13 18:32:47 | 2006-03-13 18:32:47,301
[SocketListener0-1] DEBUG MavenSettingsBuilder - Building
Maven global-level settings from:
'/usr/jviews/continuum-1.0.2/bin/linux/conf/settings.xml'
My seetings.xml is as shown:
<settings>
<localRepository>
/usr/jviews/work/m2-repository
</localRepository>
<servers>
<server>
<id>jviews-repository</id>
<username>jvtst</username>
<password>testit21</password>
<filePermissions>777</filePermissions>
<directoryPermissions>777</directoryPermissions>
</server>
</servers>
<profiles>
<profile>
<id>jviews-profile</id>
<repositories>
<repository>
<id>jviews</id>
<name>The JViews Maven2 Repository</name>
<url>http://jviewstest.ilog.fr/jviews-m2</url>
<releases>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
<repository>
<id>central</id>
<name>Maven Repository Switchboard</name>
<layout>default</layout>
<url>http://repo1.maven.org/maven2</url>
</repository>
</repositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>jviews-profile</activeProfile>
</activeProfiles>
</settings>
However when I try to load a maven 2 project it downloads the POM but
when it tries to find the parent POM which is stored in the "jviews"
local repository it does not find it because it only looks in the
default maven central repository.
Of course this works fine when I run maven 2 on its own.
Can someone help me out and tell me what I am missing?
Thanks,
Julian Payne
ILOG Sophia
RE: Continuum 1.0.2 and maven 2
Posted by Julian Payne <jp...@ilog.fr>.
Emmanuel,
Thanks for the quick reply, I tried putting my settings.xml in bin/linux/conf and in ${user.home}/.m2 and neither worked.
I will try a snapshot version tommorrow.
Thanks,
Julian
-----Original Message-----
From: Emmanuel Venisse [mailto:emmanuel@venisse.net]
Sent: Mon 13/03/2006 19:41
To: continuum-users@maven.apache.org
Subject: Re: Continuum 1.0.2 and maven 2
We have fixed some issues on settings loading in 1.0.3 that will be release in few days.
Perhaps you can try a snapshot verion of it :
http://maven.zones.apache.org/~continuum/builds/branches/continuum-1.0.x/
Your settings.xml is under /usr/jviews/continuum-1.0.2/bin/linux/conf/ or in ${user.home/.m2/ ?
Emmanuel
Julian Payne a écrit :
> I have a simple question. I am running contiuum 1.0.2 with maven 2 on
> linux and I can not get continuum to see my maven 2 local repository.
>
> When I run continuum I get this is in the log:
>
> INFO | jvm 1 | 2006/03/13 18:32:47 | 2006-03-13 18:32:47,301
> [SocketListener0-1] DEBUG MavenSettingsBuilder - Building
> Maven global-level settings from:
> '/usr/jviews/continuum-1.0.2/bin/linux/conf/settings.xml'
>
> My seetings.xml is as shown:
>
> <settings>
> <localRepository>
> /usr/jviews/work/m2-repository
> </localRepository>
> <servers>
> <server>
> <id>jviews-repository</id>
> <username>jvtst</username>
> <password>testit21</password>
> <filePermissions>777</filePermissions>
> <directoryPermissions>777</directoryPermissions>
> </server>
> </servers>
> <profiles>
> <profile>
> <id>jviews-profile</id>
> <repositories>
> <repository>
> <id>jviews</id>
> <name>The JViews Maven2 Repository</name>
> <url>http://jviewstest.ilog.fr/jviews-m2</url>
> <releases>
> <enabled>true</enabled>
> <updatePolicy>always</updatePolicy>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> <updatePolicy>always</updatePolicy>
> </snapshots>
> </repository>
> <repository>
> <id>central</id>
> <name>Maven Repository Switchboard</name>
> <layout>default</layout>
> <url>http://repo1.maven.org/maven2</url>
> </repository>
> </repositories>
> </profile>
> </profiles>
> <activeProfiles>
> <activeProfile>jviews-profile</activeProfile>
> </activeProfiles>
> </settings>
>
> However when I try to load a maven 2 project it downloads the POM but
> when it tries to find the parent POM which is stored in the "jviews"
> local repository it does not find it because it only looks in the
> default maven central repository.
>
> Of course this works fine when I run maven 2 on its own.
>
> Can someone help me out and tell me what I am missing?
>
> Thanks,
>
> Julian Payne
> ILOG Sophia
>
>
>
Re: Continuum 1.0.2 and maven 2
Posted by Emmanuel Venisse <em...@venisse.net>.
We have fixed some issues on settings loading in 1.0.3 that will be release in few days.
Perhaps you can try a snapshot verion of it :
http://maven.zones.apache.org/~continuum/builds/branches/continuum-1.0.x/
Your settings.xml is under /usr/jviews/continuum-1.0.2/bin/linux/conf/ or in ${user.home/.m2/ ?
Emmanuel
Julian Payne a écrit :
> I have a simple question. I am running contiuum 1.0.2 with maven 2 on
> linux and I can not get continuum to see my maven 2 local repository.
>
> When I run continuum I get this is in the log:
>
> INFO | jvm 1 | 2006/03/13 18:32:47 | 2006-03-13 18:32:47,301
> [SocketListener0-1] DEBUG MavenSettingsBuilder - Building
> Maven global-level settings from:
> '/usr/jviews/continuum-1.0.2/bin/linux/conf/settings.xml'
>
> My seetings.xml is as shown:
>
> <settings>
> <localRepository>
> /usr/jviews/work/m2-repository
> </localRepository>
> <servers>
> <server>
> <id>jviews-repository</id>
> <username>jvtst</username>
> <password>testit21</password>
> <filePermissions>777</filePermissions>
> <directoryPermissions>777</directoryPermissions>
> </server>
> </servers>
> <profiles>
> <profile>
> <id>jviews-profile</id>
> <repositories>
> <repository>
> <id>jviews</id>
> <name>The JViews Maven2 Repository</name>
> <url>http://jviewstest.ilog.fr/jviews-m2</url>
> <releases>
> <enabled>true</enabled>
> <updatePolicy>always</updatePolicy>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> <updatePolicy>always</updatePolicy>
> </snapshots>
> </repository>
> <repository>
> <id>central</id>
> <name>Maven Repository Switchboard</name>
> <layout>default</layout>
> <url>http://repo1.maven.org/maven2</url>
> </repository>
> </repositories>
> </profile>
> </profiles>
> <activeProfiles>
> <activeProfile>jviews-profile</activeProfile>
> </activeProfiles>
> </settings>
>
> However when I try to load a maven 2 project it downloads the POM but
> when it tries to find the parent POM which is stored in the "jviews"
> local repository it does not find it because it only looks in the
> default maven central repository.
>
> Of course this works fine when I run maven 2 on its own.
>
> Can someone help me out and tell me what I am missing?
>
> Thanks,
>
> Julian Payne
> ILOG Sophia
>
>
>