Re: Explicit Profile Activation doesn't work for me

2008-09-03 Thread Danny
Good observation, but that's not it. I had to edit the profile.xml pasted here to make it easier to follow. Besides, 'mvn validate' would have caught that. Any other ideas? -- View this message in context:

Problem when customize and develop Jetspeed Portal in Eclipse based on tutorial?

2008-09-03 Thread Fancing
I have spent about 2 weeks to try to follow the tutorial to customize a Jetspeed portal, but always failed when i start the server. All my steps are based on the tutorial http://portals.apache.org/tutorials/jetspeed-2/;, and I use my own Tomcat server. And I got BUILD SUCCESSFUL at the end of

WEB-INF vs web-inf

2008-09-03 Thread Tamsin
Hi, Sorry if this has been asked before, I'm quite new to this, but I couldn't find an answer. When I do mvn package of my webapp, the resulting war file has both folders: web-inf web.xml my-servlet.xml WEB-INF lib jar files I

Re: Explicit Profile Activation doesn't work for me

2008-09-03 Thread Carlos Alonso
Hi Danny. I can guess that what you're missing is profile idprof1/id activation activeByDefaultfalse/activeByDefault /activation properties . . . /profile So, it's up to you to specify from command line for example, the active profile

Re: Explicit Profile Activation doesn't work for me

2008-09-03 Thread Danny
Yes, I thought about that last night, but according to the Maven 2 schema, 'false' is the default value for 'activeByDefault'. But then again, you might be on to something, since Maven apparently thinks that all three profiles are active (according to 'mvn help:active-profiles'), which seems to

Re: WEB-INF vs web-inf

2008-09-03 Thread xds2000
i think this is not problem.no idea. 2008/9/3 Tamsin [EMAIL PROTECTED][EMAIL PROTECTED] Hi, Sorry if this has been asked before, I'm quite new to this, but I couldn't find an answer. When I do mvn package of my webapp, the resulting war file has both folders: web-inf

RE: WEB-INF vs web-inf

2008-09-03 Thread Tamsin
Hi, Won't it be a problem when deployed on a case sensitive server? Thanks, Tamsin -Original Message- From: xds2000 [mailto:[EMAIL PROTECTED] Sent: 03 September 2008 09:57 To: users@maven.apache.org Subject: Re: WEB-INF vs web-inf i think this is not problem.no idea. 2008/9/3 Tamsin

Re: WEB-INF vs web-inf

2008-09-03 Thread Manos Batsis
Tamsin wrote: Won't it be a problem when deployed on a case sensitive server? Yep. My guess is the OP's POM contains or links to an Ant script (i.e. antrun plugin) that generates some descriptors or something (for example through webdoclet) and has the case wrong in some path reference.

What is current status of repositorytools-plugin ?

2008-09-03 Thread Insitu
Hello, The question is in the title... -- Arnaud Bailly, PhD OQube - Software Engineering http://www.oqube.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Refer to the enclosing project's version in the generated archetype

2008-09-03 Thread jwcarman
I have a project that contains a core library and a couple of archetypes that I want to use it. How do I put a dependency in my archetypes that says use the core library from the same version as me? Does that make sense? -- View this message in context:

Re: What is current status of repositorytools-plugin ?

2008-09-03 Thread Tom Huybrechts
Dead. On Wed, Sep 3, 2008 at 11:40 AM, Insitu [EMAIL PROTECTED] wrote: Hello, The question is in the title... -- Arnaud Bailly, PhD OQube - Software Engineering http://www.oqube.com - To unsubscribe, e-mail: [EMAIL

updateDependencies doesn't run correctly in release plugin

2008-09-03 Thread Zucchi Alessandro
Hi all, I have a multi-level project, for example (B C are submodules of A; B1 B2 are submodlules of B ; ...): A B -- B1 || B2 | |--- C --C1 |-C2 B2 depends from B1 C1 depends from B1 C2 depends from C1 B2 In C are defined B1 B2 C1 as

RE: What is current status of repositorytools-plugin ?

2008-09-03 Thread Martin Gainty
are you talking about the economy? could you be more specific what the issue is? has the project been archived? Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender.

