Re: [ot] Jasper report developer for 2 simple reports?

2007-09-10 Thread Wouter Hermeling
Only f or running JasperReports with maven2 i can provide you some tips/hints. Antonio Petrelli-3 wrote: > > 2007/9/10, Mick Knutson <[EMAIL PROTECTED]>: >> >> Sorry for the OT, but I have a last minute issue with converting 2 >> crystal >> reports to jasper as Crystal Reports does NOT work on

Re: command line compile crashes Eclipse

2007-09-10 Thread Joshua ChaitinPollak
On Sep 10, 2007, at 10:30 PM, Carlos Sanchez wrote: do you mean that you do the mvn compile outside of eclipse? I didn' t think that eclipse pick up external changes if you don' t explicitly do a refresh Yes, sometimes, but not always, when I compile outside of eclipse, my computer grinds t

Re: command line compile crashes Eclipse

2007-09-10 Thread Barrie Treloar
On 9/11/07, Carlos Sanchez <[EMAIL PROTECTED]> wrote: > do you mean that you do the mvn compile outside of eclipse? I didn' t > think that eclipse pick up external changes if you don' t explicitly > do a refresh It doesn't, unless you turn that feature on yourself. (Windows -> Preferences -> Gener

Finding Elapsed Time of a Build

2007-09-10 Thread Morgovsky, Alexander (US - Glen Mills)
In order to find the elapsed time of a build in seconds, is it correct to subtract SA.BUILDRESULT.START_TIME from SA.BUILDRESULT.END_TIME and divide by 3600? Thanks. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and i

Re: command line compile crashes Eclipse

2007-09-10 Thread Carlos Sanchez
do you mean that you do the mvn compile outside of eclipse? I didn' t think that eclipse pick up external changes if you don' t explicitly do a refresh On 9/10/07, Joshua ChaitinPollak <[EMAIL PROTECTED]> wrote: > I'm not sure why this happens, but it seems to happen with both > m4eclipse and q4e,

Re: Is there a property for parent directory?

2007-09-10 Thread Wayne Fay
Why do you need to do this? There may be a better way to do the same thing that does not involve a ${parent} tag at all. Wayne On 9/10/07, Huang, Yan <[EMAIL PROTECTED]> wrote: > Hi, > > Is there a property or way to get parent directory in maven? Let's say I > have this structure of my projects:

Re: FW: Using Proximity Corporate Repository doesnt download plugins/dependencies

2007-09-10 Thread Wayne Fay
Perhaps Tamas will reply. I know he had a hardware failure and so the normal Proximity support channels are not available. Wayne On 9/10/07, Sonar, Nishant <[EMAIL PROTECTED]> wrote: > Hello > > > > I am trying to setup a corporate repository through proximity. Her's > what I did > > > > Installe

Re: command line compile crashes Eclipse

2007-09-10 Thread Wayne Fay
Dunno. Did you ask the Eclipse folks? Wayne On 9/10/07, Joshua ChaitinPollak <[EMAIL PROTECTED]> wrote: > I'm not sure why this happens, but it seems to happen with both > m4eclipse and q4e, or possibly its just an eclipse project generated > with eclipse:eclipse, but either way, My system grinds

Re: Question on maven-buildnumber-plugin

2007-09-10 Thread Kalle Korhonen
Wonderful, thanks a lot! Owe you one, works perfectly. Kalle On 9/10/07, Julian Wood <[EMAIL PROTECTED]> wrote: > > Okay 0.9.6 is released and addresses this issue. > > http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/changes- > report.html > > J > > On 29-Aug-07, at 1:45 PM, Kalle K

Re: Cannot deploy a parent 'tar.gz' assembly

2007-09-10 Thread Evan Toliopoulos
Hi, Is there anyway to control or influence the reactor build order? If the parent-as-dependent feature is intentional (and not a bug) then perhaps the element could have an attribute or child element that allowed you to specify whether you wished the parent to be built first or last. Of c

Re: Can Maven 2 check its version and fail?

2007-09-10 Thread Brett Porter
On 11/09/2007, Wendy Smoak <[EMAIL PROTECTED]> wrote: > Does it really prevent a normal project from building with an earlier > version of Maven? Yes - but as Brian said, the enforcer is a better solution. - Brett -- Brett Porter Blog: http://www.devzuz.org/blogs/bporter/ -

