Re: Run different goals on different schedules for a project group

2007-07-08 Thread Wendy Smoak
On 6/20/07, Olivier Dehon [EMAIL PROTECTED] wrote: The problem I am facing is that the daily build will never get kicked off because the scm changes have already been consumed by the hourly build. Has this been resolved in 1.1-alpha-2 ? CONTINUUM-686 suggests a separate working copy per

Re: Can't add M2 project in Continuum 1.1alpha2

2007-07-08 Thread Wendy Smoak
On 7/8/07, blixt [EMAIL PROTECTED] wrote: I'm trying to set up Continuum as my CI server. But no luck so far. When trying to add my Maven2 project to Continumm 1.1alpha2 all I get is an error (The specified resource isn't a file or the protocol used isn't allowed.). What does the scm

copy 'resources' to arbitrary directory

2007-07-08 Thread Severin Ecker
Hi, I seem to just can't figure out how i can copy files from an arbitrary location to an arbitrary location. I have some XML schema files in my source directory and since i'm using these as source they clearly don't fit in the resource directory. so i guess to have them automatically copied

Re: [m2] changes-maven-plugin - announcement-mail

2007-07-08 Thread Dennis Lundberg
Hi I'm going through the issues for maven-changes-plugin and found this old mail, marked as something to have look at. The reason that your configuration is not working, is that the elements in the from List are complex objects. They are actually project.developers.developer object. From

Re: Problem using custom announcement with changes plugin

2007-07-08 Thread Dennis Lundberg
Hi Paul, I committed a new page for the site that explains how to create and use a custom template for the announcement. As you sort of figured out already, the templateDirectory starts from /src/main/resources, i.e. not from ${basedir}. I have not deployed a new site yet, but you can have

Site-related question ... change default index.html

2007-07-08 Thread Giovanni Azua
Hi all, I was trying to get the same effect as maven 2 website where there is a portlet on the right side including some adds and news information. I checked out their repository and found the following velocity template being included: $PROJECT_HOME/trunk/src/site/xdoc/index.xml.vm The

Profile property-based activation does not work ...

2007-07-08 Thread Giovanni Azua
Hi all, Recently I got a tip from this list how to enable SCM reports only on request by explicitly setting a property -Dgenerate.statsvn=true the problem is that it does not work not in Windows nor in Linux example bellow. In this example bellow the -Dgenerate.ydoc=true works ok but not the

Re: copy 'resources' to arbitrary directory

2007-07-08 Thread Tim Kettler
Hi, no need to configure the resource plugin to add additional resources. Just add a new resource specification to your pom like this: project build resources resource targetPathmydir/targetPath directorysrc/main/xsd/directory /resource /resources

Re: Site-related question ... change default index.html

2007-07-08 Thread Dennis Lundberg
You need to be using the latest SNAPSHOTs of Doxia and the site plugin for this to work. Giovanni Azua wrote: Hi all, I was trying to get the same effect as maven 2 website where there is a portlet on the right side including some adds and news information. I checked out their repository and

Re: copy 'resources' to arbitrary directory

2007-07-08 Thread Severin Ecker
hi, hmm, either i'm stupid or i spelled something wrong, cause when i tried this last time, maven told me that's an incorrect pom according to the schema. let's try with copypaste this time ;) thanks though cheers, severin Tim Kettler wrote: Hi, no need to configure the resource plugin

Site doxia renderer no valid version could be found

2007-07-08 Thread Giovanni Azua
Hi all, I am using maven 2 version 2.0.6 with jdk 1.50_12. Including the following snippet in my pom.xml copied from http://velocity.apache.org/site/tools/velocity-site-doxia-renderer/index.htm l: build ... plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-site-plugin/artifactId

Re: Site doxia renderer no valid version could be found

2007-07-08 Thread Wendy Smoak
On 7/8/07, Giovanni Azua [EMAIL PROTECTED] wrote: I am using maven 2 version 2.0.6 with jdk 1.50_12. Including the following snippet in my pom.xml copied from http://velocity.apache.org/site/tools/velocity-site-doxia-renderer/index.html: You might have better luck asking on the Velocity

Re: copy 'resources' to arbitrary directory