Re: What is current status of repositorytools-plugin ?

2008-09-03 Thread Arnaud Bailly
Tom Huybrechts [EMAIL PROTECTED] writes: Dead. Sort of very laconical answer... IS there something out there that would provide the same functionality (ie. copying between repositories) ?. Thanks -- Arnaud Bailly, PhD OQube - Software Engineering http://www.oqube.com

Re: What is current status of repositorytools-plugin ?

2008-09-03 Thread Tom Huybrechts
I contributed it to the sandbox a long time ago, but have not looked at it since. The repository copying worked in some cases, but certainly not all. If you want to use it but find bugs, please be prepared to fix them yourself. I would also recommend to look at the stage plugin to see if this fits

creating runnable jar file

2008-09-03 Thread cablepuff
Hi i have a runnable jar files that depends on hibernate and spring (latest version of their jar file respectively). I tried maven-jar-plugin. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId

Maven Plugin

2008-09-03 Thread simoha
Hi, I created my first simple maven *plugin* and successfully installed it. when I try to compile it with the command mvn sample.plugin:maven-hello-plugin :1.0-SNAPSHOT: sayhi , I get the following error message... Error: java.lang.IllegalStateException: The *PluginDescriptor* for the

Re: creating runnable jar file

2008-09-03 Thread Graham Leggett
cablepuff wrote: however i get this error about namespace www.springframework.org/schema/tx cannot be found. Is their a better way to create deployable jar files that runs on different machine. It sounds like you are trying to create an uberjar, AKA a jar-with-dependencies. An uberjar

release-plugin: dependency version not adjusted within profile

2008-09-03 Thread Cla Emanuel Monsch
hi there while executing release:prepare the versions of dependencies to submodules are adjusted correct. but they're just adapted to the new version if they are not defined within a profile section. the profile 'jboss' was activated correct. i've checked that with help:active-profiles. ---

mvn compile works mvn site-deploy causes complation error

2008-09-03 Thread mac-systems
Hello, i try to setup my multi module project. I am trying to setup the site generation after all compile dependencies are now resolved and no compile error is caused durring mvn compile. When i do a mvn site-deploy i get a compile error, anyone has a clue what the heck is going on ? Also a

RE: Maven Plugin

2008-09-03 Thread Dhruva Reddy
As it appears in your email, you have spaces in the goal name: sample.plugin:maven-hello-plugin :1.0-SNAPSHOT: sayhi isn't the same as sample.plugin:maven-hello-plugin:1.0-SNAPSHOT:sayhi is it? -Original Message- From: simoha [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03,

Re: What is current status of repositorytools-plugin ?

2008-09-03 Thread Arnaud Bailly
Tom Huybrechts [EMAIL PROTECTED] writes: I contributed it to the sandbox a long time ago, but have not looked at it since. The repository copying worked in some cases, but certainly not all. If you want to use it but find bugs, please be prepared to fix them yourself. I would also recommend

maven-rar-plugin and filtering

2008-09-03 Thread Rémy Sanlaville
Hi, I just wonder if it possible to use filtering with maven-rar-plugin (it seems not). For instance, we need it for login/password and jdbc urls parameters. If not, I think the best way to add this feature is to use the shared component maven-filtering. Are you agree ? Rémy

RE: mvn compile works mvn site-deploy causes complation error

2008-09-03 Thread Martin Gainty
Jens- *if this is happening at deploy* then a best guess would be that the jspc (jasper compiler) phase is failing http://mojo.codehaus.org/jspc/jspc-maven-plugin/usage.html can you force the jasper-compiler to execute and compile the jsp pages BEFORE deployment any diags such as stacktraces

Re: What is current status of repositorytools-plugin ?

2008-09-03 Thread Graham Leggett
Arnaud Bailly wrote: I am investigating how to create reproducible builds with maven2. There is a proposal from Brett Porter in the wiki about refactoring local repository structure that goes in that direction. Not sure however when it will be available. Enforcers and requirements also helps,

Re: maven-rar-plugin and filtering

