Re: Newbie: Maven need connection?

2007-10-31 Thread Greg Morgan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 PeterAU2 wrote: > I'm building the 'Very simple Session EJB' example from > http://cwiki.apache.org/GMOxDOC20/very-simple-session-ejb-example.html > The POM is below. See my in-line responses below. HTH, Greg > I'm running a training course at a cli

Re: SVN Error Using ChangeLog Plugin with moved folders

2007-10-31 Thread Wayne Fay
Sounds like a bug in hmmm perhaps the SCM plugin? Please file it in JIRA if it has not already been posted. Wayne On 10/31/07, Cam <[EMAIL PROTECTED]> wrote: > Hi, > > I've run into a subversion problem while using the changelog plugin. The > problem occurs when a folder is moved and then a new o

Re: Newbie: Maven need connection?

2007-10-31 Thread PeterAU2
I'm building the 'Very simple Session EJB' example from http://cwiki.apache.org/GMOxDOC20/very-simple-session-ejb-example.html The POM is below. I'm running a training course at a client's premises. The training room machines don't have an Internet connection.The only way I can get things onto the

Re: Newbie: Maven need connection?

2007-10-31 Thread mailming
Only A number of maven plugin requires internet connections when proper artifacts and maven plugin already avaible in local repository. For Example: buildnumber plugin requires connections, when disable it, it can run without any option required. Wendy Smoak-3 wrote: > > On 10/31/07, PeterAU2

Re: Newbie: Maven need connection?

2007-10-31 Thread Wendy Smoak
On 10/31/07, PeterAU2 <[EMAIL PROTECTED]> wrote: > > Simple question that I haven't been able to find an answer in the online doc. > Does Maven require an Internet connection in order to run? > (The system I'll be trialling it on doesn't have an Internet connection) You can use the -o (or --offlin

Re: Newbie: Maven POM to Ant build

