Re: maven archiva vs. maven repo

2008-04-11 Thread Trevor Torrez
On Fri, Apr 11, 2008 at 12:33 PM, [EMAIL PROTECTED] wrote: This is a very common pitfall Maven users can fall in. You are using a local repository as remote repository. I thought there was some information on the maven site about the differences between remote and local repositories, but

Documentation on profile activation by property

2008-04-11 Thread Trevor Torrez
Is there documentation available on the specifics of profile activation? I think I read somewhere that activation property namestage/name value!test/value /property /activation will activate a profile if the stage property does NOT have the value

Re: Documentation on profile activation by property

2008-04-11 Thread Trevor Torrez
/guides/introduction/introduction-to-profiles.html http://techpolesen.blogspot.com/2007/08/maven-profiles-activation-by-property.html On 4/11/08, Trevor Torrez [EMAIL PROTECTED] wrote: Is there documentation available on the specifics of profile activation? I think I read somewhere

Re: cobertura + surefire config

2008-03-25 Thread Trevor Torrez
As far as I am aware this is a known issue with no resolution. Perhaps we can get the cobertura plugin to expose a report-only goal and always do instrumentation for the tests. That was the approach I used to use with ant. On Tue, Mar 25, 2008 at 12:13 PM, Brian Relph [EMAIL PROTECTED] wrote:

Re: cobertura + surefire config

2008-03-25 Thread Trevor Torrez
single core and multi-core machines, with linux and windows as the OS) - You kinda need Hudson's matrix projects to run those boys for you though!) -Stephen On Tue, Mar 25, 2008 at 4:54 PM, Trevor Torrez [EMAIL PROTECTED] wrote: As far as I am aware this is a known issue

Re: [POLL] Why are you not able to use the most recent maven release?

2008-03-15 Thread Trevor Torrez
I'm responsible for the technical architecture of many projects at my location. One project in particular (still in active development with code released to production) will likely never upgrade past 2.0.4 because of the changes to dependency resolution. Although these changes are a good thing,

Re: Ojdbc Dependency Issue

2008-03-15 Thread Trevor Torrez
I do want to point out that 14 is not the version of ojdbc. It's the J2SE version that that jar supports; classes12 is for java 1.2, ojdbc14 is for java 1.4, ojdbc5 and ojdbc 6 are for java 5 and 6 respectively. You should probably be referencing the jars as dependency

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

2008-03-06 Thread Trevor Torrez
On Tue, Feb 26, 2008 at 5:07 PM, Marshall Schor [EMAIL PROTECTED] wrote: 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

mvn install/deploy (2.0.4) does not install/deploy sources, tests, or test sources when building a tagged project with release poms

2008-02-15 Thread Trevor Torrez
When I run 'mvn install' or 'mvn deploy' from a tag (created with the maven-release-plugin and keeping the release poms) the sources, tests, and test-sources artifacts are not installed or deployed. After I delete the release poms the project builds, installs, and deploys correctly. Is there a

Re: double build

2008-02-13 Thread Trevor Torrez
how do you do this if you need both? do you have to run maven twice, once for each profile? Thanks On Jan 29, 2008 8:24 AM, Erez Nahir [EMAIL PROTECTED] wrote: Hi supareno, Maven profile is your friend in this case, see

Re: surefire-report-plugin running tests of all dependent modules again?

