Re: archiva-1.0.2 eta?

2008-02-26 Thread Brett Porter
Are these issues new, or were they present before (just wondering if it's a regression because of my changes). Anyway, I can add more tests. How is the performance/stability after a little while now? - Brett On 27/02/2008, Jason Chaffee [EMAIL PROTECTED] wrote: Looks like I still have some

Re: archiva-1.0.2 eta?

2008-02-26 Thread Brett Porter
I see - have you customised the default logging levels? - Brett On 27/02/2008, Jason Chaffee [EMAIL PROTECTED] wrote: I think it has something to do with the log file reaching 2 GB in size. I couldn't even restart it until I remove the log files. -Original Message- From: Jason

RE: archiva-1.0.2 eta?

2008-02-26 Thread Jason Chaffee
I have not. Is that configured in the plexus.xml? -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 26, 2008 10:06 PM To: archiva-users@maven.apache.org Subject: Re: archiva-1.0.2 eta? I see - have you customised the default logging levels? -

Re: Unable adding continuum in startup service [SOLARIS]

2008-02-26 Thread Emmanuel Venisse
What is your error? Emmanuel On Tue, Feb 26, 2008 at 6:59 AM, Tony.Cesc [EMAIL PROTECTED] wrote: Hi All, I have a problem when trying to auto start Continuum when my Solaris reboot. I do exactly as the guide in Continuum website:

cannot start continuum [Could not load plexus context properties from: '/WEB-INF/plexus.properties']

2008-02-26 Thread Cla Emanuel Monsch
hi there does anybody know, where this file(/WEB-INF/plexus.properties) is located? or is there a known problem in conjunction with that file? thanks for your hints... regards cla INFO | jvm 1| 2008/02/26 09:54:05 | [INFO] Using standard webapp classloader for webapp. INFO | jvm

Password expiration

2008-02-26 Thread Ben Popp
Hello - I'm using continuum 1.1 and my passwords just started to expire: Password will expire on Tue Feb 26 14:03:45 EST 2008. Is there any way to either disable password expiration, disable the requirements to cycle passwords, or extend the timeout period for expiration? I looked through

Adding a Project using XML-RPC - Broken?

2008-02-26 Thread kroe
I am tinkering with the ContinuumXmlRpcClient and think I found a bug. When calling addMavenTwoProject and specifying the project group id I get an exception. Am I doing something wrong, or is this method broken? Thanks, -Ken INFO | jvm 1| 2008/02/26 18:05:53 |

Re: Unable adding continuum in startup service [SOLARIS]

2008-02-26 Thread Tony.Cesc
I mean, the error is continuum doesn't start when reboot Solaris. Do you have any suggestion? Tony Emmanuel Venisse-2 wrote: What is your error? Emmanuel On Tue, Feb 26, 2008 at 6:59 AM, Tony.Cesc [EMAIL PROTECTED] wrote: Hi All, I have a problem when trying to auto start

best practice for own repository

2008-02-26 Thread Alexander Petri
Hi, i'm very new to maven2. I have a question about private libraries which I would use in my projects. The problem is how to bind them in maven. Are there any suggestions to do that? thanks

RE: Mevenide vs. M2Eclipse, Q for Eclipse/IAM

2008-02-26 Thread Boeckli, Dominique
all these tools are not ready, in my opinion, but it is worth to take a look at them from time to time. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Chris Sent: Sunday, February 24, 2008 02:45 AM To: users@maven.apache.org Subject: Mevenide vs. M2Eclipse, Q for

RE: best practice for own repository

2008-02-26 Thread nicklist
Take a look at Archiva or Artifactory. That way you can run your own repositories. Deploy releases and snapshots in seperate inhouse repositories. Deploy third party libraries that are for the moment not on central into a third party repository. Will also mirror central for your development

Re: war directory exploded / how to do thi sin maven

2008-02-26 Thread Stephen Connolly
We have developed a lot of web apps with Maven and IDEA. The war plugin builds an exploded war file in target/${ project.build.finalName} There is a configuration option for the war plugin that controls whether it packages up the classes in the war module as a jar file and puts that in

Re: Javascript support

2008-02-26 Thread Adrian Herscu
Harlan, thanks for your fast reply. It works! However, I am not sure what the goalwar-package/goal does (as in the example here: http://mojo.codehaus.org/javascript-maven-tools/guide-webapp-development.html) Adrian. Harlan Iverson wrote: The javascript plugin is currently sandboxed, so

Re: Problem with maven-dependency-plugin: copy-dependencies

2008-02-26 Thread Stephen Connolly
Have you been doing a build clean? If you don't do a clean build then artifacts from the previous build can end up hanging around -Stephen On Tue, Feb 26, 2008 at 7:11 AM, amit kumar [EMAIL PROTECTED] wrote: Hi, Now this is a new problem, I am seeing the dependency getting packaged as

Re: Problem with maven-dependency-plugin: copy-dependencies

2008-02-26 Thread amit kumar
Hi, Got it resolved. Actually I was using jboss-sar packaging for my project and addition to that I was also using copy-dependencies, which was not required since jboss-sar plugin also copies the dependencies to lib folder. This was creating the problem. I had removed copy-dependencies now and it

Re: SNAPSHOT

2008-02-26 Thread amit kumar
Hi, Got it resolved. Actually I was using jboss-sar packaging for my project and addition to that I was also using copy-dependencies, which was not required since jboss-sar plugin also copies the dependencies to lib folder. This was creating the problem. I had removed copy-dependencies now and it

Add jdom 1.1 to repo1.maven.org

2008-02-26 Thread Kees van Dieren
Hi Folks, Can you please add the latest version of jdom (version 1.1) to the maven repository? GroupId / Artifact: http://repo1.maven.org/maven2//jdom/jdom/ Jdom sources / binaries: http://www.jdom.org/dist/binary/ http://www.jdom.org/dist/source/ Thanks! Best regards, Kees van Dieren --

Re: Add jdom 1.1 to repo1.maven.org

2008-02-26 Thread Stuart McCulloch
On 26/02/2008, Kees van Dieren [EMAIL PROTECTED] wrote: Hi Folks, Can you please add the latest version of jdom (version 1.1) to the maven repository? FYI, the usual process is to raise a new upload request: http://jira.codehaus.org/browse/MAVENUPLOAD rather than post to the mailing

Antwort: Re: Antwort: Re: Antwort: Re: simple question concerning transitive dependencies [Virus checked]

2008-02-26 Thread Wolfgang . Schrecker
Hi Simon, somewhere in the company there is a group creating something, let's say for batch import/export. not all projects need this, but most do. this [application,component,set of libraries] may be used in at least two ways: 1.) you include the 15 dependencies from this

Test classpath problem in multi module project

2008-02-26 Thread Petr Nejedly
Hi guys, I'm trying to solve this issue for a few days and haven't been able to crack it so far. The scenario is following: I have a parent project that includes sub-modules, each having their own pom.xml. Each of these modules produces an ejb3 package. I want to be able to run

Re: Test classpath problem in multi module project

2008-02-26 Thread VUB Stefan Seidel
Hi Petr, is seems to me that you're trying to work around maven mechanisms, which is usually not a good idea. In this case, although I haven't completely understood what you are trying to do, I can share some experience about EJB3 and Testing. I have one artifact P where the JBoss embedded

Re: Retrieving surefire classpath from a test class

2008-02-26 Thread VUB Stefan Seidel
I am looking for a solution to that too. My workaround was until now to pick specific classes whose JAR files I needed and do _class.getResource(/ + _class.getCanonicalName().replace(., /) + .class).toString().replaceAll(-client.jar!, .jar!).replaceFirst(jar:file:([^!]+).*, $1) and append

Re: Cargo does not work when using profiles in the pom.xml (profile IS active).

2008-02-26 Thread Marcelo Alcantara
Anybody? Thanks in advance! Marcelo On Mon, Feb 25, 2008 at 4:45 PM, Marcelo Alcantara [EMAIL PROTECTED] wrote: Hi, I am trying to use cargo based on the pom.xml profile configuration. When executing mvn cargo:start it says it cannot find the plugin with this prefix (cargo). When I use

Re: Retrieving surefire classpath from a test class

2008-02-26 Thread Alexander Klimetschek
Thanks Stefan, nice hack ;-) I didn't know that you can get the Jar file via the class resource URL, but it makes sense. FYI, I made a useful method out of this (I removed the special - client.jar replacement): /** * Returns the path to the JAR file that a certain class is located in.

Re: Cargo does not work when using profiles in the pom.xml (profile IS active).

2008-02-26 Thread VUB Stefan Seidel
Hi, why do you use pluginManagement within a profile? Also, you can always define the plugin outside the profile in pluginManagement without the executions and within the profile with the executions. Have you tried mvn cargo:start -Pjboss anyway? Stefan Marcelo Alcantara wrote: Hi, I am

Re: Trouble with Tomcat / MyFaces in Maven JUnits

2008-02-26 Thread VUB Stefan Seidel
Hi, I could be totally wrong, but I remember something like tomcat scanning the JARs in java.class.path for JSP tag libraries. As maven does not set java.class.path to the test class path, this could be the problem. In your test, try invoking the method presented in

Re: Retrieving surefire classpath from a test class

2008-02-26 Thread VUB Stefan Seidel
Yes, that client was just because from within an Maven execution the classpath would give me the -client.jar first, but I needed the jar without client. Stefan Alexander Klimetschek wrote: Thanks Stefan, nice hack ;-) I didn't know that you can get the Jar file via the class resource URL,