2007-10-31 Thread Wendy Smoak
On 10/31/07, PeterAU2 <[EMAIL PROTECTED]> wrote: > Is there any easy way to convert a Maven pom file to an Ant build.xml file? > I have a system with a pom, but I only have Ant on that machine. > (Please don't hate me - I know this is the Maven forum - system restrictions > on my target machine).

Newbie: Maven POM to Ant build

2007-10-31 Thread PeterAU2
Hi Is there any easy way to convert a Maven pom file to an Ant build.xml file? I have a system with a pom, but I only have Ant on that machine. (Please don't hate me - I know this is the Maven forum - system restrictions on my target machine). Thanks Peter -- View this message in context: http

Newbie: Maven need connection?

2007-10-31 Thread PeterAU2
Simple question that I haven't been able to find an answer in the online doc. Does Maven require an Internet connection in order to run? (The system I'll be trialling it on doesn't have an Internet connection) Thanks Peter -- View this message in context: http://www.nabble.com/Newbie%3A-Maven-ne

Re: [m2] help getting jboss to start...

2007-10-31 Thread Mick Knutson
Ok, I added a remote tag and I started trying to deploy, but it keeps trying to deploy my ejb jar, instead of my ear. com.baselogic.yoursos ear ear

Re: [m2] help getting jboss to start...

2007-10-31 Thread Mick Knutson
OK, here is my plugin now: org.codehaus.cargo cargo-maven2-plugin 0.3-SNAPSHOT jboss4x C:/jb

Re: Best combination

2007-10-31 Thread Kalle Korhonen
If you are not adamant on hosting your project on SF, Codehaus offers all the tools you mentioned plus Bamboo, Fisheye and others all set up and ready to go. Here's our Trails project site (http://trailsframework.org/) hosted on Codehaus as an example. Kalle On 10/31/07, raghu121 <[EMAIL PROTECT

Re: Site Plugin Rewriting Explicit Urls

2007-10-31 Thread Cam
Have done...it's at http://jira.codehaus.org/browse/MSITE-269 Just wanted to see if anyone had encountered the same or had a work around? What i've settled on is that i've removed the project url from the pom which fixes the links however it causes link problems in inherited menus in child mod

Configuring SCM

2007-10-31 Thread Yan Huang
It seems to me that I'm forced to define tag for each of projects even though I declare them as "modules" in the top level of pom file. For example, let's say I have project1, project2 and project3 under a tree, where a tag is defined along with the declaration of modules: ... scm|perforce|pe

Re: Run "site" causing the invoke of "generate-sources"?

2007-10-31 Thread Yan Huang
I tried, but generate-sources phase is still invoked ... Another observation regarding "site": when I run it at the top level (above all of aggregated modules), it says "no goals needed for project - skipping". However, when I go to a specific project and run it, the reports are generated. Any id

Re: Best combination

2007-10-31 Thread mailming
That combination should be OK. You also need continous integration tool such as Cruisecontrol(I am using), Continuum, or Bamboo(recommended by Jason van Zyl) raghu121 wrote: > > Hi, > > I want to start using maven, jira, confluence and other OSS products in my > OSS project which I intend to

Re: Run "site" causing the invoke of "generate-sources"?

2007-10-31 Thread Wayne Fay
You can try mvn site:site, but it might not do what you're expecting. Wayne On 10/31/07, Yan Huang <[EMAIL PROTECTED]> wrote: > Does anyone know how to prevent "site" from invoking extra phases, such as > generate-sources? is there a way to configure site to just generate reports > from the proje

compilerArguments

2007-10-31 Thread Brandon Enochs
Does anybody know how to pass more than 1 argument to javac via the compilerArgument element? It seems to only support the first argument even though the examples indicates otherwise. I can't use the compilerArguments element because I need to pass arguments contains characters that reserved

Re: Run "site" causing the invoke of "generate-sources"?

2007-10-31 Thread Yan Huang
Does anyone know how to prevent "site" from invoking extra phases, such as generate-sources? is there a way to configure site to just generate reports from the project directory? On 10/30/07, Yan Huang <[EMAIL PROTECTED]> wrote: > > Hello, > > I've observed that "mvn site" forces the invoke of "ge

Re: Need a help for maven-changelog-plugin

2007-10-31 Thread Yan Huang
I finally figured out a way to work against Perforce. Basically, you have to set this property for client spec in tag of "maven-changelog-plugin" or define it (with "-D") in the maven command line: maven.scm.perforce.clientspec.name along with "username" and "password" (or in "-D" option

Re: Site Plugin Rewriting Explicit Urls

2007-10-31 Thread Wayne Fay
This reads like a bug report. This is not the correct place to file bugs. Please go file this in JIRA. Wayne On 10/31/07, Cam <[EMAIL PROTECTED]> wrote: > Hi, > > i've encountered a bit of an issue in the site generation plugin, in the > site.xml file i have 2 links specified: > > > > > And in

Re: 1.1-beta-4 Out of Memory

2007-10-31 Thread L. J.
Ok, here is what I have in the plexus.sh PLEXUS_OPTS="$PLEXUS_OPTS -Xmx512m" Thanks. LJ On 10/31/07, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > > You use plexus.sh to start Continuum? In this case, the max memory to use > is configured in it. > > Emmanuel > > L. J. a écrit : > > I have 22 pr

Site Plugin Rewriting Explicit Urls

2007-10-31 Thread Cam
Hi, i've encountered a bit of an issue in the site generation plugin, in the site.xml file i have 2 links specified: And in the pom i have these properties: http://208.75.85.243/ http://208.75.85.243/test/${test.version}/site Just by property substitution the resulting urls should be: ht

Best combination

2007-10-31 Thread raghu121
Hi, I want to start using maven, jira, confluence and other OSS products in my OSS project which I intend to revive soon. Had not been able to do much with my projet due to too much office work. My OSS project is under LGL on sourceforge. I want to make the most effective use of all these- MAVE

Re: Need a help for maven-changelog-plugin

2007-10-31 Thread Dennis Lundberg
There were people having problems with Perforce and the changelog-plugin before. That's why we added all the debugging stuff to the faq. The problems were related to this thing called "client spec", which I haven't got a clue to what it is, because I haven't used Perforce myself. The problem i

Re: Install/Deploy an artifact with classifier

2007-10-31 Thread mailming
I revised the configuration, and turns out working perfect. I can just do mvn deploy without "-d" any config string. my email is [EMAIL PROTECTED] if any questions. maven-deploy-plugin

Eclipse RCP project under maven

2007-10-31 Thread Julien CARSIQUE
Hi, I couldn't find an eclipse plugin project using maven (rcp development) for its continuous integration. Do you know such project ? Is there a maven plugin that can be used to generate the eclipse update site for such a project ? Is it a good idea to manage eclipse features and plugins as mav

Re: How setup Changelog Plugin (developer activity) ?

2007-10-31 Thread Mac-Systems
Big Thanks, this solved my Problems! - Jens OK, I see. This has been asked before, I must add this to the faq. You need to add elements in your pom. Their id:s need to match the userid:s that are used in your scm system. Only commits made by a developer found in the pom will be added to t

Eclipse RCP project under maven

2007-10-31 Thread Julien CARSIQUE
Hi, I couldn't find an eclipse plugin project using maven (rcp development) for its continuous integration. Do you know such project ? Is there a maven plugin that can be used to generate the eclipse update site for such a project ? Is it a good idea to manage eclipse features and plugins as

RE: 1.1-beta-3 Commiter build failure notifier Continuum-605

2007-10-31 Thread Madsen,Bryan
Where do I find that configuration? This is my current config and it is working for notifiers. This is my config in .\installdir\conf\plexus.xml org.codehaus.plexus.naming.Naming org.codehaus.plexus.naming.DefaultNaming dataSources

Re: 1.1-beta-4 Out of Memory

2007-10-31 Thread L. J.
I have 22 projects. I run Continuum in AIX so not sure if wrapper.conf is used because I don't see one under bin directory. I don't have a lot build results because this is a fresh 1.1-beta-4installation. Thanks. LJ On 10/31/07, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > > How many projects

Re: locale settings

2007-10-31 Thread Emmanuel Venisse
The localization with french is new in this version and the locale to use is determined by the local sent by the browser to the server. If you don't want french, change your browser settings or remove "_fr.properties" file in the webapp. Emmanuel Erik Ruisma a écrit : Hello, I just installe

Re: 1.1-beta-3 Commiter build failure notifier Continuum-605

2007-10-31 Thread Emmanuel Venisse
Do you have configured you mail notifier to send to committers too? Emmanuel Madsen,Bryan a écrit : I had the committer update the pom to match the SCM sign-on and they still did not receive an email. -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Wednesday

RE: 1.1-beta-3 Commiter build failure notifier Continuum-605

2007-10-31 Thread Madsen,Bryan
I had the committer update the pom to match the SCM sign-on and they still did not receive an email. -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 31, 2007 10:59 AM To: [EMAIL PROTECTED] Subject: Re: 1.1-beta-3 Commiter build failure notifie

locale settings

2007-10-31 Thread Erik Ruisma
Hello, I just installed the beta-4 of continuum. We run it standalone as a windows service (on windows server 2003). In previous releases (1.0.3 but also beta 3 and 2) continuum web pages were always displayed in English. Now (as of beta 4) they are in french. We still have the old version running

Deploying 3rd party jar to our repository

2007-10-31 Thread Simon Taylor
This is the first time ive done this so im probably missing something simple. Relevant Apache looks like this:- Alias /maven_repo/ /opt/app/maven_repo/ DAV on Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all AuthType Basic

Re: Build stall in Maven 2.0.7 ?

2007-10-31 Thread David C. Hicks
Wayne Fay wrote: Can you run with mvn -X so you know exactly when this happens and what is supposedly going on? That would give us something to talk about. Without that, its just idle conversation. I will make it a point to do this. I know I can pretty reliably reproduce the issue, so it s

Re: Need a help for maven-changelog-plugin

2007-10-31 Thread Yan Huang
I tried the option of invoking mvn with "-X scm:changelog" against Perforce. Although I set up those Perforce environment variables (P4CLIENT etc.), the scm:changelog is executing a command with a strange & non-existing client spec with combination of my ID, machine name and folder as such: [DEBUG

scm tag usage in the pom.xml file

2007-10-31 Thread Ionut Scutaru
Hi guys, What's the recommended usage of the tag in a project with multiple modules ? Should it be specified in each pom.xml file, in the root and in each module ? Or is it enough to mention it once, in the root pom.xml file ? I searched on Google almost an hour but couldn't find anything helpf

SVN Error Using ChangeLog Plugin with moved folders

2007-10-31 Thread Cam
Hi, I've run into a subversion problem while using the changelog plugin. The problem occurs when a folder is moved and then a new one added with the same name in it's place - it's described in this post: http://svnx.lachoseinteractive.net/ticket/22 Has anyone seen this before or know how i c

Re: Is there a way to restrict the version of maven used?

2007-10-31 Thread Ian Springer
Yes, you can use the enforcer plugin. See http://maven.apache.org/plugins/maven-enforcer-plugin/usage.html. Jim Sellers wrote: Hi all. I know that there is a way to express a version range for a plugin, but is there a way to do that with a pom? So that if someone checks out the source and it'

Is there a way to restrict the version of maven used?

2007-10-31 Thread Jim Sellers
Hi all. I know that there is a way to express a version range for a plugin, but is there a way to do that with a pom? So that if someone checks out the source and it's known to work with maven 2.0.7 and they are using 2.0.4, can it stop right away and say that they need to upgrade? Thanks for yo

Re: Build stall in Maven 2.0.7 ?

2007-10-31 Thread Wayne Fay
I've seen this reported once or twice, but it always seems to occur in a specific plugin that I can't recall right now. Search the archives and see if you can find those old threads. Can you run with mvn -X so you know exactly when this happens and what is supposedly going on? That would give us s

Build stall in Maven 2.0.7 ?

2007-10-31 Thread David C. Hicks
I've noticed that sometimes my builds seem to "stall." It appears that they're just really busy and not making progress, but when I examine my system monitor I find that CPU usage has fallen off to nothing. Seems like something is stalling, but I can't put my finger on it. Any thoughts? I'm

RE: Finding out what test has failed and why

2007-10-31 Thread rmatthews
Jörg Schaible wrote: > > rmatthews wrote: >> When I build with Maven it is running the unit test as >> expected, however if a >> test fails then I have no immediate indication why. If I set >> printSummary to false I get no indication whatsoever; when it is >> true I >> get many line >> tell

BUG assembly/moduleSet/fileSet/directory ${artifactId} ${versionId}

2007-10-31 Thread Yann Davin
Hi, It seems that the ${artifactId} ${version} etc...placed in the tag of fileset of a module set of a assembly makes a reference to the main .pom and not to the current module .pom. e.g my main .pom which defines the maven-assembly-plugin has a version = 1.0 the fractal-libraries module has a

Re: Multiple scheduled builds on the same project...

2007-10-31 Thread Eric D Nielsen
> With the latest 1.1 beta (1.1-beta-4), you don't need to run a clean > build with a checkout. All build definitions are independant and > found all changes from other builds since last execution even if > the update return nothing. Thanks. I'll update ASAP and see how it goes. > We'll try to f

RE: Finding out what test has failed and why

2007-10-31 Thread Jörg Schaible
rmatthews wrote: > When I build with Maven it is running the unit test as > expected, however if a > test fails then I have no immediate indication why. If I set > printSummary to false I get no indication whatsoever; when it is > true I > get many line > telling me things are OK. The upshot of

Re: Finding out what test has failed and why

2007-10-31 Thread Wayne Fay
Two comments: 1. The larger files are always the ones with failures eg 3kb no failures, 12kb has failures. So you can sort by size and find them pretty quickly. 2. You can set false in m-surefire-p configuration and it will print its output to the command line rather than the files. Wayne On 10/3

Re: jars always added to ear

2007-10-31 Thread Wayne Fay
If you add a node with scope "provided" for each of these in the EAR, they should not be included in the EAR. Are you sure you don't need these jars? Check the dependency report to be sure. Wayne On 10/31/07, Sonar, Nishant <[EMAIL PROTECTED]> wrote: > Hi > > I am building an ear from ear-plugi

automate an ant build scripts work in Continuum

2007-10-31 Thread Serkan Costu
Hello, I need your advice about ant with continuum. I have an Ant script; that does some tasks in particular order; 1- Checks-out about 60 projects from the CVS to a local folder in my computer, accordingly to some tag version. 2- Compiles all of the projects and generate .clas

Re: Tagging Code in Subversion

2007-10-31 Thread Mark_E
Hi Michael, Thanks for the response. I should have indicated I used those exact commands and that is where I had the problem. The release:prepare seems to work, no errors, but it does not tag anything in subversion so that is probably the issue at this point. The release:perform then tries to p

Re: Building Eclipse RCP/PDE Projects

2007-10-31 Thread Graham Leggett
On Wed, October 31, 2007 2:38 pm, Michal Paluchowski wrote: > That was EXTREMELY helpful, thank you :) With that part done, there's > just one more issue I might need help on and that's dependencies > between plugins. Adding them to the MANIFEST.MF makes Eclipse compile > projects but obviously Ma

Finding out what test has failed and why

2007-10-31 Thread rmatthews
When I build with Maven it is running the unit test as expected, however if a test fails then I have no immediate indication why. If I set printSummary to false I get no indication whatsoever; when it is true I get many line telling me things are OK. The upshot of it is that I am left to browse

Re: Building Eclipse RCP/PDE Projects

2007-10-31 Thread Michal Paluchowski
On 10/31/07, Graham Leggett <[EMAIL PROTECTED]> wrote: > By way of background, things will make a lot more sense when you know > exactly what the eclipse plugin does, and the pde plugin does, and the gap > in between the two that complicates everything. That was EXTREMELY helpful, thank you :) Wit

Re: How setup Changelog Plugin (developer activity) ?

2007-10-31 Thread Dennis Lundberg
OK, I see. This has been asked before, I must add this to the faq. You need to add elements in your pom. Their id:s need to match the userid:s that are used in your scm system. Only commits made by a developer found in the pom will be added to the report. Mac-Systems wrote: Hello, My SCM S

RE: How setup Changelog Plugin (developer activity) ?

2007-10-31 Thread Sinduria,Anuradha
In the developers tag of ur POM add the developer id of ur Source control urdevid Thanks and Regards, Anuradha Sinduria -Original Message- From: Mac-Systems [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 31, 2007 4:40 PM To: Maven Users List Subject: Re: How setup Changelog P

Re: How setup Changelog Plugin (developer activity) ?

2007-10-31 Thread Mac-Systems
Hello, My SCM Section is correct, i hav a developer and a connection set: scm:svn:https://user:[EMAIL PROTECTED]:81/svn/project/trunk/ scm:svn:https://user:[EMAIL PROTECTED]:81/svn/project/trunk/ Reports by Changelog Plugin are complete expect the "Developer Activity" r

Re: Attaching source code

2007-10-31 Thread Dennis Lundberg
You need to configure the javadocs- and source-plugin to execute during the release process. Here's how we do it for Maven: http://maven.apache.org/developers/release/releasing.html See the section that starts with release ... Yaakov Chaikin wrote: Hi, Can someone point out a link to

Re: Building Eclipse RCP/PDE Projects

2007-10-31 Thread Graham Leggett
On Wed, October 31, 2007 11:43 am, Michal Paluchowski wrote: > I have a set of Eclipse plugin projects, which are to be moved to > Maven-managed building and packaging. Initially the future looked > bright as I found a perfectly suited article at eclipse.org: One last set of advice: Stick to the

Re: Building Eclipse RCP/PDE Projects

2007-10-31 Thread Graham Leggett
On Wed, October 31, 2007 11:43 am, Michal Paluchowski wrote: > I have a set of Eclipse plugin projects, which are to be moved to > Maven-managed building and packaging. Initially the future looked > bright as I found a perfectly suited article at eclipse.org: The next issue you need to sort out i

jars always added to ear

2007-10-31 Thread Sonar, Nishant
Hi I am building an ear from ear-plugin which composes of two moduels a.war and b.jar .i only want ti add these 2 modules to ear , but the followinf lisr of jars are always added. This is strange for me, I'[ve checked in my parent poms for this module and other , nowhere I am using these as depend

Re: usage of maven release plugin (releasing a branch)

2007-10-31 Thread Ionut Scutaru
Actually it was a typo in my mail.. our releases have the form of 1.0.0.Wxx (as in 1.0.0.W44) Would this be ok ? Michael McCallum-3 wrote: > > I would highly recommend that you tag your projects X.Y and when you build > branches introduce the .Z > > maven treats the -SSS specially and makes

Re: Building Eclipse RCP/PDE Projects

2007-10-31 Thread Graham Leggett
On Wed, October 31, 2007 11:43 am, Michal Paluchowski wrote: > Took a day or two to actually find out how to put the scraps of > information there together and install the custom MOJOs. Once I did > that, Eclipse project files were perfectly generated by 'mvn > eclipse:eclipse', all projects built

Re: ejb building not working

2007-10-31 Thread Tim Kettler
Hi Costa, I moved this back to the maven-users list, other people might be interested in this, too. Have you checked that your ejb-xml.jar exists in ${project.build.outputDirectory}/META-INF/ ? This would translate to target/classes/WEB-INF if you stick to the pom defaults. If you target EJB 3.0

Building Eclipse RCP/PDE Projects

2007-10-31 Thread Michal Paluchowski
Hi, here's an issue I've been fighting for the last 5 business days with every approach taken hitting the same wall. I checked the documentation, did the googling, asked friends and didn't get any further. I sincerely hope to get some help here. I have a set of Eclipse plugin projects, which are

maven build.xml filtering properties overwriting

2007-10-31 Thread Yann Davin
Hi all I'm using maven filters to generate a build.xml file. As everybody know build files have the same ${property} syntax. So I would like to prevent overwriting of non wanted properties by specifying in my assembly only the properties I want to overwrite. something like this : ${dir

Re: Attaching source code

2007-10-31 Thread arnaud . x . dostes
I guess you're talking about the eclipse plugin : mvn eclipse:eclipse -DdownloadSources=true Arnaud DOSTES | IPB Technology Geneva - Switzerland | ( Tel: +41 22 744 1885 | ) Fax: +41 22 744 1130 | + E-mail: [EMAIL PROTECTED] "Yaakov Chaikin" <[EMAIL PROTECTED]> 10/31/2007 07:35 AM Plea