Hi folks,

I am using Maven 2.09 with site plugin 2.0-beta-6,
maven-project-info-reports-plugin 2.0.1 and the maven-changelog-plugin 2.1.

In my parent pom I got:
[…]
   <scm>
      <connection>scm:svn:https://myURL:443/myMainProject/TRUNK
</connection>
      <developerConnection>scm:svn:https://myURL:443/myMainProject/TRUNK
</developerConnection>
      <url>https://myURL:443/myMainProject/TRUNK
/</url>
   </scm>
[…]
1. Running "mvn site" just for the parent pom works fine. Running mvn site
for sub projects works fine,* IF*:
a) I am running it by typing "mvn site" from the parent pom project
*AND*
b) I added the foldername of the sub project to the scm url

2. When I am in the folder of a sub project, and run "mvn site –o", it also
works. I guess the offline mode will exclude the scm report.

3. When I am in the folder of a sub project, and I run "mvn site", *without
*adding the name of the sub project to the scm url, I get this error:
[INFO] Error during page generation

Embedded error: Error rendering Maven report: Cannot run changelog command :
*The scm url does not contain a valid delimiter.*

4. When I add the name of the sub folder to the scm url, like this:
   <scm>
<connection>scm:svn:https://myURL:443/myMainProject/TRUNK/*mySubProjectXY*
</connection>
      <developerConnection>scm:svn:https://myURL:443/myMainProject/TRUNK/*
mySubProjectXY*
</developerConnection>
      <url>https://myURL:443/myMainProject/TRUNK
//*mySubProjectXY*/</url>
   </scm>
I get:
[INFO] Generating changed sets xml to: target\changelog.xml
[INFO] Executing: svn --non-interactive log -v -r "{2008-05-31 16:02:01
+0000}:{
2008-07-01 16:02:01 +0000}"
https://myURL:443/myMainProject/TRUNK/subprojectXY
[INFO] Working directory: C:\subprojectXY
[ERROR] Provider message:
[ERROR] The svn command failed.
[ERROR] Command output:
[ERROR] svn: PROPFIND request failed on '/myMainProject/TRUNK/subprojectXY'
svn: PROPFIND of '/myMainProject/TRUNK/subprojectXY': *Server certificate
verification fail
ed: certificate issued for a different hostname, issuer is not trusted
(https://
myURL)

*- while the same thing* IS *working when I am calling mvn site from the
parent pom folder.*
*
Question:

How can I make this work (best was if I just had to adjust the parent pom,
and not to adjust the scm url for each sub project…) – Do I have to add the
name of a sub project to the scm url? If so, why does it say "issuer is not
trusted" – when I am in the folder of the parent pom and do the same, it
does work without this error…
????

I know I had this working a while ago - maybe they changed the way the site
/ scm plugin is working???

Thanks in advance,

Peter

Reply via email to