it looks like the checkout occurred in target/checkout, but you tried
to checkin from the base directory of the project which is not an SVN
working copy?

2008/5/9 Justin Rodenbostel <[EMAIL PROTECTED]>:
> I am just starting a project out on googlecode.com.  I've got maven setup
> currently building and packaging my ear, with a project level pom.  I
> recently began trying to integrate my maven setup with googlecode.com, and
> have had some success.  Instead of starting with the top level project, I
> chose to start with one of the 'jar' packages to get the scm plugin going.
>  Anyway, I'm having trouble committing changes to svn, and validating my pom
> with the scm plugin.  I am able to checkout, and have tried several
> different -Dbasedir params for checkin, ie pointing to the target folder,
> etc.  Below is my pom, and command results, where the values wrapped in **
> have been masked.  Any help would be appreciated.  Thanks very much in
> advance.
>
> mvn scm:validate results in failure:  "The PluginDescriptor for the plugin
> Plugin [maven:maven-scm-plugin] was not found."
> mvn scm:checkout results in success:
>
> [INFO] Removing **jar project root**/target/checkout
> [INFO] Executing: svn --password ***** --non-interactive checkout
> http://**projectname**.googlecode.com/svn/trunk checkout
> [INFO] Working directory: **jar project root**/target
>
> mvn scm:checkin results in a failure asking for a message parameter.
> mvn scm:checkin -Dmessage test results in a failure:
>
> Executing: svn --password ***** --non-interactive commit --file
> /tmp/maven-scm-600613812.commit
> [INFO] Working directory: **jar project root**
> [ERROR] Provider message:
> [ERROR] The svn command failed.
> [ERROR] Command output:
> [ERROR] svn: '**jar project root**' is not a working copy
>
>
> <project xmlns="http://maven.apache.org/POM/4.0.0";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd";>
>  <modelVersion>4.0.0</modelVersion>
>  <groupId>**GroupID**</groupId>
>  <artifactId>ShowManagerUtil</artifactId>
>  <packaging>jar</packaging>
>  <version>1.0</version>
>  <name>ShowManagerUtil</name>
>  <url>**projecturl**</url>
>  <scm>
>
>  
> <connection>scm:svn:http://**projectname**.googlecode.com/svn/trunk</connection>
>
>  
> <developerConnection>scm:svn:https://showmanager.googlecode.com/svn/trunk</developerConnection>
>    <url>scm:svn:https://**projectname**.googlecode.com/svn/trunk</url>
>  </scm>
>  <dependencies>
>    <dependency>
>      <groupId>junit</groupId>
>      <artifactId>junit</artifactId>
>      <version>3.8.1</version>
>      <scope>test</scope>
>    </dependency>
>    <dependency>
>      <groupId>log4j</groupId>
>      <artifactId>log4j</artifactId>
>      <version>1.2.15</version>
>      <scope>compile</scope>
>    </dependency>
>  </dependencies>
>  <build>
>    <filters>
>      <filter>src/main/filters/localFilter.properties</filter>
>    </filters>
>    <resources>
>      <resource>
>        <directory>src/main/java/resources</directory>
>        <filtering>true</filtering>
>      </resource>
>    </resources>
>    <plugins>
>      <plugin>
>        <groupId>maven</groupId>
>        <artifactId>maven-scm-plugin</artifactId>
>        <version>1.4.1</version>
>        <configuration>
>          <connectionType>developerConnection</connectionType>
>          <username>**username**</username>
>          <password>**password**</password>
>        </configuration>
>      </plugin>
>    </plugins>
>  </build>
> </project>
>



-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

Reply via email to