Re: Mevenide vs. M2Eclipse, Q for Eclipse/IAM

2008-02-26 Thread Rodrigo Madera
The problem is when you don't have that time to time. Once you implement one, its very hard for you to get time to implement another one. Specially since there is no such thing as fail-safe plugin installations. Not to mention the learning curve each one requires. IOW: For a business, its better

RE: [m2] Filtering web.xml?

2008-02-26 Thread Henri Gomez
I had similar problem with a webapp I developed few months ago, so I used this war filtering feature to add build number and deploy time and other informations to jsp files as comment tags filtered by maven. Could you tell us how you do that ? It's really simple to changes web.xml contents with

Plugin configuration in pluginManagement?

2008-02-26 Thread Niall Pemberton
Apache commons has a parent pom[1] used by the 34 or so components that are part of that project. We had some configuration for the maven-compiler-plugin in the build/plugins section, but this has been moved to the build/pluginManagement/plugins section [2] and I'm wondering what the implications

Re: Using different localRepositories in a continuous build environment?

2008-02-26 Thread Rémy Sanlaville
Effectively Wendy, I forget this -Dmaven.repo.local argument. Nevertheless, reproducibility is the way to go. For the moment, I found that it is difficult to be 100% sure without cleaning the local repository. It's possible for instance to just do it once by night (and not for all build). We can

