added a comment - Greetings:
I am using continuum 1.0.2 and am experiencing the same issue of not being able to add a repository for the continuum builder to search through.
I fount that the continuum-1.0.2\apps\continuum\webapp\META-INF\maven\org.apache.maven.continuum\continuum-web\pom.xm l for the continuum webapp contians two repositories that it uses:
- <repositories>
- <repository>
- <releases>
<enabled>false</enabled>
</releases>
<id>snapshots</id>
<name>Maven Snapshot Development Repository</name>
<url>http://snapshots.maven.codehaus.org/maven2</url>
</repository>
- <repository>
- <snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>Maven Repository Switchboard</name>
<url>http://repo1.maven.org/maven2</url>
</repository>
</repositories>
- <pluginRepositories>
When I run a build from the continuum console, here is the build history output:
'#add' is not recognized as an internal or external command,
operable program or batch file.
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building Vendor Managed Inventory (VMI)
[INFO] task-segment:
[clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory c:\continuum-1.0.2\apps\continuum\working-directory\20\target
[INFO] Deleting directory c:\continuum-1.0.2\apps\continuum\working-directory\20\target\classes
[INFO] Deleting directory c:\continuum-1.0.2\apps\continuum\working-directory\20\target\test-classes
Downloading:
http://repo1.maven.org/maven2/svnjavahl/svnjavahl/1.0/svnjavahl-1.0.pom
[WARNING] Unable to get resource from repository central (
http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/svnClientAdapter/svnClientAdapter/1.0/svnClientAdapter-1.0.pom
[WARNING] Unable to get resource from repository central (
http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/svnant/svnant/1.0/svnant-1.0.pom
[WARNING] Unable to get resource from repository central (
http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/svnant/svnant/1.0/svnant-1.0.jar
[WARNING] Unable to get resource from repository central (
http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/svnClientAdapter/svnClientAdapter/1.0/svnClientAdapter-1.0.jar
[WARNING] Unable to get resource from repository central (
http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/svnjavahl/svnjavahl/1.0/svnjavahl-1.0.jar
[WARNING] Unable to get resource from repository central (
http://repo1.maven.org/maven2)
[INFO] ----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ----------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
required artifacts missing:
svnant:svnant:jar:1.0
svnClientAdapter:svnClientAdapter:jar:1.0
svnjavahl:svnjavahl:jar:1.0
for the artifact:
org.apache.maven.plugins:maven-antrun-plugin:maven-plugin:1.1
from the specified remote repositories:
central (
http://repo1.maven.org/maven2),
snapshots (
http://snapshots.maven.codehaus.org/maven2)
[INFO] ----------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ----------------------------------------------------------------------------
[INFO] Total time: 11 seconds
[INFO] Finished at: Mon Mar 27 17:03:14 CST 2006
[INFO] Final Memory: 4M/7M
[INFO] -----------------------------------------------------------------------------
The problem is that I can't modify the pom.xml to add my repository because when you reload continuum the pom.xml file get's rewritten every time. The above workarounds do not work for me and I am running on windows XP.
I note that you said this is fixed for build 1.0.3. What did you do to fix it and how can we apply the fix with the current build?
Thanks.
Bill.
I have a very similar problem. It looks like that is has a common reason. The setting <proxy> isn't used by continuum but if I run mvn at a console prompt everything works well. Continuum doesn't use settings.xml even though it logs:
jvm 1 | 2006-01-16 18:39:27,510 [SocketListener0-0] DEBUG MavenSettingsBuilder - Building Maven global-level settings from: '/opt/continuum-1.0.2/bin/linux/conf/settings.xml'
jvm 1 | 2006-01-16 18:39:27,510 [SocketListener0-0] DEBUG MavenSettingsBuilder - Building Maven user-level settings from: '/home/continuum/.m2/settings.xml'