Re: Archiva 1.0.1

2008-02-11 Thread Brett Porter
You need to modify the default whitelist on the java.net repository - as it only downloads javax/** by default. On 12/02/2008, ben short [EMAIL PROTECTED] wrote: Hi, Im trying to setup Archiva at work. I havent change any of the default configuration but when I run mvn clean on my project it

Re: Archiva 1.0.1

2008-02-11 Thread ben short
Thanks Brett that worked. On Feb 11, 2008 10:21 PM, Brett Porter [EMAIL PROTECTED] wrote: You need to modify the default whitelist on the java.net repository - as it only downloads javax/** by default. On 12/02/2008, ben short [EMAIL PROTECTED] wrote: Hi, Im trying to setup Archiva at

Archiva 1.0.1

2008-02-11 Thread ben short
Hi, Im trying to setup Archiva at work. I havent change any of the default configuration but when I run mvn clean on my project it fails to find the following plugin. groupIdorg.jvnet.jaxb1.maven2/groupId artifactIdmaven-jaxb1-plugin/artifactId version1.0-rc11/version And its available at the

RE: repository purge isn't working in 1.0.1

2008-02-11 Thread Jason Chaffee
103617966 [pool-1-thread-1] INFO org.codehaus.plexus.taskqueue.execution.TaskExecutor:database-update - Executing task from queue with job name: database-job 103617966 [pool-1-thread-1] INFO org.codehaus.plexus.taskqueue.execution.TaskExecutor:database-update - Task: Updating unprocessed

Re: Possible to remotely trigger a repository scan?

2008-02-11 Thread Brett Porter
not at present (other than sending a valid cookie and hitting the scan admin link) - but there's a possible workaround. I believe that if you hit the URL of the artifact over WebDAV it will scan just that artifact which should be what you need. I'd need to confirm - it may only be in the proxy

RE: How to make Continuum continue with the build even if there are some errors or failures?

2008-02-11 Thread Tawfik, Sameh E
The -Dmaven.tests.ignore.failure=true might be working per module, meaning it could be running all the tests that relate to one module even if it encounters some error or failure on some tests, but the problem is the exit code that Continuum detects from this run. So, if there is a method to

Re: maven-doxia-plugin versus doxia-maven-plugin

2008-02-11 Thread Allyson Lister
Hi all, Just one more question directly relating to this. I have put the doxia plugin code into my real project now, which has sub-modules. However, there are only books in the parent/top-level directory, and not in any of the sub-modules. Yet, when I run mvn doxia:render-books, it tries to find

Re: Copy artifact failes, due to source and target size not equal

2008-02-11 Thread simon
On Mon, 2008-02-11 at 21:10 +0100, Francois Fernandes wrote: Hi list, we have a strange problem here which occurs form time to time. Just one suggestion: you don't have multiple maven builds running concurrently with the same user do you? As far as I know, a maven local repository can only

Re: Ant plugin fails after ugrading from maven 2.0.7 to 2.0.8

2008-02-11 Thread Wayne Fay
You can also try using subst in DOS to substitute a drive letter for a path. This would allow you to map C:\Documents and Settings\YourName\.m2\ to X: or another drive letter. Wayne On 2/11/08, Lee Meador [EMAIL PROTECTED] wrote: Looks to me like the same error you pointed to in JIRA.

Build number plugin drama

2008-02-11 Thread Clifton
Hi all My buddy and I are stumbling with the buildNumber plugin and getting nowhere fast. We found the original version here: http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html Then later stumbled across the superceding version here:

Re: Ant plugin fails after ugrading from maven 2.0.7 to 2.0.8

2008-02-11 Thread Lee Meador
Looks to me like the same error you pointed to in JIRA. You can move your repository from the standard location under Documents and Settings\.m2 to somewhere else without a space in any folder name along the path to it. Here is what I put in my setting.xml (which I have not tried to move so its

Re: Cannot execute mojo

2008-02-11 Thread Emmanuel Venisse
Your scm url is probably wrong so Continuum checkout the wrong directory Emmanuel On Feb 11, 2008 6:08 PM, Tony.Cesc [EMAIL PROTECTED] wrote: [INFO] Scanning for projects... [INFO] [INFO] Building Maven Default

Copy artifact failes, due to source and target size not equal

2008-02-11 Thread Francois Fernandes
Hi list, we have a strange problem here which occurs form time to time. Our system: jdk 1.5.0_10 debian 4.0 maven 2.0.7 all builds are run inside a hudson (https://hudson.dev.java.net) instance (version: 1.160). When copying the artifacts of our project out of the target folder into the local

Re: Ant plugin fails after ugrading from maven 2.0.7 to 2.0.8

2008-02-11 Thread Niall Pemberton
No-one any ideas on this? Niall On Feb 4, 2008 7:17 PM, Niall Pemberton [EMAIL PROTECTED] wrote: Perhaps related, but still don't know how I resolve this or why it occurs after upgrading: http://jira.codehaus.org/browse/MANTRUN-68 Niall On Feb 4, 2008 6:51 PM, Niall Pemberton [EMAIL

Re: Specifying a plugin's dependency version

2008-02-11 Thread Niall Pemberton
No-one any ideas on this? Niall On Feb 4, 2008 6:34 AM, Niall Pemberton [EMAIL PROTECTED] wrote: I'm using the vsersion 1.2.0 of the maven-bundle-plugin from the felix project - it has a dependency on version 0.0.227 of bndlib (groupId biz.aQute) and I wanted to try the plugin out with

Re: maven-doxia-plugin versus doxia-maven-plugin

2008-02-11 Thread Allyson Lister
Hi all, Thanks to Lukas - I've made a books/ sub-project, and that has resolved the problem with iterating through all subprojects with the doxia:render-books command. However, I still am not getting the books/target/generated-site/[latex|pdf|rtf] directories being copied across to the final

RE: Weird behaviour with dependency range

2008-02-11 Thread Brian E. Fox
Looks like the same npe as MNG-3372 and MNG-3351 -Original Message- From: Simon Kitching [mailto:[EMAIL PROTECTED] Sent: Monday, February 11, 2008 7:51 AM To: users@maven.apache.org Subject: Weird behaviour with dependency range Hi, I've run across something very odd with dependency

Re: Enforcer Plugin 1.0 release and requirePluginVersions rule

2008-02-11 Thread Wendy Smoak
On Feb 11, 2008 8:00 AM, nicolas de loof [EMAIL PROTECTED] wrote: Even better if we had a site per public version, ie : http://maven.apache.org/plugins/maven-eclipse-plugin/2.3 http://maven.apache.org/plugins/maven-eclipse-plugin/2.4

Cannot execute mojo

2008-02-11 Thread Tony.Cesc
[INFO] Scanning for projects... [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [clean, install] [INFO] I don't understand why

Weird behaviour with dependency range

2008-02-11 Thread Simon Kitching
Hi, I've run across something very odd with dependency ranges. Maven version: 2.0.8 java: 1.6 If I put this in my pom dependency groupIdcommons-logging/groupId artifactIdcommons-logging/artifactId version[1.0.9]/version /dependency then run dependency:tree I get an

Re: Enforcer Plugin 1.0 release and requirePluginVersions rule

2008-02-11 Thread nicolas de loof
Even better if we had a site per public version, ie : http://maven.apache.org/plugins/maven-eclipse-plugin/2.3 http://maven.apache.org/plugins/maven-eclipse-plugin/2.4 http://maven.apache.org/plugins/maven-eclipse-plugin/2.5-SNAPSHOT ... and maybe have the

Re: Enforcer Plugin 1.0 release and requirePluginVersions rule

2008-02-11 Thread Ian Springer
+1 for not posting SNAPSHOT plugin docs on the website. The docs should correspond to the latest released version. If people need SNAPSHOT docs, they can checkout the source and generate the docs themselves. Or, as you suggest, Apache could setup a parallel SNAPSHOT website. Ben Lidgey

Enforcer Plugin 1.0 release and requirePluginVersions rule

2008-02-11 Thread Ben Lidgey
When is the next version of the Maven Enforcer Plugin due to be released (I guess the next version is 1.0-SNAPSHOT)? I would like to use the requirePluginVersions rule, but that doesn't seem to be in the 1.0-alpha-3 version. On a related wider-note: Is there a way to have the Maven plugin

Re: problem in building some sample java srcs

2008-02-11 Thread san84
i got the solution but i hav to download each jars one my one which wil consumes time -- View this message in context: http://www.nabble.com/problem-in-building-some-sample-java-srcs-tp15353432s177p15426676.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: PDE Plugin

2008-02-11 Thread amit kumar
While following the tutorial at pde-maven-plugin page. When I tried to run mvn install I am getting the following errors: [ERROR] BUILD ERROR [INFO] [INFO] Compilation failure

Site stagingSiteURL (2.0-beta-6)

2008-02-11 Thread Andrew Hughes
Howdy, I can't see any documentation indicating where/if I can put a stagingSiteURL inside the pom.xml (distrobutionManagement). http://maven.apache.org/plugins/maven-site-plugin/stage-deploy-mojo.html#stagingSiteURL Could anyone provide me with an usage example from a pom.xml Cheers, AH

Re: Profiles and resources

2008-02-11 Thread Clifton
I'll respond by saying there is no garaunteed order of operations with resource copying (as well as other actions that take place within the same build phase). Your pom states that both resources from development and production should be considered when the env property is set to development.

Re: PDE Plugin

2008-02-11 Thread amit kumar
Hi, Could anyone please help on a good document(blog/tutorial/article) on PDE plug in, I followed http://mojo.codehaus.org/pde-maven-plugin/ but could not able to mavenize an already existing plug in project. Regards, Amit On 1/4/08, amit kumar [EMAIL PROTECTED] wrote: But I doubt for any jar

Profiles and resources

2008-02-11 Thread mljv
sorry, i clicked send to early... so here is my full post: Hi, i am struggeling with profiles and resources. I have src/main/resources/application.properties src/main/dev-resources/application.properties my profiles in pom.xml profiles profile

Profiles and resources

2008-02-11 Thread mljv
Hi, i am struggeling with profiles and resources. I have src/main/resources/application.properties src/main/dev-resources/application.properties my profiles in pom.xml profiles profile idproduction/id activation

Re: Specifying a plugin's dependency version

2008-02-11 Thread Stuart McCulloch
On 12/02/2008, Niall Pemberton [EMAIL PROTECTED] wrote: No-one any ideas on this? Hi Niall, If you're unable to get this working you can always try the 1.2.1-SNAPSHOT that uses the new bndlib, available from the Apache snapshot repository or over at http://repository.ops4j.org/mvn-snapshots

RE: Weird behaviour with dependency range

2008-02-11 Thread Simon Kitching
Yes, the NPE occurs when no version is found, rather like the other bugreports. But the scary part about this is something different. It is that it appears that the version specification is silently ignored. In the example below, there is no version to fall back to so the NPE occurs. But if

Re: Javadoc:jar error: Not executing Javadoc as the project is not a Java classpath-capable package

2008-02-11 Thread Ryan H.
Has anyone successfully used mvn javadoc:jar -Daggregate=true for multiple projects? Here is the directory structure for my multiple projects: Project |-- pom.xml |-- Module1 | `-- pom.xml |-- Module2 | `-- pom.xml `-- Module3 `-- pom.xml Now, when I run mvn javadoc:jar -Daggregate=true

Re: Enforcer Plugin 1.0 release and requirePluginVersions rule

2008-02-11 Thread Wendy Smoak
On Feb 11, 2008 7:45 AM, Ian Springer [EMAIL PROTECTED] wrote: +1 for not posting SNAPSHOT plugin docs on the website. The docs should correspond to the latest released version. That's the model we now follow, though there may still be some leftover snapshot sites if the plugin hasn't been

Re: repository purge isn't working in 1.0.1

2008-02-11 Thread Brett Porter
Well so far I've seen two reports related to this, but also a number of people using it quite successfully. It seems that there is some state in those environments that triggers it and all the tasks suffer from it. Please file it in JIRA - I'm sure something can be done to identify the cause and

Re: problem downloading dependencies of pom-type

2008-02-11 Thread Brett Porter
we have that - it is just becoming obvious that we need to make it simpler to turn on and off :) On 12/02/2008, aldana [EMAIL PROTECTED] wrote: one thing which could have helped had been a maven command-line log (though this is hardly feasible for dependency resolving is transparently done by

Re: problem downloading dependencies of pom-type

2008-02-11 Thread aldana
one thing which could have helped had been a maven command-line log (though this is hardly feasible for dependency resolving is transparently done by repository maven settings). maybe the more practical hint could have been given through a logging statement in archiva. something like: (check

Re: problem downloading dependencies of pom-type

2008-02-11 Thread aldana
hi, sorry, i forgot to close this topic. it was a configuration error: i worked with snapshot-pom and forgot to set the download policies for snapshots from 'Never' to 'Always'. Brett Porter wrote: I successfully download POM files all the time - you might need to check that it works from

Re: Maven xmlbeans plugin - XML-BEANS compiled schema: Incompatible minor version - expecting up to 23, got 24

2008-02-11 Thread Basel Naamna
Specifying older version of xmlbeans plugin in the pom.xml file fixes the problem. Basel Naamna wrote: I'm using maven xmlbeans plugin to compile a schema, but when I run the project, I get: Caused by: org.apache.xmlbeans.SchemaTypeLoaderException: XML-BEANS compiled schema: Incompatible

Re: Query repository using SOAP

2008-02-11 Thread Brett Porter
We're certainly looking to implement simple web services in the near future in Archiva. If you are interested in helping out, join the discussion about the roadmap currently occurring on [EMAIL PROTECTED] :) Cheers, Brett On 11/02/2008, coding1 [EMAIL PROTECTED] wrote: Is there a way to query

Re: maven-doxia-plugin versus doxia-maven-plugin

2008-02-11 Thread Lukas Theussl
I guess the best practice would be to put the book stuff into a separate sub-project. If you have modules defined, the configuration will apply to all of them. HTH, -Lukas Allyson Lister wrote: Hi all, Just one more question directly relating to this. I have put the doxia plugin code into

Re: repository purge isn't working in 1.0.1

2008-02-11 Thread Brett Porter
I think it would be essential to capture the stacktrace even if it isn't relevant so we can clear that up. Also, if you could post the failed task that you think needs more info and some context we can look at ways to troubleshoot and improve the logging in the future. - Brett On 11/02/2008,

Re: stability problems

2008-02-11 Thread Brett Porter
it does seem worth filing in JIRA - we can look at the NPE and perhaps it is a concurrency problem. I'm not sure about the latter error you see, why would anything be trying to delete the contents of the Archiva installation? - Brett On 11/02/2008, aldana [EMAIL PROTECTED] wrote: hi, we are

Embedded error: Error performing commands for file transfer

2008-02-11 Thread Gunnar Boström
Hi, I get the following error sometimes but not always when I deploy to my site Any ideas? Regards Gunnar Uploading: ./wagon42748.zip to scp://host/ci-data/sites/serf # Transfer finished. 66731 bytes copied in 0.097 seconds Executing command: cd /ci-data/sites/serf/.; unzip -q

brandnew 1.0.1 [Virus checked]

2008-02-11 Thread Wolfgang . Schrecker
Hi List, testing the brand new version 1.0.1 and creating new users, I could NOT log in with those new users, only admin DID work. Did I miss something or is it common behavior ? mit freundlichen Grüßen/best regards Wolfgang Schrecker MODEL-DRIVEN DESIGN demands that the model stay in

Re: maven-doxia-plugin versus doxia-maven-plugin

2008-02-11 Thread Allyson Lister
Sorry, I was lying about just one more question :) When generating the website via mvn site:site, I am not getting the various doxia books in pdf/latex/rtf moved from the doxia site generation location (target/generated-site) to the mvn site resources directory (target/site/resources), though I

Re: Problem with maven tomcat:deploy

2008-02-11 Thread Jan Torben Heuer
VanIngen, Erik (ESTG) wrote: Cannot invoke Tomcat manager Embedded error: Server redirected too many times (20) I guess, the tomcat is misconfigured. Try the url you supplied in a browser an see what happens. Double-check which url you have to provide to the plugin! Jan

Re: release from a specific tag

2008-02-11 Thread VUB Stefan Seidel
Benoit Decherf wrote: Paul Gier wrote: Sorry, I was thinking you were using svn. Maybe you should convert ;) Yes, when I said the code is the same, I meant your project code minus the changes to the pom. So maybe you would need to do something like 1. checkout the tag 2. make a branch 3.

Re: Javadoc plugin issues again

2008-02-11 Thread Damien Lecan
Yeah that works (and I've tried that), but why doesn't mvn javadoc:javadoc work? Am I reading the javadoc plugin documentation incorrectly. That should work if I JUST want to generate javadoc. Reporting section of pom file is only used with site generation. If you want to configure javadoc

Re: release from a specific tag

2008-02-11 Thread Benoit Decherf
Paul Gier wrote: Sorry, I was thinking you were using svn. Maybe you should convert ;) Yes, when I said the code is the same, I meant your project code minus the changes to the pom. So maybe you would need to do something like 1. checkout the tag 2. make a branch 3. check the code from the

Re: Problem with maven tomcat:deploy

2008-02-11 Thread Clifton
I've never used tomcat:deploy. I always use cargo for JEE web containers. Are there any benefits of one over the other? Could you try deploying with cargo to see if you get the same problem? VanIngen, Erik (ESTG) wrote: Hi all, I am using maven tomcat:deploy to deploy. This error is

update POM file

2008-02-11 Thread Gorka Mauleon
Hi Im working in in a maven project, and i'd like to use Continuum on it. i've tried it and looks great. I've only one problem with it. In our project we do several changes on the pom file so i have to upload the file whenever we do a change. Do you know some way not to upload the POM file

Possible to remotely trigger a repository scan?

2008-02-11 Thread Brown, Carlton
Hi, Is there any way to remotely trigger a repository scan? I'd like to create an Ant task to do this immediately following a build so that the published artifacts will immediately become available. Thanks -

Re: How to make Continuum continue with the build even if there are some errors or failures?

2008-02-11 Thread Emmanuel Venisse
No, it isn't possible without to modify the Continuum sources. Emmanuel On Feb 11, 2008 11:58 PM, Tawfik, Sameh E [EMAIL PROTECTED] wrote: The -Dmaven.tests.ignore.failure=true might be working per module, meaning it could be running all the tests that relate to one module even if it

Re: problem downloading dependencies of pom-type

2008-02-11 Thread Brett Porter
thanks - is there some way Archiva could have helped troubleshoot this better? On 12/02/2008, aldana [EMAIL PROTECTED] wrote: hi, sorry, i forgot to close this topic. it was a configuration error: i worked with snapshot-pom and forgot to set the download policies for snapshots from 'Never'

Re: problem downloading dependencies of pom-type

2008-02-11 Thread Brett Porter
I successfully download POM files all the time - you might need to check that it works from the web iinterface in case this is a problem on the Maven side. If it doesn't, you can review the Archiva logs to give further information. Cheers, Brett On 05/02/2008, aldana [EMAIL PROTECTED] wrote:

Re: performance issue of built-in container

2008-02-11 Thread Brett Porter
The only difference should be the comparison of Jetty5 to some other container in general - but I haven't done any testing of the different containers to verify. It might be best to load test the two in your own environment anyway. If you discover anything that might be relevant to others, please

Antwort: RE: Archiva 1.0.1 [Virus checked]

2008-02-11 Thread Wolfgang . Schrecker
Thanks and sorry to bother you all. mit freundlichen Grüßen/best regards Wolfgang Schrecker MODEL-DRIVEN DESIGN demands that the model stay in lockstep with the implementation, but it allows freedom to choose any implementation that faithfully captures the meaning of the model from Eric Evans:

RE: Archiva 1.0.1 [Virus checked]

2008-02-11 Thread nicklist
It is not very easy to find, but under Get involved on maven.apache.org/archiva there is a page for the mailinglists. [1] Hth, Nick Stolwijk [1] http://maven.apache.org/archiva/mail-lists.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Mon 2/11/2008

Archiva 1.0.1 [Virus checked]

2008-02-11 Thread Wolfgang . Schrecker
Hi All, I am not sure this is the right place, but I did not find an archiva specific list. Testing the brand new version 1.0.1 and creating new users, I could NOT log in with those new users, only admin DID work. Did I miss something or is it common behavior ? mit freundlichen Grüßen/best

RE: repository purge isn't working in 1.0.1

2008-02-11 Thread Jason Chaffee
Pretty much every task is causing a NPE. I am confused how this could make it out the door with so many things causing NPE. I can't seem to get anything to work out of the box. This is quite frustrating and it appears more often than not to be the mantra of maven products. 242033366

RE: How to make Continuum continue with the build even if there are some errors or failures?

2008-02-11 Thread Tawfik, Sameh E
Ok, thanks. Sameh -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Monday, February 11, 2008 3:23 PM To: [EMAIL PROTECTED] Subject: Re: How to make Continuum continue with the build even if there are some errors or failures? No, it isn't possible without to

stability problems

2008-02-11 Thread aldana
hi, we are using cruise control which is doing nigthly checks (around 20 projects). with this the builds are crashing and archiva stops to respond at given port (connection refused). i need to restart the server and then it works again. i guess that continuum is having problems with parallel

Re: brandnew 1.0.1 [Virus checked]

2008-02-11 Thread Brett Porter
are these users created by the admin user? I believe this is http://jira.codehaus.org/browse/REDBACK-117 - which will be included in Archiva 1.0.2. It was also present as a problem in Archiva 1.0. A workaround is to have the users register themselves, or as the admin click the resend validation

Re: repository purge isn't working in 1.0.1

2008-02-11 Thread Brett Porter
That's fair enough - hope we can get it sorted out for you :) I just noted the other exceptions you were posting about test-sources artifacts is a different issue (I think it has already been reported but would need to check). For the NPE - it appears to be a consumer is null - you might check

RE: repository purge isn't working in 1.0.1

2008-02-11 Thread Jason Chaffee
I have attached a snippet of the log. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Monday, February 11, 2008 4:55 AM To: [EMAIL PROTECTED] Subject: Re: repository purge isn't working in 1.0.1 I think it would be essential to capture the stacktrace even if it