Best practice to represent an arbitrary collection of jars as a single dependency?

2008-02-26 Thread Brown, Carlton
Hi all, newb question here... Somewhere long ago, an internal dev project started depending on foo-corp/lib/**/* of a 3rd-party framework, which ends up being a random collection of 50 jars or so. What's the Maven best practice for representing a big bag o' jars as a single dependency? I

Re: Best practice to represent an arbitrary collection of jars as a single dependency?

2008-02-26 Thread Wayne Fay
Just make a project with type pom and specify these dependencies. Then, depend on this project in your other projects, and it will bring in those dependencies transitively. If you're certain about those versions, you can lock them down with version[1.2.3]/version. Wayne On 2/26/08, Brown,

Re: Best practice to represent an arbitrary collection of jars as a single dependency?

2008-02-26 Thread Dirk Olmes
Brown, Carlton wrote: Hi all, newb question here... Somewhere long ago, an internal dev project started depending on foo-corp/lib/**/* of a 3rd-party framework, which ends up being a random collection of 50 jars or so. What's the Maven best practice for representing a big bag o' jars as a

jaxrpc-impl 1.1.3_01 wscompile

2008-02-26 Thread deckrider
Hello, We are using com.sun.xml.rpc:jaxrpc-impl:1.1.3_01 in the following ant task. I was wondering if there was a plugin that would be better, that would still produce the mapping? Thanks! plugin artifactIdmaven-antrun-plugin/artifactId executions execution

RE: Best practice to represent an arbitrary collection of jars as a single dependency?

