Hi,
Use the the "provided" scope on your dependencies.
--
Cheers,
Kristian
On 6/14/07, aemm <[EMAIL PROTECTED]> wrote:
it works Thanks a lot.
another question: I want to exclude de /lib directory containing all the
jar's when I create de .war file to deploy in the server, because the
ins
Hi,
On 6/11/07, Arne Styve <[EMAIL PROTECTED]> wrote:
Hi,
We have setup our development system based on a companywide root POM
which is stored in our company repository. When we first created this
root POM, I created the POM and deployed it to the company repository
from the commandline on the
On 3/14/07, olivier jacob <[EMAIL PROTECTED]> wrote:
On 3/14/07, Kristian Nordal <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I've noticed that Maven2 uses a file system reference to the parent POM
-
> if
> the parent POM is located in the directory above. This is
Hi
I've noticed that Maven2 uses a file system reference to the parent POM - if
the parent POM is located in the directory above. This is causing problems
when someone in the team is working on a specific module, but at some point
did a check out of the complete source tree / module hierarchy. Ne
On 10/6/06, Morten Kristiansen <[EMAIL PROTECTED]> wrote:
How can I load a pom.xml file from the filesystem into a MavenProject
object?
http://maven.apache.org/guides/mini/guide-embedding-m2.html
--
Cheers,
Kristian
On 9/30/06, Kevin Menard <[EMAIL PROTECTED]> wrote:
Hi,
I'm working on a plugin that I'd like to have invoked from the CLI, much
like the jetty plugin. I'm having difficulty in getting the classpath
to work out the way I'd like though. I have a dependency listed and can
use classes from that
On 9/11/06, Douglas Ferguson <[EMAIL PROTECTED]> wrote:
Are there any maven books that are in print?
http://maven.apache.org/articles.html
--
Cheers,
Kristian
Hi,
When I'm executing a MavenEmbedder (trunk version), I have a problem with it
trying to update the plugins defined in my POM. These plugins are not
available when I run the embedder, so I would like to either remove them
from the MavenProject, or define in some way that I don't want maven to
ch
On 4/24/06, Brandon Goodin <[EMAIL PROTECTED]> wrote:
>
> Is it a requirement that i use the remote repository for jars? Is
> there a way to reference jars that are distributed with the code when
> checked out from the code repository?
Take a look at the "system" scope:
http://maven.apache.org/gu
On 4/24/06, Pierre Monestie <[EMAIL PROTECTED]> wrote:
>
> Hi,
> Is there a simple way to run a Main class with maven? Something
> similar to the java task in Ant? If so what is the way to configure
> it?
> I know the runtime plugin is not completed so I'm looking for an
> intermediary solution.
On 4/12/06, Michael Meyer <[EMAIL PROTECTED]> wrote:
>
> Hi,
> how can I retrive the names of all dependencies including the transitive
> dependencies in a Java Plugin (Mojo)?
> I took a look at the code of the eclipse plugin but the dependency part
> seemed a bit complicated for
> "just" getting a
On Jan 8, 2006, at 6:56 PM, Kristian Nordal wrote:
Hi,
I'm getting this when I run "mvn test" (or "clean test" / "clean
install"):
[DEBUG] Test Classpath :
[DEBUG] /Users/kristian/hisp/scm/trunk/dhis-2/dhis-support/dhis-
support-hibernate/target/test-c
Hi,
I'm getting this when I run "mvn test" (or "clean test" / "clean
install"):
[DEBUG] Test Classpath :
[DEBUG] /Users/kristian/hisp/scm/trunk/dhis-2/dhis-support/dhis-
support-hibernate/target/test-classes
[DEBUG] /Users/kristian/hisp/scm/trunk/dhis-2/dhis-support/dhis-
support-hibernate/
On Sep 19, 2005, at 10:23 PM, Miks Rozenbergs wrote:
Kristian Nordal gmail.com> writes:
You need some way of connecting them together. If you don't have a
parent project, then they are just three independent projects. Then
you must put the dependencies in the repository manua
On Sep 19, 2005, at 6:55 PM, Kenney Westerhof wrote:
On Mon, 19 Sep 2005, Kristian Nordal wrote:
You could file a JIRA issue for that plugin to request a
'execute:jar' goal that executes the jar if it is an auto-executable
jar (i.e. it's manifest has a Main-Class entry
On Sep 19, 2005, at 5:58 PM, Ashley Williams wrote:
Is there currently a java plugin for running regular main() apps?
I've just checked the repository and I couldn't find one. Currently
I define the following plugin in my pom:
org.apache.maven.plugins
maven-jar-plugin
On Sep 19, 2005, at 3:07 PM, Miks Rozenbergs wrote:
Hello!
Let's say I have 3 directories, each containing a Java project that
I'm
developing in Eclipse:
[my.app.runtime]
[my.app.ui]
[my.app.utils]
"my.app.utils" is used (imported) in both "my.app.runtime" and
"my.app.ui". I somehow was under
On Sep 7, 2005, at 12:36 PM, [EMAIL PROTECTED] wrote:
What I mean is :
Project A
Project B depends on A
Project C depends on B
Project A depends on C
Is this supported ? If yes, then how ?
Hi,
I'm not 100% sure, but I believe the answer is no.
You will need to put the stuff both A an
On Aug 16, 2005, at 4:59 PM, dan tran wrote:
you need to download jta 1.0.1b from sun and place it under your
local repo.
Hi,
There are alternatives. Like geronimo-spec-jta.
Here's my list of dependencies for Hibernate:
hibernate
hibernate
3.0.5
On Aug 11, 2005, at 3:52 PM, Hogeweg, Erwin ((GE Infrastructure)) wrote:
All,
I need to specify the "source 1.4" for my code. Could anyone tell
me please how to specify that in M2.
There's an example with the maven-compiler-plugin in the getting
started guide.
http://maven.apache.org/ma
On Aug 1, 2005, at 7:48 PM, Lance Arlaus wrote:
I'm getting the following error while trying to run m2 on the
sample getting
started project structure:
"Unable to locate the Javac compiler"
I'm running under cygwin with my My JAVA_HOME set (and exported) as
'c:\java\jdk1.5'
Running the
On Jul 26, 2005, at 12:33 PM, Michael Owen wrote:
Hi,
I'm using Maven 1.0.2 and on one maven project I need to use the java
source
files of another maven project. Any ideas how I can do it?
(ie. in one maven project, it's source files references the source
files in
another project)
I need to
On Jul 6, 2005, at 3:07 PM, Jason van Zyl wrote:
Hi,
I created a matrix to compare the plugins available in m2 versus
that in
m2 and I'm trying to get a sense from users which plugins are most
popular so that we can focus our efforts based on user desire. The
matrix is here:
http://docs.cod
On Jun 30, 2005, at 4:16 PM, Unico Hommes wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Mac OS 10.4 I can't seem to get maven-2 alpha-3 going. This is the
output I get when I run m2 -v:
org.codehaus.classworlds.ConfigurationException: Unhandled
configuration
(10): b/*.jar
On 6/28/05, Christian Schlaefcke <[EMAIL PROTECTED]> wrote:
> Hi Folks,
>
> still try to get my own project under maven2 control. I tried "m2
> install" in the project folder, but it seems leike there is an
> dependency missing:
> [INFO] BUILD FAILURE
> [INFO]
> ---
Hi,
On 5/26/05, phillip rhodes <[EMAIL PROTECTED]> wrote:
>
> I have a core project that encapsulates some domain
> objects that I reuse in many of my projects. Many of
> the domain objects use hibernate to be persisted. I
> use the xdoclet and hibernate plugins to generate the
> mapping files a
On 5/25/05, Rahul <[EMAIL PROTECTED]> wrote:
>
> Hi Brett,
>
> There are like 20+ folders in SVN.
>
> Do I get all of them ?
The tag you are interested in is probably all you need:
http://svn.apache.org/repos/asf/maven/components/tags/maven-2.0-alpha-2/
--
Kristian
> Thanks,
>
> Rahul
>
>
On 5/24/05, Vinicius Caldeira Carvalho <[EMAIL PROTECTED]> wrote:
> Hello there. I'm creating my first project using maven. I have some good
> experience with ant. So far It seems the COOLEST Project management around.
> I have a feel questions, simple ones I believe :D
>
> 1st. I have some libs n
On 5/23/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> Please search the archives. It is how they are intended to work.
>
> Please read the documentation about dependencies... since this is a
> FAQ, it obviously is lacking in some area, so I'd like suggestions on
> how to make it clearer.
Hi,
The
uot;target/classes"
> kind="src"
> path="src/java">
>
Here it generates two classpathentry elements:
...
It works fine here.
--
Kristian
> ... or I am doing something wrong.
>
> Adrian.
>
> Kristian Nordal wrote:
> > On
On 5/21/05, Adrian Herscu <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Using Maven 1.0.2.
>
> maven eclipse generates only the test entry in the .classpath file
Hi,
Have you specified the src/main/java directory as a source directory
in your POM? Inside your :
src/main/java
--
Kristian
>
On 5/20/05, Kristian Nordal <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to set up the mysql-connector-java as a dependency. It's
> called mysql-connector-java-3.0.10-stable-bin. In Maven 1, I think I
> used to set mysql-connector-java as artifactId, and 3.0.10-
Hi,
I'm trying to set up the mysql-connector-java as a dependency. It's
called mysql-connector-java-3.0.10-stable-bin. In Maven 1, I think I
used to set mysql-connector-java as artifactId, and 3.0.10-stable-bin
as versionId. If I do this in the m2 pom it will try to look for the
artifact here:
htt
33 matches
Mail list logo