Re: Can Maven 2 check its version and fail?

2007-09-10 Thread Wendy Smoak
On 9/10/07, Kalle Korhonen <[EMAIL PROTECTED]> wrote: > Add: > > 2.0.6 > > > to your pom.xml. AFAIK, this only applies to plugins. If you put a prerequesite in a plugin pom, then a Maven version earlier than the one specified will not "see" that plugin. Does it really prevent a

RE: Can Maven 2 check its version and fail?

2007-09-10 Thread Brian E. Fox
The prereq will work but isn't inherited since it's meant for tools. The enforcer (http://maven.apache.org/plugins/maven-enforcer-plugin) is a more flexible solution. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Monday, September 10, 2007 8:38 PM To: Maven Users L

Re: Can Maven 2 check its version and fail?

2007-09-10 Thread Kalle Korhonen
Add: 2.0.6 to your pom.xml. Kalle On 9/10/07, Andreas Guther <[EMAIL PROTECTED]> wrote: > > I am looking for some means (pom configuration) that makes the Maven > build checking the Maven version and fails the build if the Maven > version is less than expected. Somehow I think

Re: Can Maven 2 check its version and fail?

2007-09-10 Thread Brett Porter
2.0.7 I think the Enforcer plugin can also do this. - Brett On 11/09/2007, Andreas Guther <[EMAIL PROTECTED]> wrote: > I am looking for some means (pom configuration) that makes the Maven > build checking the Maven version and fails the build if the Maven > version is less than expected. So

Can Maven 2 check its version and fail?

2007-09-10 Thread Andreas Guther
I am looking for some means (pom configuration) that makes the Maven build checking the Maven version and fails the build if the Maven version is less than expected. Somehow I think I saw that somewhere, but since my friend Google seems not to know as well I am not sure if I was just dreaming.

Re: Question on maven-buildnumber-plugin

2007-09-10 Thread Julian Wood
Okay 0.9.6 is released and addresses this issue. http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/changes- report.html J On 29-Aug-07, at 1:45 PM, Kalle Korhonen wrote: I owe you one, Julian! The only thing wrong in Dennis' suggestion is that it's exactly what I wanted to avoid

How can I configure ant run plugin to run ant script with javac ant task with fork=false?

2007-09-10 Thread Srinivasan Chikkala
Hi I am trying to call javac ant task in an ant script from ant run plugin and getting the following error when the "fork" attribute is false in the javac task in my ant script. The workaround is to set "fork" to true, but how can I configure the ant run plugin so that it works with the java

Is there a property for parent directory?

2007-09-10 Thread Huang, Yan
Hi, Is there a property or way to get parent directory in maven? Let's say I have this structure of my projects: Parent | pom.xml | child project 1 | |___ pom.xml | child project 2 |___ pom.xml Child project 1 and project 2 will inherit from parent 1.

Re: How to exclude the contents from WEB-INF/classes from being copied over?

2007-09-10 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Jim, > I'm trying to remember exactly what the issues that came up while having > maven and eclipse build to the same location, but I can't remember specifics > other than one tool or the other would get confused if the other changed the > source.

Re: Release-plugin 'add-on'

2007-09-10 Thread Brett Porter
We have had requests for the ability to do this easily, but there is nothing at the moment. If you are interested in helping with this functionality, please let us know. It may well be possible by redefining the components, but I haven't looked at this alternative yet. Cheers, Brett On 11/09/200

RE: aspectj error

2007-09-10 Thread Michal Palička
Hello, to get rid of the "bad version number found" warning, try to add the correct aspectjtools dependency to the aspectj-maven-plugin: org.codehaus.mojo aspectj-maven-plugin ... ... aspectj aspectjtools 1.5.

Problem with site generation i18n

2007-09-10 Thread Insitu
Hello, I ran recently into a strange problem with site generation. When I add the locale fr, maven fails with the following error: java.lang.IllegalArgumentException: Unmatched braces in the pattern. at org.apache.maven.reporting.AbstractMavenReportRenderer.applyPattern(AbstractMav

Re: How to exclude the contents from WEB-INF/classes from being copied over?

2007-09-10 Thread Jim Sellers
Hi Thorsten! I'm trying to remember exactly what the issues that came up while having maven and eclipse build to the same location, but I can't remember specifics other than one tool or the other would get confused if the other changed the source. It was at least 6 months ago and I didn't docume

Re: How to exclude the contents from WEB-INF/classes from being copied over?

2007-09-10 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > 1) When I left the eclipse output directory as target MyEclipse got very > confused and I had a lot of issues, especially switching between eclipse and > maven builds. Just for curiosity: What kind of errors? For testing purposes on one of our

Assembly includes 'wrong' version of dependencies

2007-09-10 Thread jaxzin
I've created a jar-with-dependencies assembly and it appears to be including a different version of my dependencies compared to the output of mvn project-info-reports:dependencies or the versions I've defined in the dependencyManagement section of my pom. What am I missing? Doesn't the dependenc

Merging javadocs

2007-09-10 Thread Insitu
Following some recent post about javadoc aggregation, I tried to play with javadoc attachments and dependency unpacking with some success and it was quite easy. Here are the poms: For project exporting javadoc: merging-javadoc oqube.maven 1.0-SNAPSHOT 4.0.0 oqube.maven.java

Re: Subcommander 1.2.2.1

2007-09-10 Thread Mark Eramo
Sorry everyone, I meant to post this to the Subversion Users List! Regards, Mark Thorsten Heit wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Mark, I figured I would post here as I am not sure if this is a subcommander issue or a subversion issue or just normal. I guess y

Re: How to exclude the contents from WEB-INF/classes from being copied over?

2007-09-10 Thread Jim Sellers
Thanks for the reply! 1) When I left the eclipse output directory as target MyEclipse got very confused and I had a lot of issues, especially switching between eclipse and maven builds. 2) No, I have not changed the maven output directories. This still goes to the default target directories. We

