Is there a standard way to provide build time properties to an application?

2008-07-25 Thread Brewster, Richard
The general idea is to create a properties file and package it in the jar or war on the classpath, so it can be read at runtime. Thanks, Richard Brewster Senior Associate Perrin Quarles Associates [EMAIL PROTECTED] (434) 817-2640

dependencyManagement and dependence of a separate project on a core module

2008-07-09 Thread Brewster, Richard
We have a separate project that wants to use a module with jar packaging, the core, from another project. That core module's dependencies take their artifact versions from dependencyManagement in its parent pom (which we understand is a good practice). When the core is installed to the local mave

RE: maven-default-skin artifact is failing our builds

2008-05-07 Thread Brewster, Richard
More information: This happens only with the site goal. Richard Brewster Senior Associate Perrin Quarles Associates [EMAIL PROTECTED] (434) 817-2640 -Original Message- From: Brewster, Richard [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 07, 2008 12:50 PM To: Maven Users List Subject

maven-default-skin artifact is failing our builds

2008-05-07 Thread Brewster, Richard
[INFO] artifact org.apache.maven.skins:maven-default-skin: checking for updates from central [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '7f1b64b38fb9268def21e3808c0d44 8146d7bf37'; remote = 'fa58f552f7b0d2d697f7b006e4b007996bcbaae1' - RETRYING [WARNING] *** CHECKSUM FAILED

RE: maven.repo.local, again

2008-05-06 Thread Brewster, Richard
Does Maven provide a property with the path to the local repo? I think the answer is 'no'. I define a real property in my settings.xml, redundantly with . c:/m2/repository my-profile true c:/m2/reposit

RE: How can I use a plugin SNAPSHOT version?

2008-04-11 Thread Brewster, Richard
dehaus.org/ because the plugin you want is not in the Apache snapshot repo. That will get the plugin into your local repository. I can't help you with getting it to your repo server though. Brewster, Richard wrote: > I want to use the latest version of this

How can I use a plugin SNAPSHOT version?

2008-04-10 Thread Brewster, Richard
I want to use the latest version of this plugin: http://snapshots.repository.codehaus.org/org/codehaus/mojo/jboss-maven-p lugin/1.3.2-SNAPSHOT/ What's the procedure for getting this into my local repository, and then into my company's Artifiactory? Thanks, Richard Brewster Senior Associate Perr

RE: maven properties seem not to work in profile activation feature

2008-02-28 Thread Brewster, Richard
maven.test.skip Richard Brewster Senior Associate Perrin Quarles Associates [EMAIL PROTECTED] (434) 817-2640 -Original Message- From: Arnd Kleinbeck [mailto:[EMAIL PROTECTED] Sent: Thursday, February 28, 2008 5:57 AM To: Maven Users List Cc: Brewster, Rich

RE: maven properties seem not to work in profile activation feature

2008-01-16 Thread Brewster, Richard
I ran into this before. The element is *NOT* a property. Although it can be referenced like one, it does not behave as expected. /m2/repository I defined my own local.repository property that duplicates the path, so I could reference it. In the properties element in settings.xml: /m2/re

Maven bypassing declarations?

2008-01-09 Thread Brewster, Richard
We have set up Artifactory at our company and the only references in refer to Artifactory. Yet Maven seems to go around Artificatory for some artifacts. When building up a clean, empty local repository, some artifacts are found that are not cached in Artifactory. How can this be happening? Some

RE: How to avoid transitive Dependencies getting packaged

2008-01-08 Thread Brewster, Richard
Why do you want to exclude the transitive dependencies? Is it because these provided by your container (JBoss, Tomcat) and you wish to use those provided versions? How do you verify that the container's versions are compatible? Richard Brewster Senior Associate Perrin Quarles Associates [EMAIL P

Coverage report of web application integration test with cobertura-maven-plugin

2007-12-13 Thread Brewster, Richard
I want to produce a coverage report for the integration test phase of a web application (war packaging). My integration tests are run by the Cargo maven plugin launching JBoss 4.0.5. I've been using the 2.0 version of the cobertura-maven-plugin (and will try the upgrade to 2.2). I have a modular

RE: localRepository property prepends backslash on Windows

2007-12-10 Thread Brewster, Richard
Associates [EMAIL PROTECTED] (434) 817-2640 -Original Message----- From: Brewster, Richard [mailto:[EMAIL PROTECTED] Sent: Friday, December 07, 2007 5:43 PM To: users@maven.apache.org Subject: localRepository property prepends backslash on Windows I am using the maven-antrun-plugin to execut

RE: Dependency question

2007-12-10 Thread Brewster, Richard
Declare the dependency as test scope: ${jdbc.groupId} ${jdbc.artifactId} ${jdbc.version} test Richard Brewster Senior Associate Perrin Quarles Associates [EMAIL PROTECTED] (434) 817-2640 -Original Message- From: Jason Po

localRepository property prepends backslash on Windows

2007-12-07 Thread Brewster, Richard
I am using the maven-antrun-plugin to execute a simple copy task that configures my JBoss instance prior to running integration-test with Cargo. I want to include the JDBC driver jar, which is installed into my local maven repository. I've relocated the repository in settings.xml as follows: C:/