you have to enable the file:// protocol in the application.xml and try
with file:///home/.../pom.xml

On 10/20/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:
This is with Continuum 1.1-SNAPSHOT built from source [with tests
skipped, as two of them fail in continuum-release].  Windows XP,
Cygwin, JDK 1.5.

I'm having trouble with Continuum and a Subversion repository that is
only accessible via svn:// with a password.

I tried a POM Url of svn://server/repos/irm/project/trunk/pom.xml

2006-10-20 09:53:40,174 [btpool0-5] INFO  Interceptor:pssSecureActionInterceptor
 - not a secure action org.apache.maven.continuum.web.action.AddMavenTwoProjectA
ction
2006-10-20 09:53:40,174 [btpool0-5] INFO  Action:create-projects-from-metadata -
 Malformed URL: scm:svn:svn://server/repos/irm/project/trunk/pom.xml
java.net.MalformedURLException: unknown protocol: svn
        at java.net.URL.<init>(URL.java:574)
        at java.net.URL.<init>(URL.java:464)
        at java.net.URL.<init>(URL.java:413)

I also tried the Maven SCM url style of scm:svn:svn:// but that didn't
work either.

Then I tried uploading that pom via the filesystem, which didn't work
because this is the parent pom-- it has <modules>.  :/   Fine, I
commented those out, and now I get "Missing connection sub-element in
the scm element in the POM."

That's true, because only developers can access this repository.  If I
add <connection> then the generated 'source-repository.html' page will
contain an 'Anonymous Access' section that says anyone can check out
the project.  But, for now, I added it, and commented on CONTINUUM-598
[1].

(From there, it seems to work okay, except that if I force a build, I
just get a blank screen.  Backing up the URL and looking at the
results shows it was successful.)

So... any ideas on being able to add a parent pom, with <modules>,
when the only way to access the repo is svn:// with a password?

[1] http://jira.codehaus.org/browse/CONTINUUM-598

Thanks,
--
Wendy



--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
                            -- The Princess Bride

Reply via email to