tag in pom - not recognising accurev -

Riyaz Ahmed's picture
Riyaz Ahmed asked on May 15, 2013 - 4:47am | Replies (1).

Hi

Im trying to use <scm> maven tag to obtain the code from an accurev branch;

 

Following Maven's instruction (http://maven.apache.org/scm/maven-scm-providers/maven-scm-provider-accurev/) if I follow this pattern 

 

 

 

my SCM tag in POM looks like this:

 

    <scm>

            <connection>scm:accurev:jenkins/jenkins@longscm01d:5050:/schema</connection>

            <developerConnection>scm:accurev:jenkins/jenkins@longscm01d:5050:/schema</developerConnection>

            <!-- <url>http://scm.gta.travel.lcl/viewvc/projects/JCBS/?root=GTA-Projects</url> -->

    </scm>

 

 

 

However the build doesnt seems to understand the pattern and console log says the following:

 

[INFO] [release:prepare {execution: default-cli}]

[INFO] Resuming release from phase 'scm-check-modifications'

[INFO] Verifying that there are no local modifications...

[DEBUG] Repository created: host:null, port:5050, depot:longscm01d, streamName:5050/GTAApplications/schema, workspaceName:null, checkoutMethod:pop, params:{}

log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).

log4j:WARN Please initialize the log4j system properly.

[JENKINS] Archiving /var/lib/hudson/jobs/Testing_gta_jcbs_schema/workspace/pom.xml to /var/lib/hudson/jobs/Testing_gta_jcbs_schema/modules/com.gta.cbs$gta-jcbs-schema/builds/2013-05-15_09-25-14/archive/com.gta.cbs/gta-jcbs-schema/10.12-SNAPSHOT/gta-jcbs-schema-10.12-SNAPSHOT.pom

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

[ERROR] BUILD ERROR

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

[INFO] An error occurred during the status check process: No such command 'status'.

 

 

Can anyone please help

 

many thanks

1 Answer

Bob Aiello's picture

did you try this with a Maven archetype?
http://maven.apache.org/guides/introduction/introduction-to-archetypes.html

 

Starting with a known well formed POM can eliminate a whole host of problems. Try putting a simple project created from the archetypes under Jenkins first and verify that this isn't just an issue with your POM.

Also, does this work from the command line?

 

Bob Aiello, Technical Editor

CMCrossroads is a TechWell community.

Through conferences, training, consulting, and online resources, TechWell helps you develop and deliver great software every day.