2008-02-26 Thread Brown, Carlton
These approaches both involve resolving each jar as an individual separate dependency, a large amount of manual effort for a couple of reasons. I'd have to specify 50 new dependencies in the POM, and then I'd have to stage these artifacts separately in our internal repository. This jar collection

Re: Best practice to represent an arbitrary collection of jars as a single dependency?

2008-02-26 Thread Wayne Fay
I guess we don't understand what you want/need, as it sounds a lot like what we're suggesting. You can manage the artifacts themselves by using Archiva etc rather than asking Maven to download direct from the Internet. An alternative is to unzip each jar into a shared directory and then re-jar

specifying version of Ant to use for maven-ant-run

2008-02-26 Thread Marshall Schor
We need to have the maven ant run plugin to run ant at version 1.7.0. How should this be specified? We tried putting in the POM: plugin artifactIdmaven-antrun-plugin/artifactId dependencies !-- Ant -- dependency

Re: specifying version of Ant to use for maven-ant-run

2008-02-26 Thread Wayne Fay
version1.7.0/ is merely a strong suggestion to Maven. version[1.7.0]/ will fail the build if it is unable to acquire this artifact. As for the missing 1.7.0 jar files, please ask the Ant team to upload them, or move them to a shared sync directory etc (depends on how they have set this up).

RE: Best practice to represent an arbitrary collection of jars as a single dependency?

2008-02-26 Thread Brown, Carlton
I want to take a single directory of ~50 jars and specify that as a single dependency. I'm explicitly trying to avoid specifying them as 50 separate dependencies in a pom file, or breaking them out in 50 different module subdirectories under an internal Archiva repository. It sounded to me as

RE: Best practice to represent an arbitrary collection of jars as a single dependency?

2008-02-26 Thread Beelen, M. - SPLXL
Hello, If you want to ensure that no other jar's get included in your application withour going to the internal QA process I would suggest installing a local repository manager (Archiva or Artifactory). That way you can configure the repository manager to never connect to a central repository

Re: specifying version of Ant to use for maven-ant-run

2008-02-26 Thread Marshall Schor
Wayne Fay wrote: version1.7.0/ is merely a strong suggestion to Maven. version[1.7.0]/ will fail the build if it is unable to acquire this artifact Further investigation shows these dependency statements added ant to the compile scope - I think this has nothing to do with what ant-run uses.

Re: Best practice to represent an arbitrary collection of jars as a single dependency?

2008-02-26 Thread Wayne Fay
This simply is not a feature that currently exists in Maven, and for a lot of reasons, I don't see it being a feature that will be implemented any time soon. Your best bet is the list all artifacts as dependencies in a pom, and depend on it option that I suggested earlier. This in combination

Re: specifying version of Ant to use for maven-ant-run

2008-02-26 Thread Wayne Fay
The easiest solution would be to build your own internal pom for maven-antrunner-plugin and specify the ant 1.7 artifacts as dependencies, then declare that plugin version number in your pom where you need to run the ant 1.7 version. Your version would be something like 1.1-SCHOR. Grab the source

Re: Strange maven compile error

2008-02-26 Thread Michael Mehrle
That makes sense actually - thanks. However, it doesn't give me much hope... Question: how were you able to find the piece of code that was triggering this error? We have a mixed dev environment and it's pretty unrealistic that everyone is going to update their JDK (and to do it on our servers)

Re: Strange maven compile error

2008-02-26 Thread Wayne Fay
Compile directly with javac, set your classpath manually with -cp, and use -verbose so you know what class (and line?) it quits on. Its also possible (likely?) that a similar verbose setting may exist in plexus compiler, but I'm just not sure and I haven't looked, so you might be able to get the

Re: war directory exploded / how to do thi sin maven

2008-02-26 Thread Marco Mistroni
Stephen, thanks a lot! it was exactly what i was after any chances u can share your pom.xml? thanks in advance and regards marco On Tue, Feb 26, 2008 at 8:26 AM, Stephen Connolly [EMAIL PROTECTED] wrote: We have developed a lot of web apps with Maven and IDEA. The war plugin builds an

Re: war directory exploded / how to do thi sin maven

2008-02-26 Thread Stephen Connolly
project ... packagingwar/packaging build plugins artifactIdmaven-war-plugin/artifactId configuration *archiveClassesfalse/archiveClasses*** /configuration /plugins /build /project On Tue, Feb 26, 2008 at 8:13 PM, Marco Mistroni [EMAIL PROTECTED] wrote: Stephen,

Re: Cargo does not work when using profiles in the pom.xml (profile IS active).

2008-02-26 Thread Marcelo Alcantara
Hi Stefan, Thanks for your attention. After you mentioned the pluginManagement, I decided to look at this tag/config, and found out that it was the problem. From the POM reference, I could notice that what is below pluginManagement does not work by itself. And that you shoud also define the

maven-eclipse-plugin 2.4 versioned projects

2008-02-26 Thread Salman Moghal
Hello: I'm using maven-eclipse-plugin v2.4 to generate WTP 1.5 resource for Eclipse 3.2.x / RAD v6.x environment. The goal of this exercise is to take advantage of Eclipse 3.2 / RAD v6.x integrated development, debugging, and hot code deployment features. The runtime environment is

Re: specifying version of Ant to use for maven-ant-run

2008-02-26 Thread Dennis Lundberg
Wayne Fay wrote: The easiest solution would be to build your own internal pom for maven-antrunner-plugin and specify the ant 1.7 artifacts as dependencies, then declare that plugin version number in your pom where you need to run the ant 1.7 version. Your version would be something like

Re: specifying version of Ant to use for maven-ant-run

2008-02-26 Thread Marshall Schor
Wayne Fay wrote: The easiest solution would be to build your own internal pom for maven-antrunner-plugin and specify the ant 1.7 artifacts as dependencies, then declare that plugin version number in your pom where you need to run the ant 1.7 version. Your version would be something like

Re: war directory exploded / how to do thi sin maven

2008-02-26 Thread Marco Mistroni
Stephen, thanks a lot! i owe u a beer... let me know when u r around LOndon :) really, it saved me lot of time! thanks again and regards marco On Tue, Feb 26, 2008 at 8:33 PM, Stephen Connolly [EMAIL PROTECTED] wrote: project ... packagingwar/packaging build plugins

Re: Multi-Module Hierarchy : Eclipse vs Maven Plugins

2008-02-26 Thread Marcelo Alcantara
Great topic. Thanks. On Mon, Feb 25, 2008 at 3:52 AM, Andrew Hughes [EMAIL PROTECTED] wrote: Thanks Graham! I works this out just as I got your email :) To explain this to others... taking a multi module maven project either out of svn/cvs (Q: outside eclipse only?) or creating one from

Re: Best practice to represent an arbitrary collection of jars as a single dependency?

2008-02-26 Thread Michael McCallum
On Wed, 27 Feb 2008 07:41:16 Wayne Fay wrote: This simply is not a feature that currently exists in Maven, and for a lot of reasons, I don't see it being a feature that will be implemented any time soon. Your best bet is the list all artifacts as dependencies in a pom, and depend on it

pom.xml

2008-02-26 Thread Julius Henderson
Hello, I am installing an instance of OGCE which uses maven 2. Under the install documentation it says the following: Edit the properties at the top of pom.xml. You should should minimally edit portal.server.ip/ and host.base.url/ If I am installing OGCE for testing purposes on my machine

Re: specifying version of Ant to use for maven-ant-run

2008-02-26 Thread Marshall Schor
Dennis Lundberg wrote: ... There is an issue for this in JIRA already: http://jira.codehaus.org/browse/MANTRUN-68http://jira.codehaus.org/browse/MANTRUN-68 I see that issue is more than a year old, and is still open. Until this is fixed, is there a recommended work-around? -Marshall

Re: pom.xml

2008-02-26 Thread Wayne Fay
You should probably ask the OGCE guys what properties to use, as they are the experts when it comes to OGCE, right? Unless someone on this list is randomly an OGCE developer, you're unlikely to have much success on this list with this kind of question. Come back and ask us when you have

Re: Best practice to represent an arbitrary collection of jars as a single dependency?

2008-02-26 Thread Olivier Dehon
I had to resolve a similar issue when trying to compile RAD projects with Maven. RAD comes with WebSphere runtime JARs in a specific directory (which would be provided on the WebSphere server). By default, RAD uses those runtime libraries without the need to specify the dependency in the