FW: Using Proximity Corporate Repository doesnt download plugins/dependencies

2007-09-10 Thread Sonar, Nishant
Hello I am trying to setup a corporate repository through proximity. Her's what I did Installed proximity on apache by deploying the px-webap. Now I can browse to the proximity site through apache http://localhost:8080/px-webap. I will be using this site to host my repository in a way like

Re: Subcommander 1.2.2.1

2007-09-10 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Mark, > I figured I would post here as I am not sure if this is a subcommander > issue or a subversion issue or just normal. I guess you'd better ask the Subcommander guys or post your question to the Subversion user list instead of this Maven use

command line compile crashes Eclipse

2007-09-10 Thread Joshua ChaitinPollak
I'm not sure why this happens, but it seems to happen with both m4eclipse and q4e, or possibly its just an eclipse project generated with eclipse:eclipse, but either way, My system grinds to a halt when I compile from the command line with Eclipse running. Specifically, I'll do: "mvn compil

Question relating to dependencymanagement

2007-09-10 Thread mfs
Guys, Got a question relating to dependencyManagement..I have got 2 project "A" and "B" inheriting from a parent pom (containing dependencyManagement and other project wide attributes). Project "A" is further subdivided into 2 sub-projects "A1" and "A2". Now i am not able to inherit (or in other

Subcommander 1.2.2.1

2007-09-10 Thread Mark Eramo
Hello, Anyone using Subcommander 1.2.2.1 that experiences intermittent locking issues (Windows Version). I have a user running subcommander in Windows that runs into locks on the repository that I do not have running subcommander under Linux. I figured I would post here as I am not sure if

Release-plugin 'add-on'

2007-09-10 Thread Roland Asmann
Hi everybody! I want to write a small 'add-on' to the release-plugin, which should be activated between the writing of the release-POM and next-iteration POM. At the moment I have to manually adjust my POMs after a release to change a property. It would be nice (and logical) to have the release-

Re: Re: Maven plugin for Eclipse

2007-09-10 Thread Carlos Sanchez
it's a known issue with m2eclipse 0.0.10 http://jira.codehaus.org/browse/MNGECLIPSE-265 There's another Eclipse plugin Q4E http://code.google.com/p/q4e/ that me and other maven users are working on and doesn't have that bug. Feel free to check it out. On 9/10/07, De Vleeschauwer Nele <[EMAIL PRO

Re: [ot] Jasper report developer for 2 simple reports?

2007-09-10 Thread Antonio Petrelli
2007/9/10, Mick Knutson <[EMAIL PROTECTED]>: > > Sorry for the OT, but I have a last minute issue with converting 2 crystal > reports to jasper as Crystal Reports does NOT work on HPUX. > Is there anyone that would like to talk about a quick jasper conversion > for > 2 simple reports? How much d

Re: Continuum 1.1.0-beta-2 UI performance

2007-09-10 Thread Emmanuel Venisse
Continuum can't be compared to Archiva because in Continuum pages we have lot of db queries. Emmanuel Damien Lecan a écrit : Hello, I set up Archiva 1.0-beta-1 with the same configuration, and performances are quite better than Continuum one (2-3s to display a page). How can I understand wha

[ot] Jasper report developer for 2 simple reports?

2007-09-10 Thread Mick Knutson
Sorry for the OT, but I have a last minute issue with converting 2 crystal reports to jasper as Crystal Reports does NOT work on HPUX. Is there anyone that would like to talk about a quick jasper conversion for 2 simple reports? Call me at (415) 808-6975 if so. I need this done this week btw..

Re: AW:Re: AW: Question how to prevent maven from update manually add ed dependencies (detailed descr)

2007-09-10 Thread Roland Asmann
I presume that you have a dependency to a JAR, which in turn has a parent-POM. The problem for you is that maven wants to resolve this POM, no matter what you do. It is possible to create several (remote-)repositories in which you deploy such JARs that are needed for certain builds. In my compan

Re: Continuum 1.1.0-beta-2 UI performance

2007-09-10 Thread Damien Lecan
Hello, I set up Archiva 1.0-beta-1 with the same configuration, and performances are quite better than Continuum one (2-3s to display a page). How can I understand what happen to my Continuum instance ? Thanks Damien Lecan 2007/9/4, Emmanuel Venisse <[EMAIL PROTECTED]>: > We know that 1.1 is

AW:Re: AW: Question how to prevent maven from update manually add ed dependencies (detailed descr)

2007-09-10 Thread Ritz, Martin
to use the offlien-mode is not an option for me cause I use actual Snapshots! Can you explain the other way a little bit more in detail? - Why add the pom to the repository ?- I don't understand this at all... Martin - >You could use the offline-mode (-o), but this will also cut off

Re: AW: Question how to prevent maven from update manually added dependencies (detailed descr)

2007-09-10 Thread Roland Asmann
You could use the offline-mode (-o), but this will also cut off any other dependencies from being resolved (if they are not available). The best solution will probably be to add the POM for that project in a company-wide repository and add that repo in your POM. On Monday 10 September 2007 16:

AW: Question how to prevent maven from update manually added dependencies (detailed descr)

2007-09-10 Thread Ritz, Martin
It doesn't work. Another idea? Martin You can try setting the version in your dependency declaration to [1.0] which will "lock down" the version, and then Maven should realize that you already have those artifacts in your local repo cache, and it doesn't need to run out and look for updates

Re: XML entities or alternative?

2007-09-10 Thread Wayne Fay
From: Brett Porter Subject: [poll] Need for plugin packs / mixins for plugins Date: Sun, 2 Sep 2007 12:53:49 +1000 To: Maven Developers List Wayne On 9/10/07, Jochen Wiedmann <[EMAIL PROTECTED]> wrote: > On 9/10/07, Wayne Fay <[EMAIL PROTECTED]> wrote: > > > Not presently. The idea of "snippets"

Re: ${basedir} Windows and ${file.separator}

2007-09-10 Thread Roland Asmann
Shouldn't ${basedir} be resolved correctly on both windows and *nix? If that's the case, you could try using the '/' separator, since this works both on *nix and windows... However, if ${basedir} is not correctly resolved, you will probably still have the same issues... On Friday 07 September 2

Re: Setting the Timezone correctly

2007-09-10 Thread Roland Asmann
I presume these times are UTC... This would be the most logical explanation, since maven will often compare the build date and times to make sure you have the latest version... When it has your local time, this could mean that maven would detect a difference in the times and download the plugins

Re: XML entities or alternative?

2007-09-10 Thread Jochen Wiedmann
On 9/10/07, Wayne Fay <[EMAIL PROTECTED]> wrote: > Not presently. The idea of "snippets" has been under discussion on > dev@ lately. Feel free to chime in. Do you have a pointer? I tried to search for snippets -jira -"svn commit" on Nabble, but didn't find something that sounded relevant to

Re: XML entities or alternative?

2007-09-10 Thread Wayne Fay
Not presently. The idea of "snippets" has been under discussion on dev@ lately. Feel free to chime in. Wayne On 9/10/07, Kevin Jackson <[EMAIL PROTECTED]> wrote: > Hi, > > I have a pom with two custom plugin configurations, both of which > require access to virtually identical xml. I'd like > t

Re: Question how to prevent maven from update manually added dependencies (detailed descr)

2007-09-10 Thread Wayne Fay
You can try setting the version in your dependency declaration to [1.0] which will "lock down" the version, and then Maven should realize that you already have those artifacts in your local repo cache, and it doesn't need to run out and look for updates. Wayne On 9/10/07, Ritz, Martin <[EMAIL PRO

RE : Code Complexity Plugin

2007-09-10 Thread Deneux, Christophe
Take an eye to javancss plugin: http://mojo.codehaus.org/javancss-maven-plugin/ ___ Christophe DENEUX / Capgemini Sud / Méditerranée Technical Leader Tel: + 33 4 93 95 55 92 / www.capgemini.com

Re: cross platform pom

2007-09-10 Thread Roland Asmann
I know it's a little late, but I haven't seen an answer yet So here's my solution: Use a variable for the path (e.g. ${calendarJarPath}) and define 2 profiles that are activated on 'os'. Then in those profiles you can define the correct pahts on both systems. Or, in case the paths differ p

Re: buildNumber plugin error

2007-09-10 Thread Arnaud HERITIER
AFAIK, this plugin isn't actually hosted at codehaus. http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html Arnaud On 29/08/2007, Wayne Fay <[EMAIL PROTECTED]> wrote: > > You could certainly request this as a new feature in the plugin. Post > a RFE in Jira for MOJO project, and

Re: How to exclude the contents from WEB-INF/classes from being copied over?

2007-09-10 Thread Thorsten Heit
Hi, > While using MyEclipse with maven, I have the eclipse plug-in keeping the > output directory as WEB-INF/classes so that I can still work with hot > deploys. > > > org.apache.maven.plugins > maven-eclipse-plugin > > > src/main/webapp/WEB-INF/cl

RE : Re: overriding central repo & archetype:create

2007-09-10 Thread Adrian Gonzalez
Thank you very much Thorsten ! --- Thorsten Heit <[EMAIL PROTECTED]> a écrit : > Hi, > > > I have the impression that the settings default > > profiles (activated in settings.xml with > > activeProfile) are not used when there's no > pom.xml. > > Yes. There's already a couple of Jira issues for

Re: maven

2007-09-10 Thread Thorsten Heit
Hi, > help me,i am getting this error when i am trying to run examples using > maven,if any body has got this previously pls help me > > D:\apps\Apache\servicemix\examples\basic>mvn jbi:embeddedServicemix > [INFO] Scanning for projects... > Downloading: > http://people.apache.org/repo/m2-incubat

Re: overriding central repo & archetype:create

2007-09-10 Thread Thorsten Heit
Hi, > I have the impression that the settings default > profiles (activated in settings.xml with > activeProfile) are not used when there's no pom.xml. Yes. There's already a couple of Jira issues for that: * http://jira.codehaus.org/browse/ARCHETYPE-59 * http://jira.codehaus.org/browse/MNG-3099

overriding central repo & archetype:create

2007-09-10 Thread Adrian Gonzalez
Hello, I have the impression that the settings default profiles (activated in settings.xml with activeProfile) are not used when there's no pom.xml. My use case is : I've overrode central repository in settings.xml [1]. It's working fine for an existing project. Now, I want to execute mvn archet

AW: Question how to prevent maven from update manually added dependencies (detailed descr)

2007-09-10 Thread Ritz, Martin
Hallo, thx for the quick answer. Here a bit longer description: I have some dependencies which I added manually to my local repo because they are not available in the remote repository. Now everytime I build my project maven tries to update this dependency which is not availble in the remote rep

RE: Re: Maven plugin for Eclipse

2007-09-10 Thread De Vleeschauwer Nele
Hi, Even when I use the Refresh Settings option, Eclipse still tries to connect to the Internet Maven Repo instead of the mirror I defined in my maven settings.xml file. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Achim Abeling Sent: vrijdag 7 september 2007