You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by eyal edri <ey...@gmail.com> on 2009/12/30 14:09:22 UTC

error using scm:accurev with the scm plugin

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

Re: error using scm:accurev with the scm plugin

Posted by Stephen Connolly <st...@gmail.com>.
To put it another way... when I first started using Accurev, I was a
big fan... after writing a tool to convert to Subversion (we were
looking at using the Subversion - clearcase migration tools to get our
history to the Corp mandated SCM tool) I have lost all confidence in
Accurev. (Thankfully, corp came to their senses before we started
moving svn 2 clearcrap)

IMHO, SCM has been reduced to two choices (for now)

* Subversion
* Git

Or some combination of the two (using the svn git bridge)

Git is great for distributed devel, but I suspect that Maven needs to
adapt somewhat to the infinite branching mode of Git

Subversion is great for single authorative development (a.k.a.
enterprise).  Branching is not as well supported as Git.

If you need better branch-merge support with the authoritive end of
Svn, I'n use Svn Git bridge so that the authoritive development line
lives in Svn and the branches are handled in Git

Just my €0.02

2009/12/30 Stephen Connolly <st...@gmail.com>:
> I might mention some of the data inconsistencies we found when
> migrating.... some of the file versions that Accurev would tell you
> existed, but would refuse to give... and the 8 hour window for which
> recreating a snapshot within that time creates a different snapshot
> from one created at the exact same time during the 8h window...
>
> Now some of these issues "could" be the result of our 11 year history
> in accurev, and if you are starting clean, you might not find these
> issues, but anywho...
>
> -Stephen
>
> P.S.
> We were being forced to change SCM from Accurev in any case... it was
> to be to ClearCrap.... but then the powers that be were convinced that
> Subversion was a better plan (And I was not involved in the
> convincing!)
>
> 2009/12/30 eyal edri <ey...@gmail.com>:
>> Actually,
>> i might not need the maven scm plugin... if i've got hudson working with
>> accurev - that's settles the automatic building...
>> and i can use accurev plugin for eclipse for checkin/out releases.
>>
>> I've expressed what you said about accurev to my team leader, and he said
>> those are not relevant to our environment.. so in the meantime.. we're going
>> on accurev...
>>
>> -Eyal
>>
>> On Wed, Dec 30, 2009 at 4:04 PM, Stephen Connolly <
>> stephen.alan.connolly@gmail.com> 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
>>>
>>>
>>
>>
>> --
>> Eyal Edri
>>
>

---------------------------------------------------------------------
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>.
I might mention some of the data inconsistencies we found when
migrating.... some of the file versions that Accurev would tell you
existed, but would refuse to give... and the 8 hour window for which
recreating a snapshot within that time creates a different snapshot
from one created at the exact same time during the 8h window...

Now some of these issues "could" be the result of our 11 year history
in accurev, and if you are starting clean, you might not find these
issues, but anywho...

-Stephen

P.S.
We were being forced to change SCM from Accurev in any case... it was
to be to ClearCrap.... but then the powers that be were convinced that
Subversion was a better plan (And I was not involved in the
convincing!)

2009/12/30 eyal edri <ey...@gmail.com>:
> Actually,
> i might not need the maven scm plugin... if i've got hudson working with
> accurev - that's settles the automatic building...
> and i can use accurev plugin for eclipse for checkin/out releases.
>
> I've expressed what you said about accurev to my team leader, and he said
> those are not relevant to our environment.. so in the meantime.. we're going
> on accurev...
>
> -Eyal
>
> On Wed, Dec 30, 2009 at 4:04 PM, Stephen Connolly <
> stephen.alan.connolly@gmail.com> 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
>>
>>
>
>
> --
> Eyal Edri
>

---------------------------------------------------------------------
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 eyal edri <ey...@gmail.com>.
Actually,
i might not need the maven scm plugin... if i've got hudson working with
accurev - that's settles the automatic building...
and i can use accurev plugin for eclipse for checkin/out releases.

I've expressed what you said about accurev to my team leader, and he said
those are not relevant to our environment.. so in the meantime.. we're going
on accurev...

-Eyal

On Wed, Dec 30, 2009 at 4:04 PM, Stephen Connolly <
stephen.alan.connolly@gmail.com> 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
>
>


-- 
Eyal Edri

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


Re: error using scm:accurev with the scm plugin

Posted by lwoggardner <gr...@lastweekend.com.au>.
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>.
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