Re: maven-eclipse-plugin 2.4 versioned projects

2008-02-26 Thread Olivier Dehon
Sorry to reply to your question with another question, but does RAD6 really supports WTP 1.5 ? I was under the impression that RAD7 only supported that version. -Olivier On Tue, 2008-02-26 at 12:38 -0800, Salman Moghal wrote: Hello: I'm using maven-eclipse-plugin v2.4 to generate WTP 1.5

Multi-module lack of inheritance

2008-02-26 Thread Rodrigo Madera
I have a project layout like this: myapp pom.xml (packaging = pom, name = MyApp Parent) api pom.xml (packaging = jar, name = MyApp API) core pom.xml (packaging = jar, name = MyApp Core) extensions pom.xml (packaging

Re: Multi-module lack of inheritance

2008-02-26 Thread Olivier Dehon
Does extensions/pom.xml define myapp/pom.xml as its parent in the parent section? -Olivier On Wed, 2008-02-27 at 02:57 +, Rodrigo Madera wrote: I have a project layout like this: myapp pom.xml (packaging = pom, name = MyApp Parent) api pom.xml

Re: Multi-module lack of inheritance

2008-02-26 Thread Rodrigo Madera
I'm telling you... you should code for more than 16 hours straight!! =p Thanks Olivier, sorry guys for such a basic error on the list. Regards, Rodrigo On Wed, Feb 27, 2008 at 3:04 AM, Olivier Dehon [EMAIL PROTECTED] wrote: Does extensions/pom.xml define myapp/pom.xml as its parent in the

Cargo: custom ctx path for deployment

2008-02-26 Thread Clifton
I have what seems like a simple task but is getting out hand. We deploy servlet war webapps from a multi-module Maven2 build to a central Tomcat 5.x server. I want to customize the deployment of webapps to a central server for each developer. Right now I have two profiles setup, dev and staging.

Re: Best practice to represent an arbitrary collection of jars as a single dependency?

2008-02-26 Thread Wayne Fay
I'm honestly unsure as to which solution is right and as above, it just got confusing for me. I believe version ranges in dependencyManagement is the right solution in these cases. Also it is important that your developers keep consistent APIs across say 1.2.x series and bump versions to 1.3.x or

RE: Maven variables?

2008-02-26 Thread Bart Reader
Just wanted to thank for the reply, it was just what I needed. I thought that there would be more hidden properties. Bart --- the closest explanation I've seen to date is here http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide

RE: IllegalStateException only when building the main project

2008-02-26 Thread Bart Reader
I found the fault in the pom of the war module. It uses a path src\main\webapp that should be ${basedir}/src/main/webapp Bart I have a maven project containing 7 modules. In short there's 3 jar modules, a module to

Continuum won't start after continuum-1.0.3 folder restore - please help

2008-02-26 Thread PeteTh
Using Continuum 1.0.3 on Unix, I messed up yesterday by restarting Continuum but I was logged in under the root user - it normally runs under a different user. Then when started using normal user the Derby would only start in READ ONLY mode. So rather then mess around we restored the :-

Re: archiva-1.0.2 eta?

2008-02-26 Thread Brett Porter
On 27/02/2008, Jason Chaffee [EMAIL PROTECTED] wrote: I have not. Is that configured in the plexus.xml? No, log4j.xml - but it seems like the problem is just too many exception messages? Is that what is filling the log so fast? - Brett -- Brett Porter Blog: http://blogs.exist.com/bporter/

RE: archiva-1.0.2 eta?

2008-02-26 Thread Jason Chaffee
I found it in apps/archiva/webapp/WEB-INF/classes -Original Message- From: Jason Chaffee [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 26, 2008 10:52 PM To: [EMAIL PROTECTED] Subject: RE: archiva-1.0.2 eta? Yep, that is what causing it to manifest. However, I would like to change

Re: archiva-1.0.2 eta?

2008-02-26 Thread Brett Porter
assuming you are using the tar.gz distribution, it's in apps/archiva/WEB-INF/classes On 27/02/2008, Jason Chaffee [EMAIL PROTECTED] wrote: Yep, that is what causing it to manifest. However, I would like to change the log4j.xml to use a RollingFile base on file size and not a