Sorry everyone if you already received this message, my e-mail server had a
problem. I did not received any message last 12 hours.

 

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