Java
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Mailing Lists Java

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old June 30th, 2008, 05:00 PM
Peter Horlock
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
mvn site / reports / scm plugin

Hi folks,

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

In my parent pom I got:
[…]
<scm>
<connection>
</connection>
<developerConnection>
</developerConnection>
<url>
/</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:
[INF] 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>*mySubProjectXY*
</connection>
<developerConnection>*
mySubProjectXY*
</developerConnection>
<url>
//*mySubProjectXY*/</url>
</scm>
I get:
[INF] Generating changed sets xml to: target\changelog.xml
[INF] Executing: svn log -v -r "{2008-05-31 16:02:01
+0000}:{
2008-07-01 16:02:01 +0000}"

[INF] Working directory: C:\subprojectXY
[ERRR] Provider message:
[ERRR] The svn command failed.
[ERRR] Command output:
[ERRR] svn: PRPFIND request failed on '/'
svn: PRPFIND of '/': *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 With Quote
  #2  
Old July 2nd, 2008, 10:39 AM
Peter Horlock
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
mvn site / reports / scm plugin

Hm,

could noone help me, pleeeease? :-(((

To make a long story short:

I would like to use the changelog plugin as part of my site generation.
The changelog plugin again is using the scm plugin, to retrieve changes from
subversion.
I am looking for the best / easiest way of how to configure the thing so
that it generates those reports for all my sub projects
that all are sharing the same parent pom.

Anyone???

Thanks,

Peter

Reply With Quote
  #3  
Old July 3rd, 2008, 08:19 AM
Peter Horlock
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
mvn site / reports / scm plugin

Yes, it worked manually from my console.
Also, now I finally got an idea of how to not duplicate the scm connection
details for every project,
i just added:
<scm>

<connection>scm:svn:${svn-repository}/${project.artifactId}</connection>

<developerConnection>scm:svn:${svn-repository}/${project.artifactId}</developerConnection>
<url>${svn-repository}/${project.artifactId}/</url>
</scm>

As the artifactId is always the name of the project in svn, this works for
all projects (and I don't get the
"The scm url does not contain a valid delimiter."
error, nor the "server certificate verification failed: certificate issued
for a different hostname, issuer is not trusted "

error anymore.

Thanks.

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists Java > mvn site / reports / scm plugin


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway