First build OK, second build fails with scm file url error

2007-08-23 Thread Gary Bauer
I have a multiple module Maven 2 project added to Continuum. There is one parent module and three child modules. Each module builds without problems the first time, but the second time I try to build any of them I get the following exception:

monitoring builds

2007-08-23 Thread Ionut S
Hi, I want to implement a system of lava lamps for our continuum server and I need a way to find out when a build was done and the result. I know about the notifications mechanism, but my lava lamps will not be located on the same computer that hosts the continuum server. My computer is

Re: monitoring builds

2007-08-23 Thread Nick Stolwijk
Hi, Maybe it is an idea to use a IM notification like Jabber. That way you don't have to poll the continuum or your mail. With regards, Nick Stolwijk Ionut S wrote: Hi, I want to implement a system of lava lamps for our continuum server and I need a way to find out when a build was done

RE: monitoring builds

2007-08-23 Thread LAMY Olivier
Hi, Added in 1.1-beta-1. But in your case will need some developpement. Have you look at all available notifier impls : - mail - jabber - wagon (send the build output file to the wagon url) - irc -- Olivier -Message d'origine- De : Ionut S [mailto:[EMAIL PROTECTED] Envoyé : jeudi 23

RE: monitoring builds

2007-08-23 Thread Ionut S
What do you need by But in your case will need some developpement. ? LAMY Olivier [EMAIL PROTECTED] wrote: Hi, Added in 1.1-beta-1. But in your case will need some developpement. Have you look at all available notifier impls : - mail - jabber - wagon (send the build output file to the wagon

Re: monitoring builds

2007-08-23 Thread Michael Meyer
Ionut S wrote: Thank you ! However, I looked at the changes from 1.0.3 to 1.1-alpha1 and it seems this bug might be a problem: ... 3) find another method For continuum 1.0.3 I used to parse the index page with jtidy. Ugly but it worked. If you can wait for the 1.1 final release I would

Re: monitoring builds

2007-08-23 Thread Wendy Smoak
On 8/23/07, Ionut S [EMAIL PROTECTED] wrote: Hi, I want to implement a system of lava lamps for our continuum server and I need a way to find out when a build was done and the result. I know about the notifications mechanism, but my lava lamps will not be located on the same computer that

FW: Maven Multi-Project - Modules are Numbers when checked out

2007-08-23 Thread James Clinton
( apoligies if you received this twice ) Hello, Setting up Continuum for the first time using Maven2 for our builds. (which is a Multi-Project). Pointed Continuum to the parent POM and this loaded in the projects. When running the parent the build fails because it cannot find the child POM

Re: M2: Need help with central repositories, and mirrors

2007-08-23 Thread Tim Kettler
Hi, setting the mirror to an invalid url would certainly work but I imagine you would get tons of warnings about failed repository accesses since maven would still try download from the mirror. What I would do instead is to just overwrite the definition of central in the qa and cert

Re: M2: Need help with central repositories, and mirrors

2007-08-23 Thread Tim Kettler
Additionally you need to keep in mind to use different local repositories as well when using the different profiles on the same machine. Else the artifacts from the different repositories will be mixed. -Tim Tim Kettler schrieb: Hi, setting the mirror to an invalid url would certainly work

Re: Having trouble using maven-ejb-plugin -- can't get Class-Path in manifest

2007-08-23 Thread Tim Kettler
Hi, jzhang schrieb: I am using Maven 2.0.7. In my ear file, I have a ejb jar (called core.jar) that depends on common.jar. They are all in the same ear. I want to have core.jar manifest.mf file have Class-Path entry for common.jar. But I can not get that work. I follow maven-ejb-plugin

Re: [ANN] groovy-maven-plugin 1.0-beta-2

2007-08-23 Thread Jason Dillon
Hi folks, a little note... looks like something is wedged in the codehaus - central sync... As the artifacts have been deployed here: http://repository.codehaus.org/org/codehaus/mojo/groovy/groovy/ 1.0-beta-2/ But is been a long time now and still they haven't made it to here (where

RE: Junit testing of webapps in maven

2007-08-23 Thread Robbrecht van Amerongen
You can use JMeter for these functional tests. Use the Cargo pluigin to deploy your application Then use the maven-jmeter-plugin. http://wiki.apache.org/jakarta-jmeter/JMeterMavenPlugin to run your functional tests. On http://technology.amis.nl/blog/?p=2364 you can find an article to get this

Re: Missing ant task running under maven-antrun-plugin

2007-08-23 Thread Tim Kettler
Hi, The antrun-plugin by default only provides the core ant tasks. If you need additional tasks you need to include the jar containing the add-on tasks to the dependencies/ section of the plugin definition in your pom. propertyfile is an optional ant task and is contained in

Accessing POM properties in a filter

2007-08-23 Thread William Ferguson
In a resource filter, I can specify tokens like: token1=${project.version} token2=${project.properties} Which when used in a resource file evaluates to: valueForToken1=1.0-SNAPSHOT valueForToken2={myProp1=value1, myProp2=value2} How do I specify a token in the resource filter that resolves to

Activating a Profile from another Profile

2007-08-23 Thread William Ferguson
Is there any way to activatee a Profile from another Profile? We have some pieces of the build, specifcally build.resources definitions that vary depending on which Profile is targetted. But some of the resource definitions are identical for several of the Profiles. So I had hoped to extract the

Re: maven assembly plugin to create a remote repository?

2007-08-23 Thread Stephane Nicoll
Hi, Yes, I'm doing this for one of my project but it's a bit messy with snapshots. Regardnig plugins, it's not possible as far as I know. Only the project's dependencies can be included in a repository. HTH, Stéphane On 8/22/07, Wim Deblauwe [EMAIL PROTECTED] wrote: Hi, is it possible to use

Re: maven assembly plugin to create a remote repository?

2007-08-23 Thread Wim Deblauwe
And how do you do this? 2007/8/23, Stephane Nicoll [EMAIL PROTECTED]: Hi, Yes, I'm doing this for one of my project but it's a bit messy with snapshots. Regardnig plugins, it's not possible as far as I know. Only the project's dependencies can be included in a repository. HTH, Stéphane

Re: maven assembly plugin to create a remote repository?

2007-08-23 Thread Stephane Nicoll
You gather the dependencies you need in a project (either directly or transitively) and you add a repository section in your assembly descriptor, something like that: repositories repository outputDirectorybuild-integration/repository/outputDirectory

assembly plugin: ordering of dependencies

2007-08-23 Thread aldana
hi, i am facing following problem: when building assembly there are two libraries (A.jar+B.jar) which contain same classes (packageName + className). looking at this library A.jar contains a class which offers different public methods as B.jar. assembly plugin now overrides this A.jar class with

Archiva does not generate correct maven-metadata.xml file

2007-08-23 Thread IvanPopov
First, I thank Archiva developpers for the work they have done. This proxy is really promising. Currently, the only feature that miss for me is the generation of the maven-metadata.xml file. This file is very important in case of artifact that define a range of version for dependency. In my

Skip lifecycle phases

2007-08-23 Thread Christian Clauss
Hello everyone, I am developing a maven2 plug-in and I'm having a problem. My goal is to end the build process with Build successful at the lifecycle phase validate although I'm calling the mvn deploy. Could you please tell me how this is possible? Best Regards Christian

Re: assembly plugin: ordering of dependencies

2007-08-23 Thread Tim Kettler
Hi, As far as I know this is not supported by the assembly-plugin directly. If the two jars contain exactly the same set of classes (just different versions) you can just exclude one of them via the excludes/ tag. Or you can try to define two distinct dependencySet respectivly moduleSet/

Re: Junit testing of webapps in maven

2007-08-23 Thread Michael McCallum
junit and testng are testing tools if you use them to test little bits of code thats a unit test if you use it to test the function of something e.g. via selenium then its a functional test I test everything easymock + testng + hsqldb + hibernate + jsf +selenium == testing from db to view

Re: deploying to proximity via webdav

2007-08-23 Thread Heinrich Nirschl
On 8/23/07, Dave Hoffer [EMAIL PROTECTED] wrote: If I recall correctly proximity did not support uploading artifacts only downloading them. This may have changed since we used it however. I think this was one of the reasons we switched to Artifactory. With proximity we were using ftp to

Re: maven assembly plugin to create a remote repository?

2007-08-23 Thread Wim Deblauwe
But according to the documentation of the assembly plugin[1]: This example demonstrates the creation of repository artifacts in an assembly so that the archive can easily be used to update an *internal* repository with the artifacts used by your project. I want to create a directory structure

Re: maven assembly plugin to create a remote repository?

