Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-19 Thread Stephen Connolly
2009/3/19 sebb > On 19/03/2009, Rusty Wright wrote: > > Do the imports only have an effect at compile time? For example, if you > > have > > > > package impl.zzz; > > > > import api.yyy.Yyy; > > > > public class Xyz implements Yyy { > > } > > > > When you run the app the jvm won't need

Re: Release plug-in failing to resolve env vars.

2009-03-19 Thread Martin Höller
Just had a look and the JIRA issue I was talking about is http://jira.codehaus.org/browse/MRELEASE-406 and was opended by you, James. So this probably doesn't help you much, sorry. regards, - martin On Tuesday 17 March 2009 Martin Höller wrote: > On Tuesday 17 March 2009 Nord, James wrote: > >

Re: different behaviour of surefire with maven 2.0.10

2009-03-19 Thread Stefano Fornari
Hi Dan, looking at the bug, it still does not answer (or at least I did not get it) if this is a bug or the wanted behaviour. The given workaround does not work for me because I cannot put values in the pom. Ste On Thu, Mar 19, 2009 at 2:16 AM, Dan Tran wrote: > see this issue for details > > h

Re: Aren't ranges allowed when releasing?

2009-03-19 Thread Stephen Connolly
Please direct your questions to the maven users list. I am not your personal guru ;-) -Stephen 2009/3/19 > Hi Stephen, > > I've just got this to worry about. > > I'm trying to release a project, that has these dependencies in it. It > works fine for install/package etc, but only when releasing

Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-19 Thread Stuart McCulloch
2009/3/19 Stephen Connolly > 2009/3/19 sebb > > > On 19/03/2009, Rusty Wright wrote: > > > Do the imports only have an effect at compile time? For example, if > you > > > have > > > > > > package impl.zzz; > > > > > > import api.yyy.Yyy; > > > > > > public class Xyz implements Yyy { > >

Re: versions-maven-plugin, complains about version of versions-maven-plugin

2009-03-19 Thread Stephen Connolly
Known bugs fixed for 1.0-alpha-3... but I'm not ready for that to be released yet 2009/3/19 Reto Bachmann-Gmür > Hello > > > The output of mvn versions:display-plugin-updates > > [INFO] All plugins are using the latest versions. > [INFO] > [WARNING] The following plugins do not have their ve

versions-maven-plugin, complains about version of versions-maven-plugin

2009-03-19 Thread Reto Bachmann-Gmür
Hello The output of mvn versions:display-plugin-updates [INFO] All plugins are using the latest versions. [INFO] [WARNING] The following plugins do not have their version specified: [WARNING] maven-clean-plugin .. (from super-pom) 2.2 adding the following to the paren

Exception during dependency report creation

2009-03-19 Thread EJ Ciramella
I've seen this exception discussed a few times in various bugs, but is there a better solution than choosing a newer version? [WARNING] Unable to process class com/ibm/icu/impl/data/LocaleElements_zh__PINYIN.class in JarAnalyzer File E:\work\m2Repo\com\ibm\icu\icu4j\2.6.1\icu4j-2.6.1.jar org.apac

RE: Using archetype:generate with internal repository

2009-03-19 Thread Qureshi,Shahzad [Ontario]
Help please with my unsolved issue :) Shahzad Qureshi Systems Analyst/Programmer Applications Directorate, CIOB Environment Canada shahzad.qure...@ec.gc.ca -Original Message- From: Qureshi,Shahzad [Ontario] [mailto:shahzad.qure...@ec.gc.ca] Sent: Tuesday, March 17, 2009 4:43 PM To

How to integrate xhtml files into a maven generated site?

2009-03-19 Thread Marco Huber
Hi folk, I have a number of xhtml files, which I want to integrate into my site, but I don't want to change them into the apt format etc. On the doxia site I see, that it should be possible if I create a sub directory "xhtml" and place there my files with the extension ".xhtml". I also ad

Problem with generating the time stamp

2009-03-19 Thread eyalg1972
Hi, I heard that there is a plugin for creating time stamp. But when I try to use it based on these instructions: http://mojo.codehaus.org/buildnumber-maven-plugin/usage.html And configured the plug in to be: org.codehaus.mojo buildnumber-mav