2008-09-03 Thread Olivier Lamy
Hi, Sounds reasonnable. Can you attach a patch to http://jira.codehaus.org/browse/MRAR-22 ? Thanks, -- Olivier 2008/9/3 Rémy Sanlaville [EMAIL PROTECTED]: Hi, I just wonder if it possible to use filtering with maven-rar-plugin (it seems not). For instance, we need it for login/password and

RE: mvn compile works mvn site-deploy causes complation error

2008-09-03 Thread mac-systems
Hello, i am not compiling any JSP. It happend durring site-deploy - Jens Jens- *if this is happening at deploy* then a best guess would be that the jspc (jasper compiler) phase is failing http://mojo.codehaus.org/jspc/jspc-maven-plugin/usage.html can you force the jasper-compiler to execute

what to do when you require a dependency in an open-source project that isn't available on a public maven 2 repository, but could be (and you can't host it)

2008-09-03 Thread Gary Weaver
Hey everyone, I've been using and evangelizing Maven 2 for a few years now. And yes, it is really the greatest thing since sliced bread! However, I've run into one thing makes life with Maven a little less easy than it should be. Specifically, there are projects out there that don't have

Re: what to do when you require a dependency in an open-source project that isn't available on a public maven 2 repository, but could be (and you can't host it)

2008-09-03 Thread Nick Stolwijk
Take a look at the Maven website, especially this [1] page. I guess it tells you everything you ask about uploading third party libraries to central. [1] http://maven.apache.org/guides/mini/guide-central-repository-upload.html Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125

Re: maven-rar-plugin and filtering

2008-09-03 Thread Rémy Sanlaville
Hi Olivier, If I can do it, I will. Thanks, Rémy

Re: what to do when you require a dependency in an open-source project that isn't available on a public maven 2 repository, but could be (and you can't host it)

2008-09-03 Thread Geoffrey Wiseman
On Wed, Sep 3, 2008 at 11:09 AM, Gary Weaver [EMAIL PROTECTED] wrote: For example, right now I'd like to use a simple in-memory HTTP Server of some sort for serving RSS. While there is a simple HTTPServer built into Java 6 (

Re: what to do when you require a dependency in an open-source project that isn't available on a public maven 2 repository, but could be (and you can't host it)

2008-09-03 Thread Gary Weaver
Nick, Thanks for the quick response! The problem is that I'm not the project owner or even a developer on the dependencies I would need deployed. I could definitely attempt to get permission from some of the project owners, if that is the best route. I know from past experience that people

Re: creating runnable jar file

2008-09-03 Thread David Brown
Hello, something like the following works for me everytime. The only drawback is long compile times on slow machines. HTH, David ** plugin artifactIdmaven-assembly-plugin/artifactId configuration

Re: what to do when you require a dependency in an open-source project that isn't available on a public maven 2 repository, but could be (and you can't host it)

2008-09-03 Thread Gary Weaver
Thanks, Geoffrey! Great blog! I also liked Brian's that he mentioned in a comment: http://blogs.sonatype.com/brian/2008/05/27/1211942439071.html And it appears that there is a bit of info here on fixing other's stuff in the central repo too that Brian referenced:

Re: Problem when customize and develop Jetspeed Portal in Eclipse based on tutorial?

2008-09-03 Thread Wayne Fay
Please send this to the Jetspeed Users mailing list. Wayne On Wed, Sep 3, 2008 at 12:36 AM, Fancing [EMAIL PROTECTED] wrote: I have spent about 2 weeks to try to follow the tutorial to customize a Jetspeed portal, but always failed when i start the server. All my steps are based on the

Re: Explicit Profile Activation doesn't work for me

2008-09-03 Thread Danny
Carlos, the profiles are indeed active by default, which contradicts the Maven POM schema(!) Perhaps there's another schema that applies to external profiles such as in my case since I was using profiles.xml (or I'm not interpreting the schema correctly). Oh well, it doesn't really matter now.

Re: what to do when you require a dependency in an open-source project that isn't available on a public maven 2 repository, but could be (and you can't host it)

2008-09-03 Thread Graham Leggett
Gary Weaver wrote: Are there any of you out there that have open-source projects where you couldn't find a dependency in a public Maven 2 repo, and if you, how did you handle it? We run our own maven repository where we publish our own artifacts released using the release plugin. Jars