2007-08-23 Thread Stephane Nicoll
Well, you hit part of the actual problem we're facing as well. The documentation referred by your link is wrong. There's a flag that allows to include the metadata in order for the repository to be used as a standard remote repository snip includeMetadata If set to true, this property will

Maven keeps trying to download - even after a success.

2007-08-23 Thread Mark Hansen
Maven2 has sucessfully downloaded the artifact 'servlet-4.1.36.jar' required by my POM. Yet, every time I run 'mvn install, maven2 tries to download it again. See console output below. Why is that? It doesn't seem to be happening with the other dependencies. Thanks -- Mark [INFO]

Re: monitoring builds

2007-08-23 Thread Michael Meyer
Hi we use continuums xml-rpc api for this. Look in the archive for [1.1-beta-1] How does the XML-RPC API work? (Date: 10. August 2007). Emmanuel Venisse explains it nicely. Cheers, michael Ionut S wrote: Hi, I want to implement a system of lava lamps for our continuum server and I need a

Re: maven assembly plugin to create a remote repository?

2007-08-23 Thread Wim Deblauwe
2007/8/23, Stephane Nicoll [EMAIL PROTECTED]: Well, you hit part of the actual problem we're facing as well. The documentation referred by your link is wrong. There's a flag that allows to include the metadata in order for the repository to be used as a standard remote repository ignorebut

Re: monitoring builds

2007-08-23 Thread Michael Meyer
Hi I've only used xml-rpc with continuum 1.1-beta-1. But the documentation [1] suggests that xml-rpc works with 1.0.3 Cheers, michael [1] http://maven.apache.org/continuum/guides/mini/guide-xmlrpc-api.html Ionut S wrote: Do you know when this feature was added ? We still have the 1.0.3

Re: maven assembly plugin to create a remote repository?

2007-08-23 Thread Stephane Nicoll
On 8/23/07, Wim Deblauwe [EMAIL PROTECTED] wrote: 2007/8/23, Stephane Nicoll [EMAIL PROTECTED]: ignorebut that is the official page of the plugin! I would expect some accurate information here. /ignore ignore If you're not happy, provide a patch or open an issue :) There's plenty of things

Re: Eclipse 3.3 plugin artifacts for Maven 2

2007-08-23 Thread Marshall Schor
Hi everyone - Did I ask this question on the wrong list? No one has responded, I think.. Any pointers on how to get this fixed would be appreciated :-) -Marshall Marshall Schor wrote: We have a Maven 2 build that would like to depend on Eclipse 3.3 plugin artifacts. We've found one

Re: Eclipse 3.3 plugin artifacts for Maven 2

2007-08-23 Thread Carlos Sanchez
I'm working on it, it's just that it takes time we use the eclipse plugin with the eclipse:to-maven goal http://maven.apache.org/plugins/maven-eclipse-plugin/ you probably need to build the last code from subversion On 8/23/07, Marshall Schor [EMAIL PROTECTED] wrote: Hi everyone - Did I ask

maven-eclipse-plugin classpathContainers parameter question

2007-08-23 Thread Mark Hansen
I've got a multi-project maven build where some modules use different versions of the JRE than others. I am using eclipse:eclipse to synchronize my maven build process with the eclipse development environment. I use the classpathContainers parameter to specify the JRE for each module.

assembly plugin: transitive dependencies do not get included

2007-08-23 Thread aldana
hi, i am using assembly plugin with standard descriptor jar-with-dependencies. problem is that transitive dependencies do not get included. pom.xml from project A: ... groupIda/groupId artifactIda/artifactId version1.0/version dependencies dependency groupIdtran/groupId

Re: assembly plugin: ordering of dependencies

2007-08-23 Thread aldana
alright, i'll try that as a quick solution. after having refactored i hope i get rid of this evil duplicate class-dependency. Tim Kettler wrote: Hi, As far as I know this is not supported by the assembly-plugin directly. If the two jars contain exactly the same set of classes (just

Re: maven plugin alternative to assembly plugin

2007-08-23 Thread aldana
hi again, i tried to search in archive to find out how to achieve packaging a release like stated below. no success (maybe wrong keywords...). that's why i would like to ask you for an example how to do this. i really need to get rid of this muddy copy all into one jar assembly... many thanks

Re: assembly plugin: ordering of dependencies

