continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Payne" <jpa...@ilog.fr>
Subject RE: Continuum 1.0.2 and maven 2
Date Tue, 14 Mar 2006 11:20:39 GMT
Emmanuel,

I tried the latest snapshot and it works if I put my settings.xml in ~/.m2 but it does not
work if I put it in bin/linux/conf.

Thanks,

Julian

> -----Original Message-----
> From: Emmanuel Venisse [mailto:emmanuel@venisse.net] 
> Sent: 13 March 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/conti
> nuum-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
> > 
> > 
> > 
> 
> 

Mime
View raw message