Maven Embedder - Jar in official repo is too old

2008-09-03 Thread Shalin Shekhar Mangar
Hello, I'm trying to embed Maven in my application. I've looked at the Maven embedded mini-guide at http://maven.apache.org/guides/mini/guide-embedding-m2.html The latest version of maven-embedded at the main repository is 2.0.4 ( http://repo1.maven.org/maven2/org/apache/maven/maven-embedder/ ).

Re: [INFO] Dependency ... has changed ... messages during build

2008-09-03 Thread gotama
fyi, this is a bug in maven-war-plugin 2.1-alpha-2. I have filed a bug for it: http://jira.codehaus.org/browse/MWAR-168 these incorrectly reported messages do not appear in maven-war-plugin 2.0.2. try: mvn clean; mvn install; mvn install; with both 2.0.2 and 2.1-alpha-2. during the 3rd command

Re: [INFO] Dependency ... has changed ... messages during build

2008-09-03 Thread Wayne Fay
On Wed, Sep 3, 2008 at 12:21 PM, gotama [EMAIL PROTECTED] wrote: what is not clear to me is why 'alpha' versions make it into the releases repository. I previously did not set my version for the maven-war-plugin. 2.1-alpha-2 is the default version. In the Maven world, I thought alpha/beta

RE: Maven Plugin

2008-09-03 Thread simoha
thank first, no it was not in it. it was up to Packaging, I forgot, the Packaging in maven-plugin set. it works now. Thank you Dhruva Reddy-2 wrote: As it appears in your email, you have spaces in the goal name: sample.plugin:maven-hello-plugin :1.0-SNAPSHOT: sayhi isn't the same

RE: Maven Plugin

2008-09-03 Thread simoha
thank first, no it was not in it. it was up to Packaging, I forgot to set the Packaging as maven-plugin . it works now. Thank you simoha wrote: thank first, no it was not in it. it was up to Packaging, I forgot, the Packaging in maven-plugin set. it works now. Thank you Dhruva

Re: What is current status of repositorytools-plugin ?

2008-09-03 Thread Arnaud Bailly
Thanks a lot for your detailed answer. The problem I am trying to solve is slightly different to the one you are pointing at: I just want to be able to control precisely what are the elements that are used in some build so that any discrepancy between two builds of the same source, which usually

[PLEASE TEST] Maven 2.1.0-M1-RC13

2008-09-03 Thread John Casey
Hi again everyone, On the last go around, we had one issue pop up with maven plugin builds (though it might also apply to build extensions in the reactor as well). I've fixed it, and now here's the lucky 13th release candidate:

Stuck on custom wagon and plexus

2008-09-03 Thread Edelson, Justin
I'm writing a Maven plugin that requires a customized version of the SCP Wagon. While I've written a number of plugins in the past, this is the first time I've tried to create a Plexus component and I seem to be stuck. Here's what I've done: * In one project, I have a class

Re: Stuck on custom wagon and plexus

2008-09-03 Thread Brett Porter
Is the resource really in that directory? It should be src/main/resources/META-INF/plexus/components.xml instead :) Cheers, Brett 2008/9/4 Edelson, Justin [EMAIL PROTECTED] I'm writing a Maven plugin that requires a customized version of the SCP Wagon. While I've written a number of plugins

RE: Stuck on custom wagon and plexus

2008-09-03 Thread Edelson, Justin
Thanks Brett. I knew it was something simple. That got me one step further, now I'm getting: Caused by: org.codehaus.plexus.component.composition.CompositionException: Composition failed for the field knownHostsProvider in object of type com.mtvi.plateng.maven.wagon.JschTunnelWagon at

Re: Stuck on custom wagon and plexus

2008-09-03 Thread Brett Porter
this could be a classloading issue. How are you instantiating the wagon, and how are you declaring it to Maven (is it just a dependency of the plugin?) - Brett 2008/9/4 Edelson, Justin [EMAIL PROTECTED] Thanks Brett. I knew it was something simple. That got me one step further, now I'm