2007-08-23 Thread Wayne Fay
You might try using the dependency:unpack mojo to unpack those 2 jars on top of each other. I'm not positive it supports ordering but it would be a quick test to find out if it would work for you. Assuming you could unpack the old one first, and then the new one on top of it, you would achieve the

Re: Maven keeps trying to download - even after a success.

2007-08-23 Thread Wayne Fay
Apparently, you don't have a corresponding pom for the jar. If you look at the warning, you'll see its looking for the POM file not the JAR file. Maven will keep looking for the pom, until it finds one or you give it one. To make this error go away, you'll need to provide a pom for this artifact.

Re: Having trouble using maven-ejb-plugin -- can't get Class-Path in manifest

2007-08-23 Thread jzhang
Tim Kettler wrote: Hi, jzhang schrieb: I am using Maven 2.0.7. In my ear file, I have a ejb jar (called core.jar) that depends on common.jar. They are all in the same ear. I want to have core.jar manifest.mf file have Class-Path entry for common.jar. But I can not get that work. I

Re: Issue with ejb manifest

2007-08-23 Thread jzhang
LarryS wrote: Hi I am hoping somebody can help me understand how manifests are created by the ejb plugin as I am having a strange proble. I have two ejbs in my build. Both have a dependency to another jar which has a jar with hibernate mappings in it. The jar with the hibernate mappings

Creating maven project

2007-08-23 Thread sprabhu
Hi, We am currently using ant for our build environment. We are planning to use Maven for build process. We already have all the third party jar libraries in our cvs repository. In our maven project we want to use this jar files directly instead of providing the groupid, artifactid and

Re: Having trouble using maven-ejb-plugin -- can't get Class-Path in manifest

2007-08-23 Thread Tim Kettler
jzhang schrieb: Tim Kettler wrote: Hi, jzhang schrieb: I am using Maven 2.0.7. In my ear file, I have a ejb jar (called core.jar) that depends on common.jar. They are all in the same ear. I want to have core.jar manifest.mf file have Class-Path entry for common.jar. But I can not get that

M2 How to populate internal repository?

2007-08-23 Thread Chris Helck
I need to populate an inhouse repository so it can act as a stand alone repository. It needs to include the standard maven plugins. I don't want to rsync Ibiblio. I've tried using the assembly plugin to create a repository but it does not include the plugins. What should I do? Thanks, C. Helck

Patch plugin and filter

2007-08-23 Thread JC Walmetz
It would be great to be able to filter patches before applying patch with the patch plugin (plugin such as resources manages this filter). It looks like it is not supported yet. I'd like to filter the patches dir before applying patches (I need to replace some version in patches). Is it possible

Re: M2 How to populate internal repository?

2007-08-23 Thread Stuart McCulloch
On 23/08/07, Chris Helck [EMAIL PROTECTED] wrote: I need to populate an inhouse repository so it can act as a stand alone repository. It needs to include the standard maven plugins. I don't want to rsync Ibiblio. I've tried using the assembly plugin to create a repository but it does not

Re: M2 How to populate internal repository?

2007-08-23 Thread Wendy Smoak
On 8/23/07, Chris Helck [EMAIL PROTECTED] wrote: I need to populate an inhouse repository so it can act as a stand alone repository. It needs to include the standard maven plugins. I don't want to rsync Ibiblio. I've tried using the assembly plugin to create a repository but it does not

Re: Having trouble using maven-ejb-plugin -- can't get Class-Path in manifest

2007-08-23 Thread jzhang
Thanks Tim. I do have these two sites. I searched my local repo and the ejb-plugin is the latest one: 2.1. I also found the release notes for this release:http://www.nabble.com/-ANN--Maven-Ejb-Plugin-2.1-released-tf3208223s177.html#a8909122. If I am reading correctly this manifest is still a bug

Re: Creating maven project

2007-08-23 Thread Wayne Fay
You can use scopesystem/scope in your dependency declaration for this. You can find more documentation online. Having said that, you are STRONGLY advised against using system scope, especially for new users, as it does not always work as you would expect. Instead, you should use Maven the correct

Re: Having trouble using maven-ejb-plugin -- can't get Class-Path in manifest

2007-08-23 Thread Tim Kettler
Create a test project with the following pom (you have to create a test class under 'src/main/java' too. Just 'public class TestClass {}' will do) and do 'mvn package'. The manifest in the created jar will have a classpath entry with all dependencies (including transitive) listed: project

