The problem is that the continuum build of the project fails when it tries to find artifacts I have deployed to my external_free repository.
Downloading: http://repo1.maven.org/maven2/jai/jai-imageio/1.0.1/jai-imageio-1.0.1.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/jai/jai-core/1.1.2/jai-core-1.1.2.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/jai/jai-codec/1.1.2/jai-codec-1.1.2.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/jai/jai-imageio/1.0.1/jai-imageio-1.0.1.jar [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/jai/jai-codec/1.1.2/jai-codec-1.1.2.jar [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/jai/jai-core/1.1.2/jai-core-1.1.2.jar [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) jai:jai-imageio:jar:1.0.1 2) jai:jai-codec:jar:1.1.2 3) jai:jai-core:jar:1.1.2 Now I have all these deployed into external_free repository so why can't it find them? It suggests I install them. My understanding is that deploy also installs so they should be in both repositories. -dh -----Original Message----- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 10:04 AM To: Maven Users List Subject: Re: Why can't continuum find my local m2 repositories? Dave Hoffer a écrit : > I haven't used profiles yet. > > I have the following local repositories defined in my maven conf/settings.xml > as: Continuum doesn't use $M2_HOME/conf/settings.xml but a global settings.xml that must be stored somewhere (depends how you launch continuum). You'll find the location in logs with a line that contains "Building Maven global-level settings from:" Where is your problem exactly? in maven execution inside Continuum or in project initialization? Emmanuel > > <servers> > <server> > <id>internal</id> > <username>anonymous</username> > <password>xrbuild</password> > </server> > <server> > <id>internal_snapshot</id> > <username>anonymous</username> > <password>xrbuild</password> > </server> > <server> > <id>external_free</id> > <username>anonymous</username> > <password>xrbuild</password> > </server> > <server> > <id>external_free_snapshot</id> > <username>anonymous</username> > <password>xrbuild</password> > </server> > <server> > <id>external_non_free</id> > <username>anonymous</username> > <password>xrbuild</password> > </server> > </servers> > > Now each project/artifact pom has a section like: > > <distributionManagement> > <repository> > <id>internal</id> > <name>Internal Release Repository</name> > <url>ftp://XRBUILD2.xrite.com/internal</url> > </repository> > <snapshotRepository> > <id>internal_snapshot</id> > <name>Internal Snapshot Repository</name> > <url>ftp://XRBUILD2.xrite.com/internal_snapshot</url> > <uniqueVersion>true</uniqueVersion> > </snapshotRepository> > </distributionManagement> > > All the artifacts in my external repositories got there because I deployed > them using the command line syntax. > > The problem I seem to have is that when building a project with continuum > where I have specified a dependency such as: > > <dependency> > <groupId>jai</groupId> > <artifactId>jai-core</artifactId> > <version>1.1.2</version> > </dependency> > > Where this is already deployed in my external_free repository, it does not > find them. > > > -dh > > -----Original Message----- > From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 10, 2006 9:15 AM > To: Maven Users List > Subject: Re: Why can't continuum find my local m2 repositories? > > continuum uses settings.xml like mvn > > Where is define your repository? in your pom? in a profile? > > Emmanuel > > Dave Hoffer a écrit : > >>I have maven and continuum each installed in their own folders; >>continuum is being run as a service. I do not have a maven settings.xml >>file in user-dir. >> >>I set a system property of M2_HOME=c:\path to root maven folder. >> >>I restarted continuum and it still cannot find my local external >>repositories. (Reboot didn't help either) It does seem to find my >>internal snapshots. It is behaving the same as before. How can I know >>were continuum is looking for repositories? >> >>-dh >> >> >>-----Original Message----- >>From: Alexandre Poitras [mailto:[EMAIL PROTECTED] >>Sent: Tuesday, May 09, 2006 9:12 PM >>To: Maven Users List >>Subject: Re: Why can't continuum find my local m2 repositories? >> >>Well depend of where continuum is running. Continuum uses the >>$M2_HOME$/conf/settings.xml file (or the user's one if there is one). >> >>On 5/9/06, Dave Hoffer <[EMAIL PROTECTED]> wrote: >> >> >>>When I setup my internal m2 repositories I followed the advice of an >>>online m2 review which suggested it is best to have the following >>>internal repositories. >>> >>> >>> >>>internal >>> >>>internal_snapshots >>> >>>external_free >>> >>>external_non_free >>> >>> >>> >>>Not knowing any better, I followed this advice. For all of our >>>developed artifacts we deploy to internal & internal_snapshots as this >>>is specified in the distributionManagement section of each artifact's >>>pom file. When we have to deploy external artifacts because they are >>>not found on ibibilo I deploy to external_free & external_non_free as >> >>is >> >> >>>appropriate on the command line. >>> >>> >>> >>>I seem to be able to build from the maven command line okay but when I >>>build the same project (artifact) in continuum it says it can't find >>>artifacts that I put in external_free (probably external_non_free >> >>also). >> >> >>>Now this sort of makes sense because how is it supposed to know about >>>these repositories? Maven knows because I have them specified in the >>>servers section of its settings.xml file. Does continuum know about >>>this file? If not, all it would know are the repositories in the >>>distributionManagement section of the pom; and these don't know about >>>the external repositories. >>> >>> >>> >>>What is the right way to do this? Should I combine internal & >> >>external? >> >> >>>How does continuum know where to look for repositories besides >> >>ibibilo? >> >> >>> >>>-dh >>> >>> >>> >>> >>> >>> >>> >>> >>> >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]