Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Cannot Reproduce
-
Affects Version/s: None
-
Fix Version/s: 1.2
-
Labels:None
-
Environment:maven 2.0.9, javasvn
-
Number of attachments :
Description
Baseline: Setup buildnumber plugin to use providerImplementation javasvn. Trying to avoid requiring desktop installs of subversion for everyone who works on the project.
round 1: missing scm url error
-seems to be known, it's not the pom/scm/url entry that was missing, but requires the /pom/scm/developerConnection to be populated.
round2: noclassdeffounderror com/trilead/ssh2/Interactivecallback
-Downloaded jar from location defined in ibiblio pom, added to local repo, modified dependency and created new pom for version 'build213' as there was no svnkit-1.2-patch jar available anywhere.
-Updated my pom to include local repo location.
-Not sure why needed SSH library, but doing it anyway.
round3: still noclassdeffounderror
-updated POM:
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<dependencies>
<dependency>
<!-- not on ibiblio, in local repository -->
<groupId>com.trilead</groupId>
<artifactId>trilead-ssh2</artifactId>
<version>build213</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
round 4: reading SVN from wrong location in the first place.
***My pom has a developerConnection defined as 'scm:svn:http://subversion-server'.
***I originally checked out the project using eclipse from an svn+ssh:// approach.
***Error is trying to checkout from svn+ssh:// from local .svn INSTEAD OF the developerConnection.
re-checking out from the same location as the developerConnection, but wants authentication. Adding authentication to settings.xml file does not appear to work, but not something I usually do.
All I wanted was to put in a file the current subversion revision.....