Hi Wendy, 

I'm running archiva as a standalone non appserver, and it's 1.1.3. It's a
jetty bundle (I had to modify the server port to 8090 so it didn't collide
with my tomcat instance).  

I have since found that if I add a remote repository, the xml metadata is
added to the $ARCHIVA_HOME/conf/archiva.xml file, so I believe I'm starting
to understand. 

I'm familiar with using the settings.xml for maven, since that is
historically where I made local settings for plugins and repositories. Must
I now remove any reference to remote repositories in that file?


Another thing I still need to learn is how to enable one of my remote
repositories
Grails.org Snapshot Repository
Identifier      grails.snapshots
Name    Grails.org Snapshot Repository
URL     http://snapshots.repository.codehaus.org/
Type    Maven 2.x Repository

for an archetype plugin snapshot. The archetype maven command returns:

The desired archetype does not exist
(org.grails:grails-maven-archetype:1.0-SNAPSHOT)

There's no ui control, so I'm guessing I need to edit the archiva.xml. 

I'll do some more research on that one. 

Thanks. 



Wendy Smoak-3 wrote:
> 
> On Wed, Nov 12, 2008 at 6:20 AM, Edderd <[EMAIL PROTECTED]> wrote:
>> I've set up a new archiva repository wth the standard internal and
>> snapshot
>> repos. It's working generally, but I believe I'm confused as to whether I
>> should configure it in my userhome/.m2/settings.xml or
>> userhome/.m2/archiva.xml.
> 
> What version?  Is it running as the standalone Jetty bundle or did you
> deploy the war to an appserver?
> 
> The archiva.xml file is for the Archiva configuration -- the path to
> the managed repositories on disk, the consumers, the proxy connectors,
> etc.  If running standalone it should be in $ARCHIVA_HOME/conf.  If
> that file doesn't exist it will use ~/.m2/archiva.xml.
> 
> The ~/.m2/settings.xml file is for developer-specific Maven configuration.
> 
> -- 
> Wendy
> 
> 

-- 
View this message in context: 
http://www.nabble.com/archiva.xml-or-settings.xml-tp20460201p20469982.html
Sent from the archiva-users mailing list archive at Nabble.com.

Reply via email to