You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by lwoggardner <gr...@lastweekend.com.au> on 2010/01/09 00:18:09 UTC
Re: error using scm:accurev with the scm plugin
I have written a replacement accurev provider that works with continuum and
the release plugin
See http://jira.codehaus.org/browse/SCM-445
A number of the issues and how I worked around them are in the site
documentation, which I've put up
at http://lastweekend.com.au/projects/maven-scm-provider-accurev/site/
I'm currently trying to get this included into maven-scm-1.3, to use it in
the meantime you'll need to download and build and then reference version
1.2.1-SNAPSHOT in your pom.
Stephen Connolly-2 wrote:
>
> 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 <ey...@gmail.com>:
>> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
--
View this message in context: http://old.nabble.com/error-using-scm%3Aaccurev-with-the-scm-plugin-tp26967303p27083572.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: error using scm:accurev with the scm plugin
Posted by Stephen Connolly <st...@gmail.com>.
not bad you've hit the same issues I saw
Sent from my [rhymes with tryPod] ;-)
On 8 Jan 2010, at 23:18, lwoggardner <gr...@lastweekend.com.au> wrote:
>
> I have written a replacement accurev provider that works with
> continuum and
> the release plugin
>
> See http://jira.codehaus.org/browse/SCM-445
>
> A number of the issues and how I worked around them are in the site
> documentation, which I've put up
> at http://lastweekend.com.au/projects/maven-scm-provider-accurev/site/
>
> I'm currently trying to get this included into maven-scm-1.3, to use
> it in
> the meantime you'll need to download and build and then reference
> version
> 1.2.1-SNAPSHOT in your pom.
>
>
> Stephen Connolly-2 wrote:
>>
>> 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 <ey...@gmail.com>:
>>> 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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>
> --
> View this message in context: http://old.nabble.com/error-using-scm%3Aaccurev-with-the-scm-plugin-tp26967303p27083572.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org