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
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
/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
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:
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
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,
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
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
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
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
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
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
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
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
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
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
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
] 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
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
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
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
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
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
[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).
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
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
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?
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?
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
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
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?
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
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
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.
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
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
Is there a way to access a dependency's project properties?
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
. 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
What is the best way to have all subprojects use the same checkstyles file?
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]
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
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
:/
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
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
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
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
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
48 matches
Mail list logo