Well the interesting thing is, I'm running continuum on the same machine
as the one that I did the command from the command prompt: "mvn clean
install --batch-mode --non-recursive"
The command prompt works just fine..
Here is the output running from Continuum with the -e flag set.
org.apache.maven.continuum.scm.ContinuumScmException: Error while update
sources.
at
org.apache.maven.continuum.scm.DefaultContinuumScm.updateProject(DefaultContinuumScm.java:272)
at
org.apache.maven.continuum.core.action.UpdateWorkingDirectoryFromScmContinuumAction.execute(UpdateWorkingDirectoryFromScmContinuumAction.java:58)
at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:166)
at
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
at java.lang.Thread.run(Thread.java:534)
Caused by: org.apache.maven.scm.ScmException: Exception while executing
SCM command.
at
org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
at
org.apache.maven.scm.provider.local.LocalScmProvider.update(LocalScmProvider.java:191)
at
org.apache.maven.scm.provider.AbstractScmProvider.update(AbstractScmProvider.java:386)
at
org.apache.maven.scm.provider.AbstractScmProvider.update(AbstractScmProvider.java:363)
at
org.apache.maven.continuum.scm.DefaultContinuumScm.updateProject(DefaultContinuumScm.java:242)
... 5 more
Caused by: java.lang.NullPointerException
at java.util.Date.after(Date.java:871)
at
org.apache.maven.scm.command.update.AbstractUpdateCommand.executeCommand(AbstractUpdateCommand.java:89)
at
org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:55)
... 9 more
My pom.xml looks like this:
<scm>
<connection>
scm:local|C:/continuumMKS|MyProject
</connection>
<developerConnection>
scm:local|C:/continuumMKS|MyProject
</developerConnection>
</scm>
with MyProject being a subdirectory (C:/continuumMKS/MyProject) containing
the pom.xml file.
I've also set this up to "upload" the POM instead of a file URL link
because file URL link didn't work...
-j
---------------------------------------------------
Justin Fung
[EMAIL PROTECTED]
Sr. Analyst, Business Systems
IT Banking Systems, e-Business
HSBC Bank Canada
http://www.hsbc.ca
p: (604) 643-6605
f: (604) 643-6727
Kenney Westerhof <[EMAIL PROTECTED]>
05/01/2006 10:46 AM
Please respond to "Maven Users List"
To: Maven Users List <[email protected]>
cc:
Subject: Re: Problem with Continuum and Maven
Our Ref:
Your Ref:
On Mon, 1 May 2006 [EMAIL PROTECTED] wrote:
Try running it from the machine/user that continuum is running from,
with -e, and see what the error is. There's probably some mirror
configured in settings.xml on either your account or continuums.
Maybe DNS or firewalling is not working properly on the machine running
continuum? Can't really tell without the stacktraces you get when running
with -e.
-- Kenney
> I try to have Continuum do a build with "clean install" as the
tasks. >
> "mvn clean install" works just fine from the command line, but it
> absolutely refuses to work inside Continuum. Here is the output.
Hopefully
> somebody can help! Thanks and sorry if I'm posting to the wrong mailing
> list... I wasn't sure if this was a Maven problem or a Continuum one!
>
> [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking
for
> updates from dotsrc
> [WARNING] repository metadata for: 'artifact
> org.apache.maven.plugins:maven-clean-plugin' could not be retrieved from
> repository: dotsrc due to an error: Error transferring file
> [INFO] Repository 'dotsrc' will be blacklisted
> [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking
for
> updates from ibiblio
> [WARNING] repository metadata for: 'artifact
> org.apache.maven.plugins:maven-clean-plugin' could not be retrieved from
> repository: ibiblio due to an error: Error transferring file
> [INFO] Repository 'ibiblio' will be blacklisted
> [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking
for
> updates from codehaus-plugins
> [WARNING] repository metadata for: 'artifact
> org.apache.maven.plugins:maven-clean-plugin' could not be retrieved from
> repository: codehaus-plugins due to an error: Error transferring file
> [INFO] Repository 'codehaus-plugins' will be blacklisted
> [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking
for
> updates from apache-plugins
> [WARNING] repository metadata for: 'artifact
> org.apache.maven.plugins:maven-clean-plugin' could not be retrieved from
> repository: apache-plugins due to an error: Error transferring file
> [INFO] Repository 'apache-plugins' will be blacklisted
> [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking
for
> updates from central
> [WARNING] repository metadata for: 'artifact
> org.apache.maven.plugins:maven-clean-plugin' could not be retrieved from
> repository: central due to an error: Error transferring file
> [INFO] Repository 'central' will be blacklisted
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-clean-plugin' does not
> exist or no valid version could be found
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
>
> -j
>
> ---------------------------------------------------
> Justin Fung
> [EMAIL PROTECTED]
> Sr. Analyst, Business Systems
> IT Banking Systems, e-Business
> HSBC Bank Canada
> http://www.hsbc.ca
> p: (604) 643-6605
> f: (604) 643-6727
> ***************************************************************
> This email may contain confidential information, and is intended only
for
> the named recipient and may be privileged. Distribution or copying of
> this email by anyone other than the named recipient is prohibited. If
you
> are not the named recipient, please notify us immediately and
permanently
> destroy this email and all copies of it. Internet email is not private,
> secure, or reliable. No member of the HSBC Group is liable for any
errors
> or omissions in the content or transmission of this email. Any opinions
> contained in this email are solely those of the author and, unless
clearly
> indicated otherwise in writing, are not endorsed by any member of the
HSBC
> Group.
> ***************************************************************
> Ce courriel peut renfermer des renseignements confidentiels et privil覩
豍
> et s'adresse au destinataire d販gn石eulement. La distribution ou la
> copie de ce courriel par toute personne autre que le destinataire d販gn
狊> est interdite. Si vous n'鳥s pas le destinataire d販gn窠veuillez nous
> en aviser imm裩atement et d賲uire de fa殮 permanente ce courriel ainsi
> que toute copie de celui-ci. La transmission de courriel par Internet ne
> constitue pas un mode de transmission confidentiel, s袵ritaire ou
fiable.
> Aucun membre du Groupe HSBC ne sera responsable des erreurs ou des
> omissions relatives au contenu ou �a transmission de ce courriel.
> L'auteur de ce courriel est seul responsable des opinions 謩ses dans ce
> courriel, lesquelles, �oins d'un avis contraire fourni par 袲it, ne
> sont pas endoss褳 par aucun membre du Groupe HSBC.
> ***************************************************************
>
--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
***************************************************************
This email may contain confidential information, and is intended only for
the named recipient and may be privileged. Distribution or copying of
this email by anyone other than the named recipient is prohibited. If you
are not the named recipient, please notify us immediately and permanently
destroy this email and all copies of it. Internet email is not private,
secure, or reliable. No member of the HSBC Group is liable for any errors
or omissions in the content or transmission of this email. Any opinions
contained in this email are solely those of the author and, unless clearly
indicated otherwise in writing, are not endorsed by any member of the HSBC
Group.
***************************************************************
Ce courriel peut renfermer des renseignements confidentiels et privilégiés
et s’adresse au destinataire désigné seulement. La distribution ou la
copie de ce courriel par toute personne autre que le destinataire désigné
est interdite. Si vous n’êtes pas le destinataire désigné, veuillez nous
en aviser immédiatement et détruire de façon permanente ce courriel ainsi
que toute copie de celui-ci. La transmission de courriel par Internet ne
constitue pas un mode de transmission confidentiel, sécuritaire ou fiable.
Aucun membre du Groupe HSBC ne sera responsable des erreurs ou des
omissions relatives au contenu ou à la transmission de ce courriel.
L’auteur de ce courriel est seul responsable des opinions émises dans ce
courriel, lesquelles, à moins d’un avis contraire fourni par écrit, ne
sont pas endossées par aucun membre du Groupe HSBC.
***************************************************************