When adding a new project to Continuum I've determined that it sees
~/.m2/settings.xml (for the user under which Continuum is running) but
not $M2_HOME/conf/settings.xml.
Are there any other settings.xml (or similar) files that Continuum
uses, where I could configure repositories?
--
Wendy
Hello,
I use the maven-jar-plugin to build an executable jar file with a
manifest that contains the classpath to all embedded jars.
When I build the assembly with the maven-assembly-plugin, the plug-in
adds some snapshot libraries with the build format pattern
We want to use a java library but we can't now because no java library for svn
is compatible with the ASF license.
Emmanuel
#Cyrille37# a écrit :
Hello,
I see that to use the maven-changelog-plugin with subversion I've to
install the subversion client.
I would like to know if it is possible
I checked that I get these dependencies downloaded from
http://repo1.maven.org/maven/, which is the default repo in m11 now.
-Lukas
Jamie Bisotti wrote:
We've been using 1.0.2 for a long time. Currently, I'm looking to move us
to 1.1 (baby steps). After replacing my 1.0.2 installation with
Keith,
I'm not that familiar with the assembly plugin but looking at the
assembly descriptor reference i found the attachmentClassifier/ tag,
for which the description says:
When specified, the attachmentClassifier will cause the assembler to
look at artifacts attached to the module instead
Hi,
I'm trying to create a project with Maven2 which references UNO
Java libraries. To use this libraries you add the dependencies and
also you have to add in project classpath de folder in openoffice.org
is installed. I tried many things like:
manifest
http://wiki.services.openoffice.org/wiki/Uno/Java/MavenBundles
hth,
Manos
Enric Forn Jorba wrote:
Hi,
I'm trying to create a project with Maven2 which references UNO Java
libraries. To use this libraries you add the dependencies and also you
have to add in project classpath de
thx, i'll try this out very soon, and let u know if it worked.
Damien Lecan-2 wrote:
u might have misunderstood my problem:
- in the J2ME API java.io.DataInputStream IS INCLUDED.
Ok
You need to change compiler bootclasspath, with J2ME API classes. In
my company, we are using our own
Hi all,
I am in the progress of updating a maven plugin for UIC (uic.sf.net) which I
use in the company I work for very often. It's goal is to convert
qt-designer files (*.ui) into java files using the UICcompiler. So far so
good. My problem is that currently it writes the generated java files
Hi,
i just wonder why the cobertura.ser file is not in the \target folder (since
it is generated).
do i need to check it in to my SCM (Subversion), is it updated when
executing later builds?
(or can i put it on the ignore list? and add it to the maven-clean-plugin
configuration?)
thx 4 help
Hi,
i just wonder why the qalab.xml file is not in the \target folder (since it
is generated).
do i need to check it in to my SCM (Subversion), is it updated when
executing later builds?
(does the plugin store the history of previous builds in this file?)
or can i put it on the ignore list?
It is generated in the target\cobertura directory and is updated each time
cobertura is executed. You should not put this file under sourcecontrol, there
is no use in doing so. If you want to keep history, just use the site-goal to
create reporting.
the maven clean plugin basically deletes the
Hi,
you need to add the directory as an additional source directory to the
pom. So in your mojo you need to do something like this:
project.addCompileSourceRoot( dir );
-Tim
Roy van der Kuil schrieb:
Hi all,
I am in the progress of updating a maven plugin for UIC (uic.sf.net)
which I
Hi,
Thanks for your quick answer. I added all dependencies in my
pom.xml, but also is needed to add in classpath project the
openoffice.org installation folder. And this is what I can't achieve.
There is no information about this in openoffice wiki link...
Any ideas?
Best
Enric Forn Jorba wrote:
Hi,
Thanks for your quick answer. I added all dependencies in my pom.xml,
but also is needed to add in classpath project the openoffice.org
installation folder.
This shouldn't be required AFAIK (i've done some weird work with UNO in
the past). Are you having a
Yes, I'm having an error on the Bootstrap:
com.sun.star.comp.helper.BootstrapException: no office executable found!
I've read that this is solved by adding the openoffice.org folder
installation in classpath. I've verified this by creating a simple
project without maven2, and the error
Hi,
Thanks a lot! That actually did the trick :)
-Roy
On 6/26/07, Tim Kettler [EMAIL PROTECTED] wrote:
Hi,
you need to add the directory as an additional source directory to the
pom. So in your mojo you need to do something like this:
project.addCompileSourceRoot( dir );
-Tim
Roy van
Hi,
I am a beginner to Maven. When I tried to run
mvn -e archetype:create -DarchetypeGroupId=org.apache.maven.archetypes
-DgroupId=com.mycompany.app -DartifactId=my-app
I got :
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
CodingPlayer wrote:
Hi,
i just wonder why the qalab.xml file is not in the \target folder (since it
is generated).
do i need to check it in to my SCM (Subversion), is it updated when
executing later builds?
(does the plugin store the history of previous builds in this file?)
or can i put it
Hi,
I have a resource file that I replace the project version using
${project.version} .
I also want to put the time that I created the version (e.g. 03 Jun 2007
19:00:00 GMT)
Is there a property that I can use?
Thanks!
-
To
Hi,
I saw the mailing lists and found its the problem with the proxy. I tried
making necessary changes in the settings.xml. But no use. It doesnt seems
to
read the settings.xml file at all. Can anybody shed some light?
or Can anybody send a sample proxy config (proxy /proxy alone).
Add the
Am Dienstag, 26. Juni 2007 14:15 schrieb [EMAIL PROTECTED]:
Hello,
When i configure surefire in the pom in order to skip the tests,
compilation of unit tests are done.
But when i use the command line configuration (-Dmaven.test.skip=true),
compilation of unit tests are not done.
Has
Hi,
Thanks for your reply. I tried with the -U switch, then it downloaded
all the things needed and created a project also. Why no one is specifying
abt this switch? Even after adding the mentioned lines if you wont add
the -U switch it was not working.
Thanks Regards,
Jose John
Hi,
I'm creating a jar using mvn package. The files, which are included in
this jar are using another jar (e.g. log4j-1.2.14.jar), which are stored in
maven repository. My part of pom.xml file responsible for dependencies looks
like:
dependency
groupIdlog4j/groupId
R.C.
The qalab.xml is not in the target folder so it won't get deleted when you
run mvn clean. This file is updated every time you run the QALAB plugin
and the results from each run are stored in this file.
Thanks,
David
CodingPlayer [EMAIL PROTECTED]
06/26/2007 04:21 AM
Please respond
You have to provide log4j via the classpath on your own.
Maven does include log4j in your generated jar automatically.
But Maven can generate the classpath for you
http://maven.apache.org/plugins/maven-dependency-plugin/usage.html
-dependency:build-classpath
2007/6/26, DCVer [EMAIL PROTECTED]:
Hi,
thx for this hint.
i finally found a nice description (about dealing with the qalab.xml file)
in the plugins FAQ:
http://qalab.sourceforge.net/multiproject/maven2-qalab-plugin/faq.html#what-scm
regards
R.C.
Dimitris Kapanidis-2 wrote:
CodingPlayer wrote:
Hi,
i just wonder why the
I would like to periodically convert an internal m1 repository to m2. On
the web there are hints of such tools that are used by ibiblio and ASF,
but I can't find any documentation.
I think what I need to do is use the ArchivaCli to do the conversion.
Can anyone confirm this, and/or provide an
Thanks for reply.
Hmm, I think my jar doesn't contain log4j - it only contains App.class and
pom.xml with pom.properties and manifest.mf. Is it a correctly built jar?
And I wonder why Maven2 won't set *somewhere* classpaths to jars on its own
if it knows where they are :-/
Jan-Christopher
Yes. The behavior is correct.
Maven does not include the log4j jar because jars cannot contain other jars.
When you use additional jars at runtime, you have to provide them via the
classpath.
And as far as i know you cannot define the classpath of jar inside the jar
like the main class.
So
Hello,
I've read the doc
http://maven.apache.org/guides/getting-started/index.html#how_do_i_build_more_than_one_project_at_once
and it's working for deploying a library but not to deploy an Applet in
a WebApplication.
I've 2 maven modules : a web application 'web-app' and an Applet
Ok, thanks for some information!
Jan-Christopher Bals-2 wrote:
Yes. The behavior is correct.
Maven does not include the log4j jar because jars cannot contain other
jars.
When you use additional jars at runtime, you have to provide them via the
classpath.
And as far as i know you
Hi guys...
If I have an artifact, how do I get the artifact dependencies?
VELO
Hi,
As part of my effort to write a customized dependency report (in XML), I
looked
at the maven-project-reports-info-plugin to understand how the dependency
resolution works. I made a slight modification, as it
Hi there,
I'm trying to use ${project.version} in resolving a parent project. But it
does not resolve the property. If I try using an environment variable, e.g.
${env.VERSION} it fails the same way.
This is the Maven output:
$ mvn -e -X help:effective-pom
+ Error stacktraces are turned on.
try ${pom.version} instead of ${project.version}
CletteBou
2007/6/26, Stefan Reinhold [EMAIL PROTECTED]:
Hi there,
I'm trying to use ${project.version} in resolving a parent project. But it
does not resolve the property. If I try using an environment variable, e.g
.
${env.VERSION} it fails
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Stefan,
I don't think you are allowed to have a property in the parent
reference. I tried this before and it would work in most other places
of the pom apart from the parent reference.
If I remember correctly, the rationale behind it is that
Hi list,
With maven 2.0.7, it seems that when global plugin parameters are
defined in the pluginManagement section of the POM, these parameters
are transmitted to the plugins defined in the plugins section of the
build but not to the plugins section of the reporting.
Is that a normal behavior or
Hello,
-Dmaven.test.skip=true will in addition not compile the tests vs
-Dtest=false will only skip execution.
cf.
http://www.nabble.com/mvn--Dtest%3Dfalse-%3D-mvn--Dmaven.test.skip%3Dfalse-tf3444280s177.html#a9611461
Rémy
qalab.xml is the database used my the qalab plugin to store the project history
about some information (see the qualab documentation). So, it should not be
deleted on a mvn clean.
You don't need to check it in your scm.
Maven is a BUILD tool not a RUNTIME tool. So your assumptions about
what Maven will do for you regarding your dependencies etc at runtime
are simply invalid. Dependency jars do not necessarily live in the
same location on all your machines.
If you require a single jar that just runs, you can
Looking at the list of available plugins [1] I guess you'd need the
dependency plugin[2] with goal copy [3].
Hth,
Nick Stolwijk
[1] http://maven.apache.org/plugins/index.html
[2] http://maven.apache.org/plugins/maven-dependency-plugin/
[3]
Nick Stolwijk a écrit :
Looking at the list of available plugins [1] I guess you'd need the
dependency plugin[2] with goal copy [3].
Hth,
Nick Stolwijk
[1] http://maven.apache.org/plugins/index.html
[2] http://maven.apache.org/plugins/maven-dependency-plugin/
[3]
Is there a POM property that can return the absolute path or itself?
I have a dependency that must use the systemPath tag but the absolute
path could be different for all our developers, but it's always the
same relative to the pom. Any idea how to accomplish this with just
entries in the
But that will work with dependencies on the repository only?!
I believe no
Maybe is a good idea to create as a dependency kind
VELO
On 6/26/07, #Cyrille37# [EMAIL PROTECTED] wrote:
Nick Stolwijk a écrit :
Looking at the list of available plugins [1] I guess you'd need the
Hi list,
Sorry for the long mail. Please take it as a user feedback more
than a rant despite the fact I'll talk about what does NOT work
and not about what works :)
I've now been playing around with Maven2 for some time, and while
it is a fantastic tool for building, I still do not manage to use
Marvin Froeder a écrit :
But that will work with dependencies on the repository only?!
I believe no
Yes you've right
Maybe is a good idea to create as a dependency kind
I do not want, because I'm in development phase...
I'm confused with the 'copy' plugin ...
If I put the 'copy'
Hi,
The following configuration for setting up a JNDI JDBC datasource for a
J2EE app works on Linux but does not work on Windows XP. Any idea if I need
to set up anything more on Windows. Thanks for your help!!
We are using Spring to configure our hibernate resources. The Spring bean is
#Cyrille37# a écrit :
Marvin Froeder a écrit :
But that will work with dependencies on the repository only?!
I believe no
Yes you've right
Maybe is a good idea to create as a dependency kind
I do not want, because I'm in development phase...
I'm confused with the 'copy' plugin ...
On Tue, 2007-06-26 at 12:41 -0400, Jared Blitzstein wrote:
Is there a POM property that can return the absolute path or itself?
I have a dependency that must use the systemPath tag but the absolute
path could be different for all our developers, but it's always the
same relative to the
On 6/26/07, DCVer [EMAIL PROTECTED] wrote:
Ok, thanks for some information!
I've gotten Maven to create an executable jar which sets a class-path in its
manifest file pointing (via a *relative* path) to contained dependent jars
within the same jar though the use of the jar and assembly
And this has to do with Maven how...?
Wayne
On 6/26/07, nmall [EMAIL PROTECTED] wrote:
Hi,
The following configuration for setting up a JNDI JDBC datasource for a
J2EE app works on Linux but does not work on Windows XP. Any idea if I need
to set up anything more on Windows. Thanks for your
On 6/25/07, Haim Ashkenazi [EMAIL PROTECTED] wrote:
[ERROR] BUILD ERROR
[INFO]
[INFO] Failed to create assembly: Artifact:
org.babysnakes.jibuy:core:jar:0.2 (included by module) does not have an
artifact with a file.
On 6/26/07, Lukas Theussl [EMAIL PROTECTED] wrote:
I checked that I get these dependencies downloaded from
http://repo1.maven.org/maven/, which is the default repo in m11 now.
-Lukas
Jamie Bisotti wrote:
We've been using 1.0.2 for a long time. Currently, I'm looking to move
us
to 1.1
The metadata file for spring is showing 2.0-m4 as the latest availble:
http://repo1.maven.org/maven2/org/springframework/spring/maven-metadata.xml
But the directory is showing more versions available (I'm trying to get
2.0.6):
http://repo1.maven.org/maven2/org/springframework/spring/
I
I don't know. I didn't use maven-proxy for a long time.
Actually I'm using Archiva.
You some others choices like Proximity or Artifactory.
Arnaud
On 26/06/07, Jamie Bisotti [EMAIL PROTECTED] wrote:
On 6/26/07, Lukas Theussl [EMAIL PROTECTED] wrote:
I checked that I get these dependencies
Hi all,
I recently started using Maven but still a novice.
Is there a way to make Maven do the following tasks:
1a) recognize a developer's checkin in Perforce and get the name of the
related changelist.
1b) compile the codebase files of the above changelist.
1c) create a new folder in the
I'm a bit unclear what you mean by compile the codebase files of the above
changelist. Do you only want to compile the files affected by the
changelist? If so, that doesn't seem doable.
You might have a look at the Maven SCM plugin for a description of what it
can do for you:
We have two projects. For the sake of this post lets call them Foo and Bar.
Foo depends on Bar and declares it in its pom file. Since both Foo and Bar
are actively worked on and generate snapshot versions using continuous
integration server, this is a snapshot dependency. All is well until we
take a look in archiva/maven-meeper/src/bin/m1-m2-conversion
We've checked in a version of archiva-cli that was used there - I
don't believe this process has been tested during the recent changes
so the current archiva-cli may not work identically. That feature will
be supported natively in
If Foo and Bar have their development so closely linked that they
always use a snapshot version of each other, why not align their
versions and release them together as one multi-module project?
- Brett
On 27/06/07, vadimos [EMAIL PROTECTED] wrote:
We have two projects. For the sake of this
Hi
Thanks for the prompt reply.
A correction to Ib of my original post:
I want to do a compile of all the files but I also want to grab the latest
changelist name using maven.
Is it possible. Also is 1c (from my original post) possible to do thru
maven?
By the way, I have continum as the
that's certainly a bug to report under the MEV JIRA project - you can
find details on the web site of how to do that.
I would suggest using dependency management to force the 2.0.6 version
in the mean time.
On 27/06/07, iamamaven [EMAIL PROTECTED] wrote:
The metadata file for spring is
But eclipse does not support multi module projects. How would you set one up
in Eclipse?
vadim
Brett Porter wrote:
If Foo and Bar have their development so closely linked that they
always use a snapshot version of each other, why not align their
versions and release them together as one
You want to look at MDEP-47. This is a feature planned for 2.0-alpha-5.
-Original Message-
From: purestudent [mailto:[EMAIL PROTECTED]
Sent: Monday, June 25, 2007 12:10 AM
To: users@maven.apache.org
Subject: Re: maven-dependency-plugin filtering issue
Hi!
includeTypes does not do that
If you are just interesting in checking properties, take a look at the
new requireProperty rule, it has the ability to check the property and
run regEx on the value.
Regarding the specific error you pasted below using the beanShell rule,
can you run with mvn -X and open a jira with the output?
my understanding is that a suitable structure for multimodule projects
has been achieved in the eclipse plugin for some time, though I am not
currently a regular user so I'd refer you to someone else to answer
that :)
On 27/06/07, vadimos [EMAIL PROTECTED] wrote:
But eclipse does not support
Hi Shinjan,
You can separate the two. Place the ant project in its own project,
configure the ant run plugin there. Then, in the maven project, add the
ant project as a dependency. If you want this in one nice build, you can
place both projects under one parent, this way, when you build the
Copy-dependencies will pull from sibling target folders because it starts with
the dependencies already resolved by Maven. (meaning it will find sibling deps
even if you don't do install)
Copy will only pull from the repository so you must have already installed or
deployed it.
Copy was
Wrt
2. If yes, how to force eclipse to use profile before it attempts to
download Bar's version from local maven repository.
Are you using m2eclipse plugin? If so, perhaps this posting on the
m2eclipse mailing list helps?:
http://www.nabble.com/RE%3A-Profile-dependencies-p11092303s177.html
Henry -
What maven packaging type would the ant project have in this case?
What would the ant project do in each phase of the first maven build?
How would the second maven project gain access to the products of the
first ant build?
On 6/26/2007 6:08 PM, Henry Isidro wrote:
Hi Shinjan,
You
I don't believe right now you can grab the name of the changelist through
Maven. It sounds like you are wanting to build the project, and commit the
result of that build to your source repository using the name of the
changelist as the depot location.
If this is the case, I have to ask -- why?
Hi,
I am attempting to release a multi-module project which is set up
something like this in an SVN repo:
Parent (pom-only)
|
| _ _Core (linked via svn:externals to a different SVN location)
|
|_ _ Webapp (linked via svn:externals to a different SVN location)
Now, when I run
72 matches
Mail list logo