2008-02-13 Thread Trevor Torrez
I would like to second this sentiment. Is there a plugin that can add the current plugin version information to the pom? I also definately think this information should be added to poms processed with the release plugin (if it isn't already). Thanks On Jan 29, 2008 5:49 PM, Joerg Hohwiller

Replacement for Ant's FixCRLF

2007-08-06 Thread Trevor Torrez
As noted at the end of the antrun plugins' usage page (http://maven.apache.org/plugins/maven-antrun-plugin/usage.html) the resources plugin can be used in lieu of Ant's FixCRLF task. Any example on how to do this when the build takes place on a windows continuous build server and the assembly

Re: problems with mvn2, Spring and Hibernate... anyone could help?

2007-07-05 Thread Trevor Torrez
The problem is with the ability of the JVM to enumerate resources in the root of the classpath when these resources are in jars. The mappingJarLocations property would be used to search through jars that are *not* normally on the classpath, so you shouldn't be using that for WEB-INF/lib jars; in

Re: Problems with Maven, Hibernate and Spring

2007-04-25 Thread Trevor Torrez
You should be referencing the hibernate mappings as classpath:/path/to/**/*.hbm.xml. Having a path is imoprtant -- do not just dump the config files for spring or hibernate in the top level of src/main/resources; then in the resource location specify at least one folder in the package structure

Re: Creating a target/lib with all project dependencies

2007-04-25 Thread Trevor Torrez
the build-classpath seems to be broken on windows: c:\webarch\.maven-local-repo\aopalliance\aopalliance\1.0\aopalliance-1.0.jar:c:\ webarch\.maven-local-repo\asm\asm\1.5.3\asm-1.5.3.jar:c:\webarch\.maven-local-re Its separating the elements with ':' not ';' -- did someone not use

Re: Exclude some classes when package a jar.

2007-04-25 Thread Trevor Torrez
How would you post process a jar and what phase would that process be bound to? On 4/11/07, Jerome Lacoste [EMAIL PROTECTED] wrote: On 4/11/07, JesseLiu [EMAIL PROTECTED] wrote: All, I have a jar project. When packaging, I want some specified class excuded from the jar file. How should I

commons-logging dependency

2007-04-25 Thread Trevor Torrez
I'm trying to eliminate commons-logging from being transitively passed on to projects that depend on my library and my library uses spring. Spring uses commons-logging but doesn't mark it as optional or scope:provided, however when I try to exclude commons logging from a spring dependency, I no

Re: commons-logging dependency

2007-04-25 Thread Trevor Torrez
] wrote: On 4/25/07, Trevor Torrez [EMAIL PROTECTED] wrote: I'm trying to eliminate commons-logging from being transitively passed on to projects that depend on my library and my library uses spring. Spring uses commons-logging but doesn't mark it as optional or scope:provided, however when I try

Re: Creating a target/lib with all project dependencies

2007-04-25 Thread Trevor Torrez
Whats the jira url? I think I tried for something but I couldn't even figure out how to register. Thanks On 4/25/07, Brian E. Fox [EMAIL PROTECTED] wrote: Probably. Can you file a jira? -Original Message- From: Trevor Torrez [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007

[m2] Multiple ear generation

2007-04-03 Thread Trevor Torrez
I need a way to load an arbitrary number of the same application EAR to a single websphere instance. The reason behind this is that during the test phases of software development several testers need to run the application cuncurrently without stepping on each other's toes. However, if an

Maven releases and multiple development streams

2007-04-03 Thread Trevor Torrez
What is the standard guidelines or procedures for working with multiple development streams (ie, trunk, product_test, bugfix_on_version_x) and using the release plugin? For streams that are moving through the testing process, do you create the product_test branch and when that is complete do the

Re: any way to read properties file from a POM ?

2007-03-31 Thread Trevor Torrez
You can try http://jira.codehaus.org/browse/MOJO-535 -- I havent tried it so your milage may vary. It seems that these operations (reading properties from a file into the maven build and writing the current maven properties to a file) are highly desirable. Is there any reason why maven

[m2] Sources not grabbed for test dependencies

2007-03-31 Thread Trevor Torrez
Is it possible to have the dependency plugin (or the eclipse plugin? not sure which is responsible for this bit when doing 'eclipse:eclipse') download the sources for dependencies with a classifier of tests? The problem seems to be that deployed test sources ends up with a classifier of

Re: [m2] Transitive Dependency resolution is degrading the versions of my dependencies (i.e. commons-collections 3.2 down to 2.1)

