Maven repository metadata

2007-07-25 Thread Dmitry
I've got a quick question about repository metadata. If you take a look at 
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/maven/plugins/maven-surefire-plugin/maven-metadata.xml 
it has all of the versioning information, which makes sense, but it also has 
a version tag with a version that's neither the oldest nor the most recent. 
How does this tag get populated and what is it used for? It seems like this 
tag shouldn't even be there... Are there metadata files that are only 
associated with a particular version?


thanks,

DT,

www.ejinz.com

Search engine news , tech


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Maven repository metadata

2007-07-20 Thread Dmitry
I've got a quick question about repository metadata. If you take a look at 
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/maven/plugins/maven-surefire-plugin/maven-metadata.xml 
it has all of the versioning information, which makes sense, but it also has 
a version tag with a version that's neither the oldest nor the most recent. 
How does this tag get populated and what is it used for? It seems like this 
tag shouldn't even be there... Are there metadata files that are only 
associated with a particular version?

thanks,
Dmitry
www.ejinz.com search biz
- Original Message - 
From: "Chris Russell" <[EMAIL PROTECTED]>

To: "Maven Users List" 
Sent: Friday, July 20, 2007 1:29 PM
Subject: Running Maven commands with CRON



Hello,

I'm trying to run the following script with CRON:
# set up some environment vars to make things more readable
. /home/maven/metalink3/setupVars.sh

/u02/webapps/orihttp/apache/maven-2.0.4/bin/mvn site:site

This runs fine when I run it from the command line. But when CRON runs it 
I get:

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'site'.
[INFO] 

[INFO] Building Maven Default Project
[INFO]task-segment: [site:site]
[INFO] 

[INFO] Setting property: classpath.resource.loader.class => 
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.

[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Cannot execute mojo: site. It requires a project with an existing 
pom.xml, but the build is not using one.


It seems when running from CRON Maven can't find the pom file.

Is there a way to specify the location of the top level pom via that 
command line?


Thanks in advance,
Chris


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



maven repository metadata

2007-04-21 Thread Gregory Kick

I've got a quick question about repository metadata.  If you take a
look at 
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/maven/plugins/maven-surefire-plugin/maven-metadata.xml
it has all of the versioning information, which makes sense, but it
also has a version tag with a version that's neither the oldest nor
the most recent.  How does this tag get populated and what is it used
for?  It seems like this tag shouldn't even be there...  Are there
metadata files that are only associated with a particular version?

--
Gregory Kick
http://kickstyle.net/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]