Re: maven-eclipse-plugin classpathContainers parameter question

2007-08-23 Thread Wayne Fay
It is possible this configuration is not currently available in the plugin -- I don't need that myself, and I haven't looked at the code, so I'm not sure myself. If it is not, I expect the code would be relatively trivial to add yourself, and contribute back via a patch. I'd encourage you to take

Re: Having trouble using maven-ejb-plugin -- can't get Class-Path in manifest

2007-08-23 Thread Tim Kettler
jzhang schrieb: Thanks Tim. I do have these two sites. I searched my local repo and the ejb-plugin is the latest one: 2.1. I also found the release notes for this release:http://www.nabble.com/-ANN--Maven-Ejb-Plugin-2.1-released-tf3208223s177.html#a8909122. If I am reading correctly this

Re: Having trouble using maven-ejb-plugin -- can't get Class-Path in manifest

2007-08-23 Thread jzhang
Tim, You are right. I had packagingjar/packaging instead of packagingejb/packaging so the ejb-plugin did not get executed. Now all dependencies are in calss-path. Is there anyway I can select some of them? I don't think includes works here. Thanks, J jzhang wrote: I am using Maven 2.0.7.

Re: M2: Need help with central repositories, and mirrors

2007-08-23 Thread John Quinn
I'd like to piggy back on this thread, since my question is just drilling down further. So, if I say have the following profile in my mvn home settings.xml: profile idmyRepository/id activation jdk1.4/jdk /activation repositories repository

collapsable project reports ...

2007-08-23 Thread Giovanni Azua
Hi all, When using the default project reports i.e. ${reports} in site.xml we get collapsable the two sections project info and project reports but when you have a multi-project and you have to manually add the section to site.xml you do not have that possibility ... the question is how can I

Re: M2: Need help with central repositories, and mirrors

2007-08-23 Thread Tim Kettler
Hi, see comment inline John Quinn schrieb: I'd like to piggy back on this thread, since my question is just drilling down further. So, if I say have the following profile in my mvn home settings.xml: profile idmyRepository/id activation jdk1.4/jdk /activation

Maven eclipse plugin with This project needs to migrate WTP metadata error

2007-08-23 Thread thebugslayer
Hi maven folks, I tried following to create a webapp project to be used in eclipse, but got an error that hope someone can help me resolve. The following commands ran successfully on a terminal: $ mvn archetype:create -DarchetypeArtifactId=maven-archetype-webapp -DgroupId=mywebapp

Re: Maven eclipse plugin with This project needs to migrate WTP metadata error

2007-08-23 Thread Arnaud HERITIER
In eclipse 3.3, it's WTP 2.0 which is bundled (but which isn't yet supported by the eclipse plugin (AFAIK). The R7 is a very old release. You can try with the wtpversion=1.5 to see if eclipse succeed to upgrade the settings. cheers Arnaud On 23/08/07, thebugslayer [EMAIL PROTECTED] wrote: Hi

Cargo plugin not found

2007-08-23 Thread Alexander Sack
I read two threads in the archives and did not see a real fix but I can't get Maven2 to automatically download the Cargo plugin. How the heck is anyone using it? I'm just using: plugins plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId

Question about filtering

2007-08-23 Thread Dave Feltenberger
Hi - I'm working on a project that has the need to do the following, and I can't think of an elegant way of achieving it using Maven without having to call out to Ant: We have several clients, each of which get a customized Java Web Start / .jnlp file. There are only 5 clients now, but the

Re: assembly plugin: transitive dependencies do not get included

2007-08-23 Thread Stephane Nicoll
Mmm. This might be a bug. Check that includeTransitiveDeps is set to true. HTH, Stéphane On 8/23/07, aldana [EMAIL PROTECTED] wrote: hi, i am using assembly plugin with standard descriptor jar-with-dependencies. problem is that transitive dependencies do not get included. pom.xml from

Jar with dependencies help

2007-08-23 Thread Siegmann Daniel, NY
I am trying to assemble a modified version of the jar-with-dependencies. Limiting it to just specific dependencies was easy enough. However, there are a couple of other things I need to do, and I'm not sure how to set up the descriptor. 1. I want to change the final name of the assembly. I don't

Re: Cargo plugin not found

