linux", version: "3.0.0-23-virtual", arch: "i386", family: "unix"
On Thu, Oct 4, 2012 at 2:22 PM, Davis Ford wrote:
> This doesn't make a whole lot of sense to me. Any idea what the pro
I don't have the luxury -- product is preparing to ship, build
refactorings won't be allowed. Not under my control right now.
Believe me there are a lot of things I'd like to fix the right way.
Any other options?
On Thu, Jun 3, 2010 at 12:39 PM, Wayne Fay wrote:
>> I have a multi-module project
Hi,
I have a multi-module project. I have some test resources that a
project needs at runtime that are defined in another project. I know
the correct would be to move shared resources into their own project,
but I don't have that luxury right now. So, I do this:
${basedir}/../oth
Hi, I've been using mvn for a lot of years now, but I've just
encountered a bizarre issue that I have no explanation for.
I am having trouble with the following dependencies
aspectj
aspectjrt
1.5.3
Can you attach some build logs? The dep plugin
> is pretty verbose about what it's doing so it should hopefully be obvious.
>
> On 4/23/2009 10:54 PM, Davis Ford wrote:
>>
>> Hi Brian -- I'm trying to emulate your blog:
>>
>> http://www.sonatype.com/peopl
that changed for me, and
this was the root of my problem. I reset this globally in Eclipse and
all is well.
--davis
On Thu, Apr 23, 2009 at 10:56 PM, Barrie Treloar wrote:
> On Fri, Apr 24, 2009 at 11:41 AM, Davis Ford
> wrote:
>> Hi, I just enabled all snapshots for plugins, and a
Hi Brian -- I'm trying to emulate your blog:
http://www.sonatype.com/people/2008/04/how-to-share-resources-across-projects-in-maven/
for sharing resources across a multi-module project. It is a grand
trick, but one that doesn't seem to be working for me.
I have the config project setup just fine
Hi, I just enabled all snapshots for plugins, and a side effect of
this was to pull down
org.apache.maven.plugins:maven-eclipse-plugin:2.7-SNAPSHOT version of
eclipse plugin.
Now, my project breaks in eclipse b/c it sets the JDK to be (I think)
the system default (which is JDK 1.5), but my maven-c
Hi, the war plugin explains how to customize the manifest here:
http://maven.apache.org/plugins/maven-war-plugin/examples/war-manifest-guide.html
I can't seem to repeat this. I'm wondering what I'm doing wrong.
Here's a quick example with two projects: one jar project (foo-bar),
and one webapp p
Hi Wayne, here's a more concrete example. I'm sure I'm just doing
something stupid, but I hope this makes it easier to see the
stupid-ness.
Create a new jar project:
mvn archetype:create -DgroupId=com.example -DartifactId=foo-bar
Make the pom.xml look like this:
http://maven.apache.org/POM/4.0
Hi Wayne, thanks for the reply -- no luck on the clean. I still get
all the jars. See my reply to my post. I configured the war plugin
as per the webpage, but still no luck.
On Thu, Mar 5, 2009 at 8:58 PM, Wayne Fay wrote:
>> $ mvn package
>>
>> It still creates a war file with all the deps an
classpath.
However, all project A's transitive dependencies are included in
WEB-INF/lib and they are in the Manifest classpath. I want the latter
but not the former. What am I missing?
Thanks in advance,
Davis
On Thu, Mar 5, 2009 at 7:27 PM, Davis Ford wrote:
> Hi, so I have a war proje
Hi, so I have a war project, with some
dependencies, and I made all the deps be provided, but
when I run:
$ mvn package
It still creates a war file with all the deps and transitive deps
under WEB-INF/lib/ - what am I doing wrong? Do I need to use the
maven war plugin?
Thanks in advance,
Davis
also.
On Wed, Mar 4, 2009 at 8:58 PM, Barrie Treloar wrote:
> On Thu, Mar 5, 2009 at 12:09 PM, Davis Ford
> wrote:
>> True - although that would take me a long time. In any event, I ended
>> up getting the 53MB weblogic.jar deployed to archiva - yay!
>
> BEWARE
>
> If
True - although that would take me a long time. In any event, I ended
up getting the 53MB weblogic.jar deployed to archiva - yay!
On Wed, Mar 4, 2009 at 7:50 PM, Wayne Fay wrote:
>> The only annoying thing is that weblogic.jar is 53MB. I tried
>> deploying that to archiva and it just times out.
53MB. I tried
deploying that to archiva and it just times out.
I did not pick weblogic
On Wed, Mar 4, 2009 at 6:02 PM, David C. Hicks wrote:
>
>
> Wendy Smoak wrote:
>>
>> On Wed, Mar 4, 2009 at 3:56 PM, Davis Ford
>> wrote:
>>
>>>
>>> -
-- I did mvn install:install-file -- can you make
the install command generate a pom.xml?
On Wed, Mar 4, 2009 at 5:51 PM, Wendy Smoak wrote:
> On Wed, Mar 4, 2009 at 3:48 PM, Davis Ford
> wrote:
>> Hi, we have an internal repo here (using Archiva), and I manually
>> deploy
Hi, we have an internal repo here (using Archiva), and I manually
deployed some jars to it. However, whenever I run a maven command it
is constantly trying to check the pom against the server version.
Example:
Downloading:
http://internal-maven-repo:8080/archiva/repository/internal//weblogic/we
Awesome -- exactly what I was looking for Thomas. Thank you.
On Wed, Mar 4, 2009 at 11:53 AM, Thomas Marti wrote:
> Hello Davis
>
> You can use the Maven Properties Plugin
> => http://haroon.sis.utoronto.ca/zarar/properties-maven-plugin/
>
>
> Greetings, Thomas
>
>
Is it possible to have maven do resource filtering on the fly inside
the pom.xml -- albeit without writing to the file (i.e. in-memory
only)
For example, I might be using maven-sql-plugin:
${db.driver}
${db.url}
${db.username}
${db.password}
I don't want
your first example just do
> mvn process-test-resources
>
>
> On Mon, Mar 2, 2009 at 11:48 AM, Davis Ford
> wrote:
>> Hi, when I run the eclipse goal like this: mvn eclipse:eclipse I also
>> want it to execute resources:te
Hi, when I run the eclipse goal like this: mvn eclipse:eclipse I also
want it to execute resources:testResources.
I tried something like this:
org.apache.maven.plugins
maven-eclipse-plugin
ou just enumerate the lib folder?
>
>
> -Original Message-
> From: Davis Ford [mailto:[EMAIL PROTECTED]
>
>
> Sent: Tuesday, March 25, 2008 11:17 AM
> To: Maven Users List
> Subject: Re: maven-dependency-plugin
>
> Quick follow-up. Consider if I have th
hetype.
>
>
> -Original Message-
> From: Davis Ford [mailto:[EMAIL PROTECTED]
>
>
> Sent: Tuesday, March 25, 2008 10:31 AM
> To: Maven Users List
> Subject: Re: maven-dependency-plugin
>
> Brian,
>
> Maybe a dumb question, but is there a way I can ju
nent that you could use to get the output used
> to generate dependency:tree
>
>
> -Original Message-
> From: Davis Ford [mailto:[EMAIL PROTECTED]
>
> Sent: Wednesday, March 19, 2008 5:57 PM
> To: Maven Users List
>
>
> Subject: Re: maven-dependency-p
ng
> the list to the output? If not, then it's going to a file somewhere. It
> would be better to use ${project.build.directory}/output.txt instead so
> it goes to /target/output.txt
>
>
>
> -----Original Message-
> From: Davis Ford [mailto:[EMAIL PROTECTED]
Hi, I'm trying to use the maven-dependency-plugin to dump a list of
the project's dependencies out to a text file, but I can not seem to
get it to do anything.
relevant configuration:
org.apache.maven.plugins
Hi, if I have the general maven project layout with the following:
src/main/resources/mydirectory/file.xml
and general pom.xml with this:
1.1
Is it possible somehow using the resources plugin (or some other
plugin) to cause it to deploy as a jar-file with the following
directory structure insid
Hi, I recently switched to 2.0.6 from 2.0.5. We use dependency
version ranges in our jars, but today I am seeing a problem with them.
mvn complains that it can no longer find the version range specified.
Has anyone else seen this problem, and how to work around it?
I have checked the our interna
Cleaning out the local repo resolves this problem.
On 4/17/07, Davis Ford <[EMAIL PROTECTED]> wrote:
Hi, I recently switched to 2.0.6 from 2.0.5. We use dependency
version ranges in our jars, but today I am seeing a problem with them.
mvn complains that it can no longer find the version
cture puts both parent and child
at the same directory level, but this is not the case.
I wish there were some way around this.
Thanks for looking.
Davis
On 4/17/07, Barrie Treloar <[EMAIL PROTECTED]> wrote:
On 4/17/07, Davis Ford <[EMAIL PROTECTED]> wrote:
> Hi, it appears th
do this via the pom.xml?
conf
2
D:/temp/parent/conf
On 4/17/07, Davis Ford <[EMAIL PROTECTED]> wrote:
It says: Project child is missing required source folder:
e it a relative path -- I really can't seem to make it
work. BTW: using eclipse 3.2.2.
Any ideas?
Regards,
davis
On 4/16/07, Haim Ashkenazi <[EMAIL PROTECTED]> wrote:
Davis Ford wrote:
[ .. ]
> The .classpath file for the guide-ide-eclipse-site project contains this:
>
> exc
Hi, I posted on this earlier, but it fell on deaf ears, I guess.
Here's a concrete example of the problem I'm experiencing. I followed
the directions for the maven-eclipse-plugin on generating a multiple
module project, as described here ->
http://maven.apache.org/plugins/maven-eclipse-plugin/rea
marouane - try the following:
mvn eclipse:clean eclipse:eclipse
then right-click the project in eclipse and choose refresh (or F5). running
the mvn commands re-generates the .classpath, .project, and .settings files
in the project dir, but eclipse does not scan for changes, so you have to
force
efresh one
single directory... for example, "com" directory under the local repo.
There is only "exclude" but no "include".
B.
On 4/16/07, Davis Ford <[EMAIL PROTECTED]> wrote:
> http://maven.apache.org/plugins/maven-dependency-plugin/index.html
>
> see
http://maven.apache.org/plugins/maven-dependency-plugin/index.html
see purge-local-repository goal
On 4/16/07, Baz <[EMAIL PROTECTED]> wrote:
All,
Is there a mvn command that clean the local repo?
Thanks.
B.
-
To unsubsc
Hello, I have a problem getting the mvn eclipse plugin recognizing a
relative path resource directory. Using mvn 2.0.6. The project structure
looks like this:
editor
subprojecta
-pom.xml
-src
-subprojectb
-pom.xml
-src
o do with your
> machine ( maven setup perhaps? ). If it does, then maybe there's
something
> maybe something in your maven project is causing the failure.
>
> Thanks http://www.nabble.com/file/7847/relative-path-of-parent.zip
> relative-path-of-parent.zip ,
> Franz
>
>
hi, i know that mvn depenendency:resolve depdendency:build-classpath will
dump a classpath list of all transitive/non-transitive jars.
i was wondering if there was some other way, either with the dependency
plugin, or with any other plugin, to generate the same output but in nicely
formatted xml:
Adrian
From: Davis Ford [mailto:[EMAIL PROTECTED]
Sent: Fri 4/13/2007 8:51 AM
To: Maven Users List
Subject: relativePath not working
Hi, I'm using mvn 2.0.6
I have a simple structure
parent_project
sub_project
pom.xml
pom.xml
p
Hi, I'm using mvn 2.0.6
I have a simple structure
parent_project
sub_project
pom.xml
pom.xml
parent_project has this:
my.org
parent
1.0-SNAPSHOT
pom
sub_project has this:
my.org
parent
1.0-SNAPSHOT
../pom.xml
my.org
ion(
"Unable to determine JAR Url from " + url + ". Cause: " +
e.getMessage()
);
}
return jarUrl;
}
On 2/19/07, Davis Ford <[EMAIL PROTECTED]> wrote:
He, we're using maven 2.0.4 (although I just tried 2.0.5 and the same
problem exists), and we'
He, we're using maven 2.0.4 (although I just tried 2.0.5 and the same
problem exists), and we're using Hibernate Entity Manager 3.2.1-ga, and
we're on a Windows Platform. These 3 things don't seem to work together.
The problem is the default repo for maven jars contains spaces on windows
C:\Docu
Hi, we use JUnit 4.1 in eclipse, but when we run the tests from the
cmd line with mvn, it seems to fail and not use JUnit 4.1 but it uses
the old 3.8.1.
Is there some way to force mvn to use JUnit 4.1?
The mvn release is 2.0.4 we are using.
Thanks in advance,
Davis
Hi, with maven 1.x I used to be able to create javadoc reports (i.e.
tag violation warnings, etc.)
Now that we have moved to maven 2.0.4, I can't seem to figure out how
to do that.
The maven javadoc plugin
http://maven.apache.org/plugins/maven-javadoc-plugin for m2 does not
describe this capabil
Hi just wondering if the group has experimented with the new surefire
2.2 plugin release, and if it does indeed solve the GC issue Brett
indicates below. We are seeing this issue, and looking to update the
plugin, but getting by with feeding arguments to the jvm for now.
Regards,
Davis
FYI, t
Hi, we use ftp to deploy to our local repo. As a litmus test for the
environment, I completely wiped out my .m2/repository/*
Then I tried to do a mvn test on one of my projects. This project has
a parent pom.xml which has:
Hi, it seems getting to the central repo and downloading dependencies
often hangs for me, and i have to restart the process again and again.
I understand the intermittency of network issues, but is there any
recommended solution for this?
I added:
etc.
a whole bunch of mirrors to my setting
yes, that is the way it is currently set up
On 5/17/06, Taavi Sildeberg <[EMAIL PROTECTED]> wrote:
Hello David,
Do you have inside a module A and s module B parent defined?
Something like this:
your parent groupid
your parent artifact id
your parent version
Taavi
om the "traditional" approach...
Wayne
On 5/16/06, Davis Ford <[EMAIL PROTECTED]> wrote:
> We are using a horrible tool called MKS Source Integrity. Believe you
> me -- I have opined for SVN many times.
>
> Building an SCM plugin is not gonna happen soon enough t
bly need to build an SCM plugin for
your specific SCM tool and integrate it into M2 to properly use the
release plugin. Or write a new plugin that works similar to release
but does not do the SCM steps first.
What are you using, if not CVS or SVN? Starteam? Clear ?
Wayne
On 5/16/06, Davis Ford <[EM
uot;mvn release" so check
out the m2 book (better builds with maven), the user list archive, the
maven website, etc for details.
Wayne
On 5/16/06, Davis Ford <[EMAIL PROTECTED]> wrote:
> Hi, if I have pom.xml for a project that has
>
> 1.0-SNAPSHOT
>
> and I do:
>
> mv
Hi, if I have pom.xml for a project that has
1.0-SNAPSHOT
and I do:
mvn deploy
It sends up a release with the timestamp in the 1.0-SNAPSHOT/ dir.
However, what if a developer wants to do a release, not a snapshot?
If I try
mvn -Dversion=1.2 deploy
It uploads a new SNAPSHOT with a timestamp
Hi, I have a parent pom.xml project in C:\someplace\pom.xml that has
moduleA
moduleB
Then I have
C:\someplace\moduleA\pom.xml
C:\someplace\moduleB\pom.xml
If I execute:
C:\someplace\>mvn clean
C:\someplace\>mvn compile
C:\someplace\>mvn test
That works great for moduleA, moduleB
If I execut
Hi, we used to use the maven-emma plugin and maven 1.* but have just
upgraded to maven 2.0.4.
If I put a dependency on emma like this:
emma
maven-emma-plugin
0.5
I get this:
Downloading:
http://www.ibibl
Hi, I was wondering if someone might be able to describe how to solve
the following problem:
We have one master project pom.xml that has in it.
A team can check out a that has its own pom.xml and build it
independently. At the end of the day, the master pom.xml builds all
subprojects and runs
On 2/10/06, Dion Gillard <[EMAIL PROTECTED]> wrote:
> On 2/10/06, Davis Ford <[EMAIL PROTECTED]> wrote:
> > No, they run in the same JVM.
> >
> > This is a pretty simple test that anyone can do. Write a quick main
> > program that does the following:
> &
rd <[EMAIL PROTECTED]> wrote:
> So, are the tests being forked?
>
> On 2/10/06, Davis Ford <[EMAIL PROTECTED]> wrote:
> > Hello Dion,
> >
> > Thanks for responding. I should clarify -- the unit tests I am
> > running are testing some code that use
> >
is set by the JVM when it's launched.
>
> Are you forking your tests?
>
> On 2/10/06, Davis Ford <[EMAIL PROTECTED]> wrote:
> > Hi, I searched high and low on google, etc. and the mailing list
> > archives. This means either my problem is unique, or I'm
Hi, I searched high and low on google, etc. and the mailing list
archives. This means either my problem is unique, or I'm just doing
something very dumb. I know maven is supposed to handle dependencies
like jar files with the xml, but this is a case where:
A unit test is run that introspects the
Hi, I wrote some code that uses the class path string from:
System.getProperty("java.class.path");
When I build with Maven on the command line it, this code:
System.out.println(System.getProperty("java.class.path");
produces this output:
C:\Program Files\Apache Software Foundation\Maven
1.0.2\
to be in the local or remote repository but if
> you execute it in the install phase, it should already be in your local
> repo by the time the plugin executes.
>
> -Original Message-
> From: Davis Ford [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 02, 2006 9:53 AM
&g
Hi, I'm using Maven 1.0.2 to build my jar. The jar is used as part of
a different project called GeoServer that uses Jetty.
Every time I build my jar, I need to manually copy it to
$someDir$/geoserver/server/WEB-INF/lib/ in order to test my changes.
I don't rebuild GeoServer software everytime..
64 matches
Mail list logo