Maven just uses the Java system property user.home,
which on windows is "C:\doc..."
The new Cygwin uses that directory as your default home directory anyway.
With kind regards,
Geoffrey De Smet
Seth Mason schreef:
Maven isn't reading my settings file from /home/seth/.m2/settings.xml
when I run
The basic command for maven is "mvn [goal|phase]"
where goal is a plugin goal, and phase is lifecycle phase "install" is
an example of a lifecycle phase... you can type several space delimited
goals/phases and maven will execute them.
For a list of maven lifecycle phases, please see:
http:/
The Mojo team is pleased to announce the release of the SQL Maven Plugin,
version 1.0
http://mojo.codehaus.org/sql-maven-plugin
You can run mvn -U to get the latest version of the plugin.
Changes in this release are:
- Added "skip" configuration.
- Site updated to comply with maven-docck-pl
I got my jar creation working using the maven-jar-plugin but I also need to
copy some resources such as property files, dlls and readme files etc.
Is there an easy way to copy either specific files, or alternatively all
files from a secondary source file dir?
--
View this message in context:
ht
Maven isn't reading my settings file from /home/seth/.m2/settings.xml
when I run it within cygwin. Instead it's using C:\documents and
settings\seth\settings.xml even though my $HOME is set to /home/seth.
I'm running 2.1-SNAPSHOT.
Any help would be greatly appreciated.
Thanks.
seth
--
Thanks about the notepad++, I installed it and test it with editing pom.xml
file
It is nice one for editing xml file, format, color tagging of xml (for
example), error checking when mismatch tags appears.
I also found out, that eventhough I installed the japanese version,
inputting japanese chara
In short, no you cannot, at least not with Maven 2.0.4.
Instead, you are generally suggested to set up a Maven Proxy
(Proximity, Archiva, etc) and override Central with a in
your settings.xml file. Then you configure the Proxy to only go out to
Central for non-local artifacts.
Wayne
On 1/25/07
I'm trying to add some new reports to our existing project/site and
right now I'm working on Findbugs...
When I run Findbugs, it outputs the following:
The following classes needed for analysis were missing:
javax.jms.Message
com.abc.vo.AbstractBusinessValue
com.abc.vo.IValueObject
javax.xml.
I had similar problems with extension in my own plugins. It may be
related to the process Maven uses to set private member variables with
bound project properties. From what I've seen, it analyzes the source of
your plugin when you build and install it but not that of the
superclass. It doesn't kno
Hi,
Take a look at this:
http://docs.codehaus.org/pages/viewpage.action?pageId=62120
Bashar
-Original Message-
From: takai [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 25, 2007 9:47 AM
To: users@maven.apache.org
Subject: Surefire, Cargo and Integration Tests
Hi,
i have problems
http://maven.apache.org/plugins/maven-install-plugin/examples/specific-local-repo.html
Wayne
On 1/25/07, JayBee <[EMAIL PROTECTED]> wrote:
True, but I did not want to use default HOME/.m2/repository, so I set this
to /mavenlocal, could this be problematic?
Also, I did not manually copy my j
We have an artifact that is used only during testing: our unit test
framework. It has a compile time dependency on xmlunit, junit artifacts.
I want to assemble a production artifact that has a test scope dependency on
our unit test framework artifact. The jars-with-dependencies descriptor,
whic
True, but I did not want to use default HOME/.m2/repository, so I set this
to /mavenlocal, could this be problematic?
Also, I did not manually copy my jar files to this repository, I use mvn
install:install-file..., to let maven install my 3rd party jars
to local repository.
Nic
Hi Everyone,
I have following sturcture and am having problem with continuum
problems? Does any one has this configured right? Or have any suggestion on
how to make it work!
Parent Project (POM)
- api (jar) (child project)
- pom.xml
- src
- core (jar) (child project)
Ole Ersoy wrote:
Hi,
Anyone know if the apt processor Title semantics have
changed?
I tried this at the top of my document:
--
Title
--
--
On 1/25/07, David Jackman <[EMAIL PROTECTED]> wrote:
According to the release plugin's web page, the code for the plugin is
available from SVN at
http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-release-plugin
. However, there is no such directory under trunk. Does anyone know
where i
Hi guys,
I have a very unusual problem with the maven-surefire-plugin ver. 2.2
I want to write my own plugin, and as part of it's functionality is to run a
couple of junit tests.
So I extend the MavenSurefirePlugin and my plugin looks like this:
public class MyMojo extends SurefirePlugin {}
Lat
According to the release plugin's web page, the code for the plugin is
available from SVN at
http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-release-plugin
. However, there is no such directory under trunk. Does anyone know
where it really is?
..David..
FASTforward '07
The Industry'
Your local repository resides (with all the other downloaded artifacts)
in your HOME/.m2/repository. If you use the install:install-file goal
maven will also put the artifacts in there. Don't put jar files in there
yourself, then Maven won't have the right information (the pom.xml files
and the
I got this error, what is wrong?
[INFO]
[ERROR] BUILD ERROR
[INFO]
[INFO] The plugin 'org.apache.maven.plugins:maven-changelog-plugin' does
not exist o
I have the similar issue, even installing jars in local repository dosen't
seem to satisfy dependencies. I have set localrepository to
\mavenlocal where I have installed my jars and from error messages it
seems that mvn compile dosen't probe local repository at all.
[INFO] Using default encodin
Thanks wayne. I found it as well.
Pratik
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 25, 2007 2:45 PM
To: Maven Users List
Subject: Re: Surefire And Java6
This is covered in the m-s-p documentation.
http://maven.apache.org/plugins/maven-surefir
This is covered in the m-s-p documentation.
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#jvm
Wayne
On 1/25/07, Parikh, Pratik P. <[EMAIL PROTECTED]> wrote:
How do one configure surefire to use Java 6 for execution. Is there a way to
do it in pom?
Pratik
-Original Me
How do one configure surefire to use Java 6 for execution. Is there a way to
do it in pom?
Pratik
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 25, 2007 2:00 PM
To: Maven Users List
Subject: Re: Surefire And Java6
You've only specified the maven-com
Does notepad++ utilize the xmlns attributes to provide additional assistance
with the POM format (beyond just generic XML syntax support)? Are there any
other standalone editors that do this?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, Januar
Use the maven-dependency-plugin to copy the jar to the build tree where
you can manipulate it with ant.
-Original Message-
From: Peter Lynch [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 25, 2007 1:58 PM
To: users@maven.apache.org
Subject: How to refer to dependency jar file inside p
You've only specified the maven-compiler-plugin should use Java6.
Your problem occurs when Surefire attempts to use your default Java
(in your case, Java4) to run the classes you compiled with Java6.
Either configure Surefire to use Java6 when it executes, or change
your Java home to Java6.
Way
Couldn't find the answer to this yet...
I am using the exec-maven-plugin to launch a Java process. Before calling
exec:exec, I am trying to get antrun plugin to create an endorsed dir and
copy a dependency jar ( hopefully referred to by artifact id) into that dir.
Then exec java process will take
I have my declaration in my PluginManagement section of my main pom then
just add this to each sub pom:
org.codehaus.mojo
xdoclet-maven-plugin
The issue for me, is that my java files are in:
%PROJECT_HOME%\common\services\src\main\java\org\
Hi all ! I've been facing a problem running xdoclet-maven-plugin, in order
to generate hibernate xml files.
Can anyone help me?
Thanks in advance for the help.
Regards,
Roberto.
Here is the pom.xml of one of the subprojcts:
. . .
org.codehaus.mojo
xdoclet-maven-plugin
generate-
Hi
The Java Web User Group (JAVAWUG, LONDON) is holding a web framework
smackdown
BOF 24 at Skills Matter's offices in London on 19 Feb 2007. At the
moment we have
representatives for RIFE, Spring MVC, and standard API. Hey! If someone
wants
to rock the house with Struts 2 or Wicket demos and ``
My java_home is set to Java 4, but in my pom I do specify that I want to use
java6.
org.apache.maven.plugins
maven-compiler-plugin
true
See http://docs.codehaus.org/display/MAVENUSER/Maven+and+Integration+Testing
On 1/25/07, takai <[EMAIL PROTECTED]> wrote:
Hi,
i have problems integrating Cargo Deployment and Surefire Tests. I've bound
cargo:start to pre-integration-test, surefire:test to integration-tests and
finally cargo:st
Allright - that worked! Thanks a bunch!
--
View this message in context:
http://www.nabble.com/Surefire%2C-Cargo-and-Integration-Tests-tf3117463s177.html#a8637699
Sent from the Maven - Users mailing list archive at Nabble.com.
---
Hi All,
I built some snapshot version of project on 24th Jan.2007 morning 10 am at
my local time, but what i see in my maven-metadata.xml is
20070124.212320
Date part is ok in this, but what is the time part in this ??? is there
some thing i need to configure to get right time there??
Than
Just install the file into your local repo using Maven. Search for
"mvn install:install-file" on Google or the Maven Users mailing list
for this information.
Wayne
On 1/25/07, maxmil <[EMAIL PROTECTED]> wrote:
Hi,
i'm new to Maven and need to use a jar that is not in the central repository
(a
You are compiling with 1.6 but running the classes in 1.5 (or 1.4). what's
your JAVA_HOME set to?
Kalle
On 1/25/07, Parikh, Pratik P. <[EMAIL PROTECTED]> wrote:
Hi Everyone,
I am using Java6 and have some junit 3.8.1 test cases. When I try to
build I get following?
I am using the 2.2
Hi,
i have problems integrating Cargo Deployment and Surefire Tests. I've bound
cargo:start to pre-integration-test, surefire:test to integration-tests and
finally cargo:stop to post-integration-test.
The problem is that surefire executes twice. Once in test:test and once in
integration-test. Th
Hi Everyone,
I am using Java6 and have some junit 3.8.1 test cases. When I try to
build I get following?
I am using the 2.2 version of surefire? Is sun fire not supporting in
Java6 yet? If so is there a work around for this?
maven-surefire-plugin
2.2
[INFO] Surefire r
Hi,
i'm new to Maven and need to use a jar that is not in the central repository
(apache fop 0.93 and its dependencies). Is the best way to get around this
to add it (and all the jars that it depends on) to my local repository or is
there another way of getting these jars onto my classpath so tha
I believe it is in GMT time so that there is no conflict in finding the
latest snapshot regardless of your localization settings. I don't know
if there is a way to configure it, but you probably don't want to do so
anyways.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECT
Hi,
You can can run maven with -X option. It prints lot of debuging info and
among others all dependencies (in tree structure). This works well with
maven 2.0.4 but does not with 2.1-SNAPSHOT. Other way is to build site
and look at the page with dependencies.
Jan
-Original Message-
From
Hi,
I have configured developers and contributors in my pom.xml
How can I tell maven to send notification to the groups on success /
errors?
Can I specify to send only to one of the developers / contributors?
Thanks!
-
To unsubscr
Hello,
Use that to find your artifacts :
http://www.mvnrepository.com/
Damien
2007/1/25, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
Never mind, found them in the root :)
http://repo1.maven.org/maven2/commons-io/
kind regards
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PRO
thank you it worked
Van: Arnaud HERITIER [mailto:[EMAIL PROTECTED]
Verzonden: do 25-1-2007 13:04
Aan: users@maven.apache.org
Onderwerp: Re: add lib to project with maven1
Have a look at in the documentation about dependencies.
In short, in your POM (project.xm
Hi,
it is possible to exclude requests on my own artifacts to the central
repository?
Everytime if an artifact was not found in my local or company repository
the central repositories are called. Thats ok for really central
artifacts like plugins or free libs but its not ok for company
arti
> andy law (RI) wrote on Thursday, January 25, 2007 1:47 PM:
>
> [snip]
>
>> Has anyone else done anything as complex (read: STUPID) as
>> this and can
>> anyone suggest any sensible, practical solutions?
>
> Use a dynamic mock implementation like jMock. With the CGLIB extension you
> may even mock
Hi Mick! I've followed your suggestion, but, now I've been facing the
following error.
How can I set up ANT_OPTS to solve this problem?
Check it out the error message!
Regards,
Roberto.
[DEBUG] (f) tasks =
[DEBUG] -- end configuration --
[INFO] [xdoclet:xdoclet {execution: default}]
[INFO] Ini
On 1/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hei, my issue is that I have template property files containing
substitution variables.
What would be the best maven2 plugin to make property files filled with
real values to include in jars, wars and ears?
See
http://maven.apache.or
andy law (RI) wrote on Thursday, January 25, 2007 1:47 PM:
[snip]
> Has anyone else done anything as complex (read: STUPID) as
> this and can
> anyone suggest any sensible, practical solutions?
Use a dynamic mock implementation like jMock. With the CGLIB extension you may
even mock classes not
All,
I have some rather complex objects that need to be viewed at varying
'depths'. In fact, in many ways the entire database contains objects
that are inter-related and I only want to be looking at a subset at any
one time. This is causing me some grief in my module and testing layout.
Let's ima
Hi,
I'm looking for Spring JavaConfig jar file for my maven project. Is this an
existing artifact where I could download it to my local repository? If so,
what should I add to my pom dependencies? Thanks!
Cheers,
lemon.dumpling
Hello,
I use the antrun plugin to do some concatenation. I want to add some text
comments to a SQL file and want an extra linebreak at its end, so I tried:
org.apache.maven.plugins
maven-antrun-plugin
Hei, my issue is that I have template property files containing
substitution variables.
What would be the best maven2 plugin to make property files filled with
real values to include in jars, wars and ears?
Regards from Tore
Have a look at in the documentation about dependencies.
In short, in your POM (project.xml) you add a dependency to lucene :
org.apache.lucene
lucene-core
2.0.0
Arnaud
e.j.w.vanbloem wrote:
>
> I am using maven 1 and want to add lib lucene.jar to my project
>
> can someone explain h
Never mind, found them in the root :)
http://repo1.maven.org/maven2/commons-io/
kind regards
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: donderdag 25 januari 2007 12:14
To: users@maven.apache.org
Subject: Commons IO FileUtils needed
Hi,
I want to use t
Petar Tahchiev wrote:
On 24/01/07, Gabriele Contini <[EMAIL PROTECTED]> wrote:
Hi,
we have a project structure with many modules and inherited
dependencies.
How can we find out the transitivity path for any given dependency? For
example :
Path to dependency:
1) fop:fop:jar:0.20.5
Hello,
I have the latest version of maven installed on my machine. (2.0.4) as
well as the maven netbeans module installed.
When I run "mvn initialize" I get this:
*
C:\dev\miscenalleous\rcc-maven>mvn initial
I am using maven 1 and want to add lib lucene.jar to my project
can someone explain how this is done?
1) In which directory should I place the lib?
2) what do I have to alter/add and in which files?
Regards,
Erik
-
To uns
Hi,
I want to use the org.apache.commons.io.FileUtils functionality in my
own plugin.
I can't find the jar in the Maven2 repo @ http://repo1.maven.org/maven2/
I downloaded the jar manually and put it in my classpath, so I can use
the functionality in Eclipse.
I also added the dependency to m
Hi,
Just use one of the many code editors.
And pick one with syntax highlighting.
I'm using Notepad++ -> http://notepad-plus.sourceforge.net
C u
-Original Message-
From: yuubouna [mailto:[EMAIL PROTECTED]
Sent: donderdag 25 januari 2007 11:42
To: users@maven.apache.org
Subject: pom.xml
Hi everybody!
I need to edit my super pom.xml outside eclipse, that`s why I cannot use the
M2plugin for eclipse
Does anyone knows a pom.xml editor [third party software]?
thanks!
-jackie "^_^"
--
View this message in context:
http://www.nabble.com/pom.xml-editor-tf3097385s177.html#a8599666
Se
Thank you!
-Original Message-
From: Julien Martin [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 25, 2007 11:55 AM
To: Maven Users List
Subject: Re: Question about the scm plugin
by changing the environment variable "path"...
2007/1/25, Rahamim, Zvi (Zvi) <[EMAIL PROTECTED]>:
> How
Hello,
I am completely new to maven and would be grateful for some help. I
would like for my pom to point to a cvs repository so that:
1. Maven retrieves the sources for my app from distant cvs
2. Maven places the sources into the local repository
3. Maven compiles the sources and places the buil
by changing the environment variable "path"...
2007/1/25, Rahamim, Zvi (Zvi) <[EMAIL PROTECTED]>:
How can I set the CVS.exe path?
Thanks!
-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 25, 2007 11:07 AM
To: Maven Users List
Subject: Re: Quest
How can I set the CVS.exe path?
Thanks!
-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 25, 2007 11:07 AM
To: Maven Users List
Subject: Re: Question about the scm plugin
because we don't use yet a pure java client for cvs
Emmanuel
Julien Mar
thanks manu.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi folks,
Seems like JIRA is offline, so I post it here first and create the issue
later.
When running 'mvn eclipse:eclipse' the results do not take the proper
servlet-api en ejb-api into account.
ejb version is not taken into account (see
http://jira.codehaus.org/browse/MECLIPSE-198)
servlet a
because we don't use yet a pure java client for cvs
Emmanuel
Julien Martin a écrit :
Hello,
I would like to know whether the use of the scm plugin and especially
the use of the cvs goal of the scm plugin requires the presence of the
cvs executable on the user machine.
Thanks in advance,
Julien.
Hello,
I would like to know whether the use of the scm plugin and especially
the use of the cvs goal of the scm plugin requires the presence of the
cvs executable on the user machine.
Thanks in advance,
Julien.
-
To unsubscribe,
I think I've seen something in Jira about this...
Voila: http://jira.codehaus.org/browse/MEAR-52
Please comment there.
Regards,
Stéphane
On 1/25/07, Barry Molof <[EMAIL PROTECTED]> wrote:
Hello,
I am trying to put my jboss datasource into my ear and add a entry
into the application.xml. Ho
The compiler plugin configuration is in my corporate POM.
Projects only have to define the compiler properties to set the target
runtime. You can also set the as -D command line arguments or in
settings.xml as section.
Nico.
2007/1/25, Roald Bankras <[EMAIL PROTECTED]>:
Interesting approach.
Interesting approach.
Do you know of some way to generify the maven.compile.runtime property?
I think I can put it in settings for example.
I'll definatly give this a try.
Roald Bankras
-Original Message-
From: nicolas de loof [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 25, 2007 8
73 matches
Mail list logo