Did you run the checkin command in the directory with your pom?

Send us the output of 'mvn scm:checkin -X'

Emmanuel

Miguel Fernandez Gomes Dias Garz a écrit :
Good morning,

I’m having trouble to figure out how to configure my maven and the pom to do the checkin from a project.

First I installed maven, and configured as it should be.

Later I created a pom in a specific folder, named for example, “project”.

Here is the listing of the pom.xml

<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>br.gov.ancine.cpb</groupId>

  <artifactId>CPB</artifactId>

  <packaging>jar</packaging>

  <version>1.0-SNAPSHOT</version>

  <name>CPB</name>

  <url>http://maven.apache.org</url>

  <scm>

    <connection>scm:svn:svn://localhost/teste</connection>

  </scm>

  <dependencies>

    <dependency>

      <groupId>junit</groupId>

      <artifactId>junit</artifactId>

      <version>3.8.1</version>

      <scope>test</scope>

    </dependency>

  </dependencies>

</project>

And I get the following error when I execute :

_mvn scm:checkin_

_ _

the following error:

[ERROR] BUILD ERROR

[INFO] ---------------------------------------------

[INFO] Cannot run checkin command :

Embedded error: Can't load the scm provider.

You need to define a connectionUrl parameter

However if I run:

Mvn scm:validate or mvn scm:bootstrap

The maven runs ok.

So does someone may help me?

_ _


--
Esta mensagem foi verificada pelo sistema de antivírus e
acredita-se estar livre de perigo.

Reply via email to