2007-07-08 Thread Paul Copeland
The problem I ran into with this is that targetPath is relative to the classes directory for jar and war packing types. So if you want your xml files to go anywhere else Maven is just going to be way too helpful and not let you. I gave up and used an ant task for copying. If there is a way

Re: copy 'resources' to arbitrary directory

2007-07-08 Thread Severin Ecker
hi, well the targetPath was actually all that i needed. i couldn't find that one anywhere in the resource plugin page, might be worth adding it somewhere (e.g. in the examples) cheers, severin Paul Copeland wrote: The problem I ran into with this is that targetPath is relative to the

Re: copy 'resources' to arbitrary directory

2007-07-08 Thread Wendy Smoak
On 7/8/07, Severin Ecker [EMAIL PROTECTED] wrote: I seem to just can't figure out how i can copy files from an arbitrary location to an arbitrary location. I think most people use the antrun plugin and a 'copy' task for that. By convention, resources belong in src/main/resources and get

5 minute quickstart: The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found

2007-07-08 Thread Robert Hadfield
Hi, I have tried several times now to get maven, just to try it out. I have followed the steps in the 5 minute guide (and the quickstart) - I seem to get the same problem whatever I try. Installation - done: cpc1-reig2-0-0-cust1000:~/Documents/workspace robhadfield$ mvn --version Maven

Re: 5 minute quickstart: The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found

2007-07-08 Thread Wayne Fay
Try adding a -U to the mvn archetype:create line. Wayne On 7/8/07, Robert Hadfield [EMAIL PROTECTED] wrote: Hi, I have tried several times now to get maven, just to try it out. I have followed the steps in the 5 minute guide (and the quickstart) - I seem to get the same problem whatever I

Re: 5 minute quickstart: The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found

2007-07-08 Thread Robert Hadfield
Hi, tried this but get the same result: cpc1-reig2-0-0-cust1000:~/Documents/workspace robhadfield$ mvn -U archetype:create -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.mycompany.app -DartifactId=my-app [INFO] Scanning for projects... [INFO] Searching repository for

Re: 5 minute quickstart: The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found

2007-07-08 Thread Wayne Fay
Try mvn -X -U to see more debug output. Do you perhaps have some software firewall that's blocking Java from reaching out to the Net or something -- I know you've got a Mac, but we've seen that sometimes on this list with people on Windows. Wayne On 7/8/07, Robert Hadfield [EMAIL PROTECTED]

Re: 5 minute quickstart: The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found

2007-07-08 Thread Robert Hadfield
Hi, I have no software firewall - nothing that I can think of that would stop me reaching the outside world! Could this be a problem with data at the external repository? cpc1-reig2-0-0-cust1000:~/Documents/workspace robhadfield$ mvn -X -U archetype:create

Re: 5 minute quickstart: The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found

2007-07-08 Thread Robert Hadfield
Just further to my last note, I started tcpdump before running maven and I see a whole lot of HTTP 404's which makes me think the repository is the problem, rather than my install... As I'm just starting out with maven, I don't really know how to diagnose what's going on here. GET

Re: 5 minute quickstart: The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found

2007-07-08 Thread Wayne Fay
Yes, that's certainly the problem. It seems like the ibiblio mirror you're automagically using has some troubles. I'm not quite sure how to force ibiblio to give you a different mirror. Personally, I would just set up a repository in settings.xml pointing at repo1.maven.org that is a

Re: 5 minute quickstart: The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found

2007-07-08 Thread Wayne Fay
I would assume your problem is closely related to Robert's. I guess ibiblio is having some troubles this weekend with mirrors etc. Wayne On 7/8/07, Vladimir Neykov [EMAIL PROTECTED] wrote: Hi, thank you for this discussion. I wanted to try Maven 2 too and have expirienced the same problem.

Re: 5 minute quickstart: The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found

2007-07-08 Thread Wendy Smoak
On 7/8/07, Robert Hadfield [EMAIL PROTECTED] wrote: Just further to my last note, I started tcpdump before running maven and I see a whole lot of HTTP 404's which makes me think the repository is the problem, rather than my install... ... addressApache/2 Server at vhost.ibiblio.org Port