I told you already, Accurev does not play well with Maven... and IMHO,
it cannot be made to play well with Maven without Accurev
re-architecting some things.

-Stephen

2009/12/30 eyal edri <[email protected]>:
> i'm trying to use the scm plugin with the Accurev SCM.
>
> Here's my pom:
>
>
> <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>com.company.sql</groupId>
>  <artifactId>DbUtil</artifactId>
>  <packaging>jar</packaging>
>  <version>0.0.3</version>
>  <name>DbUtil</name>
>  <parent>
>    <groupId>com.company.maven.pom</groupId>
>    <artifactId>WebSecParent</artifactId>
>    <version>0.0.1</version>
>  </parent>
>  <dependencies>
>    <dependency>
>        <groupId>com.microsoft.sqlserver.jdbc</groupId>
>        <artifactId>sqljdbc</artifactId>
>        <version>2.0</version>
>    </dependency>
>    <dependency>
>       <groupId>org.apache.maven.scm</groupId>
>       <artifactId>maven-scm-provider-accurev</artifactId>
>    <version>1.1</version>
> </dependency>
>  </dependencies>
>  <scm>
>    <connection>scm:accurev:server:5050/CTTest/DbUtil/</connection>
>  </scm>
>  <build>
>    <plugins>
>      <plugin>
>        <groupId>org.apache.maven.plugins</groupId>
>        <artifactId>maven-scm-plugin</artifactId>
>        <version>1.0</version>
>        <configuration>
>          <goals>install</goals>
>        </configuration>
>      </plugin>
>    </plugins>
>  </build>
> </project>
>
> when i run scm:compile:
>
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building DbUtil
> [INFO]    task-segment: [scm:validate] (aggregator-style)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Preparing scm:validate
> [INFO] No goals needed for project - skipping
> [INFO] [scm:validate {execution: default-cli}]
> [ERROR] Validation of scm url connection (connectionUrl) failed :
> [ERROR] No such provider installed 'accurev'.
> [ERROR] The invalid scm url connection:
> 'scm:accurev:server:5050/CTTest/DbUtil/'.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Command failed. Bad Scm URL.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Wed Dec 30 15:00:28 IST 2009
> [INFO] Final Memory: 11M/73M
> [INFO]
> ------------------------------------------------------------------------
>
> Any idea?
>
> --
> Eyal Edri
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to