2007-08-23 Thread Wayne Fay
Not sure what exactly the problem is, but make sure you're following the directions... I'd start here: http://cargo.codehaus.org/Maven2+Plugin+Installation If you're still having problems, you can always use the long way to specify a plugin: mvn groupId:artifactId:version:mojo Which becomes: mvn

Re: assembly plugin: transitive dependencies do not get included

2007-08-23 Thread aldana
where do i set option includeTransitiveDeps to true? cannot find it in assembly descriptor schema. Stephane Nicoll-2 wrote: Mmm. This might be a bug. Check that includeTransitiveDeps is set to true. HTH, Stéphane On 8/23/07, aldana [EMAIL PROTECTED] wrote: hi, i am using assembly

Re: Cargo plugin not found

2007-08-23 Thread Alexander Sack
Yeesh, Wayne I must have read those pages now about 100 times. But of course, the javadoc thing still doesn't work and I still have no idea why..this might make me start looking at Maven source! :D! -aps On 8/23/07, Wayne Fay [EMAIL PROTECTED] wrote: Not sure what exactly the problem is, but

webstart plugin users: please test the latest snapshot (1.0-alpha-2 around the corner)

2007-08-23 Thread Jerome Lacoste
Hei, I want to release a new version of the webstart plugin, so all those interested this plugin should make sure the latest SNAPSHOT works for them. I've uploaded the latest snapshot: http://snapshots.repository.codehaus.org/org/codehaus/mojo/webstart-maven-plugin/1.0-alpha-2-SNAPSHOT/

Re: Maven eclipse plugin with This project needs to migrate WTP metadata error

2007-08-23 Thread thebugslayer
Thanks for explaining Arnaud. It works when using version 1.5 then do QuickFix. -Z On 8/23/07, Arnaud HERITIER [EMAIL PROTECTED] wrote: In eclipse 3.3, it's WTP 2.0 which is bundled (but which isn't yet supported by the eclipse plugin (AFAIK). The R7 is a very old release. You can try with

Re: Question about filtering

2007-08-23 Thread Wayne Fay
If you have something that works in Ant, and you're happy with it, then I wouldn't worry too much about doing it in the Maven way. If you really want to make it work the Maven way, I think it might be easiest if you just write a plugin. Wayne On 8/23/07, Dave Feltenberger [EMAIL PROTECTED]

mvn.bat and error_code (Maven 2.0.7 and Windows XP)

2007-08-23 Thread Andreas Guther
Maven 2.0.7 mvn.bat errorlevel return code problem. Hi I am failing to capture the mvn.bat return code. Basically I have a batch file that calls mvn several times. In case of an error I would like to stop calling following mvn calls. Example call mvn clean:clean IF ERRORLEVEL 0 GOTO

RE: Accessing POM properties in a filter

2007-08-23 Thread William Ferguson
OK, well after a bit of investigation I found that the maven-resources-plugin only resolves System properties and simple POM elements, but not POM properties within the Filter before applying them. So I have created a patch that resolves POM properties within filter files too.

Re: mvn.bat and error_code (Maven 2.0.7 and Windows XP)

2007-08-23 Thread Dan Tran
http://jira.codehaus.org/browse/MNG-3084 On 8/23/07, Andreas Guther [EMAIL PROTECTED] wrote: Maven 2.0.7 mvn.bat errorlevel return code problem. Hi I am failing to capture the mvn.bat return code. Basically I have a batch file that calls mvn several times. In case of an error I would

maven release:prepare

2007-08-23 Thread nehta
Hi All, I am new to Maven and have figured out how to use most plugins that I require. However, I am now trying to use the maven release:prepare plugin. For the most part I have figured out how to do what I require, but I am having trouble getting the update dependencies to work in batch mode.

Where to store configuration files?

2007-08-23 Thread lightbulb432
Where's the best place in the standard Maven layout to place configuration files - I don't mean resources that end up bundled with the classes and which are available on the final classpath, like property files. By configuration files, I mean things like development-time web server scripts that

Re: Archiva Dies on Tomcat 5.5.23 on a VPS

2007-08-23 Thread Wendy Smoak
On 8/22/07, bsbodden [EMAIL PROTECTED] wrote: I have an Archiva install on eApps. I'm using Tomcat 5.5.23 all patched up to work with Archiva. Everything seems find until the point that you get redirected to the no-admin user page at which point it just blows Tomcat out of the water. See the

Re: Accessing POM properties in a filter

