We check three parameters connectionUrl, project.scm.connection and project.scm.developerConnection,
so if you use these three parameters, you'll see three validations in logs but they aren't the same.
Emmanuel
Sharma, Jaikumar a écrit :
Does any one of you know the reason or it might be repeated goals
executions in Maven lifecycle ?
Thanks.
-----Original Message-----
*From:* Sharma, Jaikumar
*Sent:* Wednesday, June 07, 2006 11:21 AM
*To:* 'scm-dev@maven.apache.org'
*Subject:* M2 : Log info is duplicated
Emmanuel,
When I run scm:validate, the info you can see below is duplicated
(two times) while I have specified it at one place in
MksScmRepository class as :
log.info("Parsing MKS URL
I have tried to search for the reason, but could not find any
relevent clue.
Does it parses the class two times or what ?
Jaikumar
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'scm'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building Unnamed - com.mycompany.testplugin:testmksplugin:jar:1.0
[INFO] task-segment: [scm:validate] (aggregator-style)
[INFO]
----------------------------------------------------------------------------
[INFO] Preparing scm:validate
[INFO] No goals needed for project - skipping
[WARNING]
Artifact org.codehaus.plexus:plexus-utils:jar:1.1:runtime retains
local scope 'runtime' overriding broader scope 'compile'
given by a dependency. If this is not intended, modify or remove
the local scope.
[INFO] [scm:validate]
Parsing MKS URL....
user name is :username
password is :password
servername isservername
project name is projectname
sandbox location is sbxlocation
[INFO] connectionUrl scm connection string is valid.
Parsing MKS URL....
user name is :username
password is :password
servername isservername
project name is projectname
sandbox location is sbxlocation
[INFO] project.scm.connection scm connection string is valid.
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Wed Jun 07 11:13:35 GMT+05:30 2006
[INFO] Final Memory: 3M/8M
[INFO]
------------------------------------------------------------------------