2007-03-02 Thread Trevor Torrez
[snip] Before reading that what did you think something like: version1.0/version meant? I'm actually interested in what general user opinion is here. Jason. I thought it meant 1.0 (period).

jetty plugin claspath issue

2007-03-02 Thread Trevor Torrez
I'm developing a fairly large project consisting of many parts and dependencies; when running the web project in the jetty container using the maven-jetty-plugin (6.1-SNAPSHOT) I am getting what appears to be a classloader issue. Specifically I am getting a ClassCastException at

snapshot update policy

2007-02-23 Thread Trevor Torrez
Something is wrong with the current snapshot update policy: I have a several projects going on concurrently; the first is intended to be a common components type project for the others, all are in concurrent development. The upstream project SNAPSHOT jars are *never* getting downloaded. I think

settings.xml and pom.xml repositories

2007-02-16 Thread Trevor Torrez
Whats the precedence and overriding behaviour for repositories declared in the global settings.xml and in a pom.xml? Does that change when profiles are used?

eclipse plugin documentation incorrect

2007-02-15 Thread Trevor Torrez
The pom.xml configuration documentation is wrong ( http://maven.apache.org/plugins/maven-eclipse-plugin/examples/prevent-module-references.html ); should be useProjectReferences not eclipse.useProjectReferences -- where do doc bug reports go?

Dependency management by license (type)

2007-02-12 Thread Trevor Torrez
Is there a way, or are there some features in planning, to manage dependencies based on the license? What I would like is a report of licenses used by all dependencies (transitives included) and perhaps a means to reject (or warn the user about) certain license types, or only allow a build with

maven-ear-plugin not found during cobertura:clean

2007-02-06 Thread Trevor Torrez
I have two boxes using the same install of maven and a project which consists of a parent and 4 children: two jars, one war, one ear. On one box everything works fine, on the other, running 'mvn clean' causes the triggered 'cobertura:clean' to fail in the ear-project complaining that it cannot

scm plugin with subversion

2007-01-19 Thread Trevor Torrez
I've got an automated build on my project and the scm:update fails after a couple of successful builds saying that the working copy is locked. How do i get around this?

Re: multi project interdependencies

2007-01-04 Thread Trevor Torrez
run 'mvn eclipse:eclipse'? On 1/4/07, Alan D. Salewski [EMAIL PROTECTED] wrote: On Wed, Jan 03, 2007 at 07:18:17PM -0500, Trevor Torrez spake thus: Is it the suggested / best practice to have a subproject in a multi project setup to declare it's dependencies on the other subprojects

Repository questions

2007-01-04 Thread Trevor Torrez
What is the best practice for using and declaring common internal repositories at an organization? Basically the organization has 3 main repositories (central, internal for 3rd party non-redistributables and the base library project 'deploy's, and snapshot for the base library project SNAPSHOT

instal:install-file -Dclassifier

2007-01-03 Thread Trevor Torrez
Does the classifer property have no effect for the install:install-file goal? Trying to use the classifier to install sources wiped out my existing binary jar in $HOME/.m2/repository.

multi project interdependencies

2007-01-03 Thread Trevor Torrez
Is it the suggested / best practice to have a subproject in a multi project setup to declare it's dependencies on the other subprojects in the dependency section? This leads to requiring some parts of the multi-project to be installed to the local repository before other parts can be developed

Error reading settings file when triggered from a windows service

2006-12-06 Thread Trevor Torrez
Hi all; I have cruise control set up as a windows service (running as LOCAL_SYSTEM) to do maven2 builds (using the mvnscript=/path/to/mvn.bat attribute), and the build fails with Error reading settings.xml: Error reading settings file. Is this because it cannot find the user-specific

dependency's properties

2006-12-06 Thread Trevor Torrez
Is there a way to access a dependency's project properties?

Re: checkstyles

2006-12-04 Thread Trevor Torrez
doesnt let us control changes to it; thanks again -t. On 12/2/06, Robert Reiner [EMAIL PROTECTED] wrote: Trevor Torrez wrote: What is the best way to have all subprojects use the same checkstyles file? Hi Trevor, I do not know what the best way is, but this is how it works for me: I

Re: checkstyles

2006-12-04 Thread Trevor Torrez
. After all, I dont want to package the checkstyles.xml file with anything, it doesnt really get distributed; so thats a no. On 12/4/06, Wendy Smoak [EMAIL PROTECTED] wrote: On 12/4/06, Trevor Torrez [EMAIL PROTECTED] wrote: Thanks; I had thought about that, I was hoping there was something

checkstyles

2006-11-30 Thread Trevor Torrez
What is the best way to have all subprojects use the same checkstyles file?

Maven help plugin

2006-11-21 Thread Trevor Torrez
Is there a way to get the help plugin to cough up the goals that a plugin supports? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Specialized test / deploy preparation (RESOLVED)

2006-11-21 Thread Trevor Torrez
nevermind -- using the maven dependency plugin and instructions from http://docs.codehaus.org/display/MAVENUSER/Maven+and+Selenium got me where i needed to go. On 11/20/06, Trevor Torrez [EMAIL PROTECTED] wrote: Hi again; In part of our framework we are using BIRT (Business Intelligence

Re: EhCacheProvider not found with other hibernate classes during test

2006-11-15 Thread Trevor Torrez
PROTECTED] wrote: Run mvn -X and then grep the output for ehcache... You'll probably see a different version getting pulled in by another dependency somewhere... Wayne On 11/14/06, Trevor Torrez [EMAIL PROTECTED] wrote: Ok; that almost makes sense; what, other than 'Quartz' should I search

Re: EhCacheProvider not found with other hibernate classes during test (Being Resolved)

2006-11-15 Thread Trevor Torrez
:/ Anyway, thanks for the help. -t. On 11/15/06, Trevor Torrez [EMAIL PROTECTED] wrote: nope: $ grep -io 'ehcache[^ ]\+' maven.log ehcache:ehcache:1.2 ehcache:ehcache:1.2. ehcache:ehcache:jar:1.2:compile ehcache\ehcache\1.2\ehcache-1.2.jar, ehcache\ehcache\1.2\ehcache-1.2.jar ehcache:ehcache: 1.2

Re: EhCacheProvider not found with other hibernate classes during test (RESOLVED)

2006-11-15 Thread Trevor Torrez
as its own dependency with a specific version, as suggested by Lee. Wayne On 11/15/06, Trevor Torrez [EMAIL PROTECTED] wrote: nope: $ grep -io 'ehcache[^ ]\+' maven.log ehcache:ehcache:1.2 ehcache:ehcache:1.2. ehcache:ehcache:jar:1.2:compile ehcache\ehcache\1.2\ehcache-1.2.jar, ehcache

Re: EhCacheProvider not found with other hibernate classes during test (RESOLVED)

2006-11-15 Thread Trevor Torrez
test directly and Maven will delete target/* before running, which should take care of these kinds of problems. Wayne On 11/15/06, Trevor Torrez [EMAIL PROTECTED] wrote: Thanks all; I do appreciate the help. The root cause was (of all things) a space after the class name

EhCacheProvider not found with other hibernate classes during test

2006-11-14 Thread Trevor Torrez
Hi; I am trying to convert our framework over to maven, and am running into a bit of a snag. When trying run the tests, I get a class not found for org.hibernate.cache.EhCacheProvider; but when running from eclipse (using the eclipse maven plugin to setup the libraries) everything works fine. I

Re: EhCacheProvider not found with other hibernate classes during test

2006-11-14 Thread Trevor Torrez
Ok; that almost makes sense; what, other than 'Quartz' should I search nabble for? I cant find anything relevent. Answers to any of the following questions would also be appreciated: How do i find out which of the dependencies is requesting the bogus version? The only thing 'maven site' shows