2007-08-23 Thread Eric Redmond
Why can't you just use ${myProp1} ? Why go through the trouble of refering via project.properties? -- Eric Redmond http://blog.propellors.net On 8/23/07, William Ferguson [EMAIL PROTECTED] wrote: In a resource filter, I can specify tokens like: token1=${project.version}

Re: Where to store configuration files?

2007-08-23 Thread Wayne Fay
Anywhere you want. The directory src/main/config/dev seems reasonable since you don't need these scripts in your final product (in which case, I'd say somewhere under src/main/resources). Wayne On 8/23/07, lightbulb432 [EMAIL PROTECTED] wrote: Where's the best place in the standard Maven

Maven plugin metadata

2007-08-23 Thread Ian Berry
Hi, I am developing a buildinfo plugin, listing all dependencies and plugins used during a build. For snapshot dependencies, and snapshot plugins, I would like to get the build timestamp and build number to include in the output. I have successfully gained this metadata information

Re: Proxying internal repositories?

2007-08-23 Thread Barrie Treloar
On 8/24/07, Brett Porter [EMAIL PROTECTED] wrote: Hi Barrie, Sorry I missed your earlier post. I think this is a valid use case. With the changes I'm making for MRM-462, it should be again possible to proxy file:// repositories, though I think even with the current release you could

RE: [***POSSIBLE SPAM***] - Re: Accessing POM properties in a filter - Email has different SMTP TO: and MIME TO: fields in the email addresses

2007-08-23 Thread William Ferguson
${myProp1} doesn't work either. With a POM declaring myProp1Somevalue/myprop1 A filter.file of some.token=${myProp1} And a resource file with Show.me.the.value.of.some.token=${some.token} The resource file resolves to : Show.me.the.value.of.some.token=${myProp1} Instead of

Maven insist to fetch sibling module from repository

2007-08-23 Thread Zarick Lau
Dear Users and Developers, In a multi-module project (1 parent with 2 sub-module), sub-module-b deps on sub-module-a, when I run maven under the top-level (parent), mvn process-resources Maven will try to grab sub-module-a from repository, as I haven't install / deploy sub-module-a, the build

Suppressing the building of .war file for webapp project

2007-08-23 Thread Zarick Lau
Dear User and Developers, In a packaging=war project, mvn package implies executing plugin war:war. However, is it non-adjustable? Can I change the default goal is exploded instead of war? For some teammates in here, package a war can be pretty time consuming, esp on Windows box. I guess the

Re: Maven insist to fetch sibling module from repository

2007-08-23 Thread Barrie Treloar
On 8/24/07, Zarick Lau [EMAIL PROTECTED] wrote: Dear Users and Developers, In a multi-module project (1 parent with 2 sub-module), sub-module-b deps on sub-module-a, when I run maven under the top-level (parent), mvn process-resources Maven will try to grab sub-module-a from repository,

Re: maven plugin alternative to assembly plugin

2007-08-23 Thread Zarick Lau
On 8/14/07, aldana [EMAIL PROTECTED] wrote: hi, does anybody know an alternative to assembly plugin which is mainly putting all stuff into a single jar. would prefer a layout where libraries are organized as following: -mainJar.jar -lib/ -dependentJar1 -dependentJar2 -... the

Re: [***POSSIBLE SPAM***] - Re: Accessing POM properties in a filter - Email has different SMTP TO: and MIME TO: fields in the email addresses

2007-08-23 Thread Tim Kettler
Hi, The probem is that for this to work the filters file would need to be filtered too, which is not the case. Use your declared properties directly in the resource files you want filtered and don't do the extra indirection via the filters file. -Tim William Ferguson schrieb: ${myProp1}

Re: Activating a Profile from another Profile

2007-08-23 Thread Tim Kettler
Hi, No, this is currently not possible directly. However, what you can do is activate the set of profile via a system property you specify on the commandline ('mvn -Ddev ...'): profiles profile iddev/id activation property namedev/name /property /activation

Re: Having trouble using maven-ejb-plugin -- can't get Class-Path in manifest

2007-08-23 Thread Tim Kettler
I don't know a way to do this. Why do you want to do this at all? Either your jar depends on a other jar, then you declare it in a dependency and it ends up in the classpath entry or you dont't depend on it, then just don't declare the dependency at all. -Tim jzhang schrieb: Tim, You are