Problem with resources not being packed by the package process

2009-03-19 Thread eyalg1972
Hi, I am now migrating an ant project to Maven. Since the resources are under the src directory (mixed with the code) I did the following: Defined the resource directory to be: src **/*.java And in

Question on corba plugin: idlj-maven-plugin

2009-03-19 Thread eyalg1972
Has anyone worked with it? I am trying to understand- since could not found any documentation about it Thanks -- View this message in context: http://www.nabble.com/Question-on-corba-plugin%3A-idlj-maven-plugin-tp22601445p22601445.html Sent from the Maven - Users mailing list archive at Nabbl

Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-19 Thread sebb
On 19/03/2009, Stephen Connolly wrote: > 2009/3/19 sebb > > > > On 19/03/2009, Rusty Wright wrote: > > > Do the imports only have an effect at compile time? For example, if you > > > have > > > > > > package impl.zzz; > > > > > > import api.yyy.Yyy; > > > > > > public class Xyz i

Re: Problem with resources not being packed by the package process

2009-03-19 Thread Wendy Smoak
On Thu, Mar 19, 2009 at 8:15 AM, eyalg1972 wrote: > Since the resources are under the src directory (mixed with the code)  I did > the following: > > Defined the resource directory to be: > > >        src >                 >           **/*.java >                   >                 >     > > A

Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-19 Thread Stephen Connolly
2009/3/19 sebb > On 19/03/2009, Stephen Connolly wrote: > > 2009/3/19 sebb > > > > > > > On 19/03/2009, Rusty Wright wrote: > > > > Do the imports only have an effect at compile time? For example, if > you > > > > have > > > > > > > > package impl.zzz; > > > > > > > > import api.yy

Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-19 Thread sebb
On 19/03/2009, Stephen Connolly wrote: > 2009/3/19 sebb > > > On 19/03/2009, Stephen Connolly wrote: > > > 2009/3/19 sebb > > > > > > > > > > On 19/03/2009, Rusty Wright wrote: > > > > > Do the imports only have an effect at compile time? For example, if > > you > > > > > have > >

Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-19 Thread Dev at weitling
sebb wrote: > On 19/03/2009, Stephen Connolly wrote: >> > > scope provided will do what you need afaik >> > > >> > >> > Yes, but then AFAIK the user has to download and install the jar >> > separately, which is a pain. >> > >> >> >> Nope >> > > I think you meant "Yep..." as you se

Re: Verbatim HTML in site documentation

2009-03-19 Thread Lukas Theussl
There is a snapshot deployed (version 2.1-SNAPSHOT) but it requires maven 2.1 (currently being voted on, should be released next week). Cheers, -Lukas TomStrummer wrote: Thanks Dennis. That's exactly what I'm looking for. So there's no snapshot release of the site plugin that uses Doxia 1.1

Re: How to integrate xhtml files into a maven generated site?

2009-03-19 Thread Lukas Theussl
This doesn't work with doxia-1.0, it's fixed in doxia-1.1 which is not used yet by the site plugin. There is a snapshot of the site plugin (version 2.1-SNAPSHOT) that uses doxia 1.1 but it requires maven 2.1 (currently being voted on, should be released next week). Note that the html source fi

Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-19 Thread sebb
On 19/03/2009, Dev at weitling wrote: > > > sebb wrote: > > On 19/03/2009, Stephen Connolly wrote: > > >> > > scope provided will do what you need afaik > >> > > > >> > > >> > Yes, but then AFAIK the user has to download and install the jar > >> > separately, which is a pain. > >> >

Per-profile server credentials

2009-03-19 Thread Edouard Hue
Hello, Working on several projects that get deployed to the same Nexus repository, I need to provide pre-project credentials, due to our specific security policy. I hoped I could use a different profile for each project and provide different credentials with each profile, but Maven doesn't s

Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-19 Thread Stephen Connolly
2009/3/19 sebb > On 19/03/2009, Stephen Connolly wrote: > > 2009/3/19 sebb > > > > > On 19/03/2009, Stephen Connolly > wrote: > > > > 2009/3/19 sebb > > > > > > > > > > > > > Can I get back to my original question, which is: > > > > > > > > > > How does one express a dependency on a

Forced to do maven clean before each maven

2009-03-19 Thread amtixx
I am having a issue where i am forced to do a "maven clean" before i do a "maven". I am using Maven 1.1. If i don't do a Maven clean, then I can't see my new changes. i.e it seems like the application uses the old class files. Can someone help me to fix this issue? -- View this message in context

RE: project.build.directory not set properly for ant

2009-03-19 Thread Troy Waldrep
Jim, Did you create a jira issue for the install plugin? Troy -Original Message- From: Jim McCaskey [mailto:jim.mccas...@pervasive.com] Sent: Friday, March 13, 2009 6:37 PM To: 'users@maven.apache.org' Subject: RE: project.build.directory not set properly for ant Hello, I did not hear

RE: project.build.directory not set properly for ant

2009-03-19 Thread Troy Waldrep
Please ignore my last post. It wasn't meant for the list. Sorry. -Original Message- From: Troy Waldrep [mailto:troy.wald...@pervasive.com] Sent: Thursday, March 19, 2009 1:41 PM To: 'Maven Users List' Subject: RE: project.build.directory not set properly for ant Jim, Did you create a

Re: different behaviour of surefire with maven 2.0.10

2009-03-19 Thread Wayne Fay
> The given workaround does not work for me because I cannot put values > in the pom. You can add properties via profiles.xml alongside your pom.xml. http://maven.apache.org/guides/introduction/introduction-to-profiles.html Wayne -

Re: Problem with resources not being packed by the package process

2009-03-19 Thread eyalg1972
Thanks Wendy, It worked like a charm... Eyal Wendy Smoak-3 wrote: > > On Thu, Mar 19, 2009 at 8:15 AM, eyalg1972 wrote: > >> Since the resources are under the src directory (mixed with the code)  I >> did >> the following: >> >> Defined the resource directory to be: >> >> >>        src >>

Re: Exception during dependency report creation

2009-03-19 Thread Wayne Fay
> [WARNING] Unable to process class > com/ibm/icu/impl/data/LocaleElements_zh__PINYIN.class in JarAnalyzer > File E:\work\m2Repo\com\ibm\icu\icu4j\2.6.1\icu4j-2.6.1.jar > org.apache.bcel.classfile.ClassFormatException: Invalid byte tag in This is simply a bad jar/classfile. You'll need to specify

Re: Problem with generating the time stamp

2009-03-19 Thread Wayne Fay
>                          true >                          true I would assume that one or both of those parameters might trigger from SCM commands. Try setting both to false and see if it happens again. Wayne

Deploy to jetty standalone through maven

2009-03-19 Thread Kini, Sangeetha
Hi , I need some help to deploy a war to stand alone jetty using maven deploy phase and undeploy the war on stopping the server. Can you pls suggest how I can achieve this using maven .I tried org.mortbay.jetty plugin ,run-war goal ,but that creates a jetty server and deploys the war on the fl

Re: Deploy to jetty standalone through maven

2009-03-19 Thread Rusty Wright
http://cargo.codehaus.org/ Kini, Sangeetha wrote: Hi , I need some help to deploy a war to stand alone jetty using maven deploy phase and undeploy the war on stopping the server. Can you pls suggest how I can achieve this using maven .I tried org.mortbay.jetty plugin ,run-war goal ,but that

Coordinate alignment with Java package

2009-03-19 Thread Merv Green
Is it reasonable to insist that a project's Java package name matches ${project.groupId}.${project.artifactId}, with dashes converted to underscores, etc? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additio

the artifects are missing in the repository.

2009-03-19 Thread Mohapatra Pragna Prachetas
Hi all, I am a very novice user of maven I am trying to create a dummy project using IONA FUSE. When I am trying to use the "mvn install" command it is ending up in the following error. When I manually try to down load the artifact the sites does not respond to it . Please find the log tr