I don't understand, I have now run it again and I don't get the warning
anymore? Maybe I've had some unused import or something before?
regards,
Wim
2008/9/5 Brett Porter [EMAIL PROTECTED]
I don't have that problem (TestNG 5.8).
Are you sure that you're not using the JUnit assert classes,
In the parent pom, it includes copy-dependency plugin which I want to disable
in the child pom. I use this configuration:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-dependency-plugin/artifactId
Does it work if you are not using the central repo directly but a repository
manager (archiva in my case) in between. Will this plugin see the newer
versions, even if they are not in archiva yet?
regards,
Wim
2008/9/5 Stephen Connolly [EMAIL PROTECTED]
The Mojo team is pleased to announce the
Hi,
here is a small story about working with Maven. In my experience of 6 months
now this happened very often like this. Maven is very hard to manage, not
intuitive and error messages are incomprehensible or misleading.
The problem: We have 5 Maven projects with sub projects. For test
Hi Eugene,
thank you for your reply. I did as recommended:
- Reviewed, that the webproject has directory /src/main/java.
- Set explicit sourceDirectory in project´s pom.xml.
- Committed last changes, without .project, .classpath, .settings of
course.
- Checked out using the Maven SCM
Hi,
This is the second part of: how accessing properties from settings in test
classes?
Second idea: I found the properties-maven-plugin which has a goal that writes
all settings properties into a file. Fine, that's what I need. However, this
plugin is not on the rep01.maven server but
Hi,
This is the third part of: how accessing properties from settings in test
classes?
Finally I copied the -maven-plugin file by file from the codehaus server into
our internal repository and now it was found by Maven. However, on running it
during the generate-test-resources phase
On Fri, Sep 5, 2008 at 8:50 AM, [EMAIL PROTECTED] wrote:
Second idea: I found the properties-maven-plugin which has a goal that writes
all settings properties into a file. Fine, that's what I need. However, this
plugin is not on the rep01.maven server but only on a codehaus server. So I
On Friday 05 September 2008 [EMAIL PROTECTED] wrote:
pluginRepositories
pluginRepository
idcodehaus/id
namecodehaus Repository for plugins/name
urlhttp://snapshots.repository.codehaus.org/url
layoutdefault/layout
/pluginRepository
On Friday 05 September 2008 [EMAIL PROTECTED] wrote:
I looked into the source code of the plugin. It uses
project.getActiveProfiles() and this method returns an empty list. But I
have a profile defined in settings which is set active with
activeProfile. Why does the getActiveProfiles() method
On Friday 05 September 2008 [EMAIL PROTECTED] wrote:
pluginRepositories
pluginRepository
idcodehaus/id
namecodehaus Repository for plugins/name
urlhttp://snapshots.repository.codehaus.org/url
layoutdefault/layout
/pluginRepository
On Sep 4, 2008, at 22:09, Stephen Connolly wrote:
On Thu, Sep 4, 2008 at 8:52 PM, Benjamin Smith-Mannschott:
Yes. That helped, as did
http://docs.codehaus.org/display/MAVEN/Extending+Maven+2.0+Dependencies
Which actually comes out and says that qualifier and build nr are
mutually
Second idea: I found the properties-maven-plugin which has a goal that
writes all settings properties into a file. Fine, that's what I need.
However, this plugin is not on the rep01.maven server but only on a
codehaus server. So I defined an additional repository:
No need to use that plugin.
In the submodule where you don't want the plugin to run, add a plugin
element with the following elements within:
executions
execution
idsome-id/id
phasenone/phase
/execution
/executions
On Fri, Sep 5, 2008 at 08:40, youhaodeyi [EMAIL PROTECTED] wrote:
In the parent pom, it
Wolfgang,
For test resources you should use the testResources element, not the
resources element. The documentation is a bit shallow on this matter.
Asgeir
On Fri, Sep 5, 2008 at 08:46, [EMAIL PROTECTED] wrote:
Hi,
here is a small story about working with Maven. In my experience of 6
That is a good question...
I would think that when you ask for the latest maven-metatdata.xml archivia
will check if it's cache is out of date and then query central...
if you do mvn -U do you get the latest version of a plugin automatically (if
yes, then the answer is yes, if no then the answer
This configure works.
thanks
Asgeir S. Nilsen-2 wrote:
In the submodule where you don't want the plugin to run, add a plugin
element with the following elements within:
executions
execution
idsome-id/id
phasenone/phase
/execution
/executions
On Fri, Sep 5, 2008 at 08:40,
On Friday 05 September 2008 [EMAIL PROTECTED] wrote:
I looked into the source code of the plugin. It uses
project.getActiveProfiles() and this method returns an empty list. But
I
have a profile defined in settings which is set active with
activeProfile. Why does the getActiveProfiles()
On Fri, Sep 5, 2008 at 9:23 AM, [EMAIL PROTECTED] wrote:
On Friday 05 September 2008 [EMAIL PROTECTED] wrote:
I looked into the source code of the plugin. It uses
project.getActiveProfiles() and this method returns an empty list. But
I
have a profile defined in settings which is set
On Friday 05 September 2008 [EMAIL PROTECTED] wrote:
Profiles are configured in the users/settings.xml so help:effective-pom
gives no information about profiles
It does, your profiles are just not activated! See Stephen's mail why they
are not activated.
hth,
- martin
signature.asc
Hello,
I'm new to this list, so here it goes :)
I'm using repo1.maven.org and I need org.eclipse.core:runtime, version
3.3.100-v20070530 for a build. Unfortunately there are some dependency
problems, and the build fails. I'll explain the problems:
I have this in the org.eclipse.core:runtime
After all,
I consider this classical paradigm of all you need is there, just obstructed
by details all over.
Filtering did not work because resource does filtering for mainstream, but
Wolfgang needed filtering for test.
If you know what to look for, this distinction is quite obvious from the
I looked into the source code of the plugin. It uses
project.getActiveProfiles() and this method returns an empty list.
But
I
have a profile defined in settings which is set active with
activeProfile. Why does the getActiveProfiles() method returns
zero?
Try using the maven-help-plugin
Hi, I wonder how to get the org.apache.maven.model.Model from an
org.apache.maven.artifact.Artifact ??
getLog().info(Project : getArtifacts: + project.getArtifacts().size());
for (final Artifact artifact : (SetArtifact) project.getArtifacts()) {
getLog().info( + artifact + , +
[Winter, Wolfgang] Hi all, thanks for your answers and sorry if I started this
more general criticism about Maven. I am only a dumb user who just started
setting up projects with Maven and it is really a great tool concerning project
structuring and building. And Rainer is probably right when
the plugin doesn't have this sort of capability - it would instead require
making a plugin to write the file itself and including that in the assembly.
- Brett
2008/9/1 Frank Durden [EMAIL PROTECTED]
Hi,
When making a zip assembly, I'd need to generate a file that contains a
list
of the
Le vendredi 05 septembre 2008 à 10:48 +0200, Julien Graglia a écrit :
Hi, I wonder how to get the org.apache.maven.model.Model from an
org.apache.maven.artifact.Artifact ??
I reply to myself ... I just found how to do that :
see
On Friday 05 September 2008 [EMAIL PROTECTED] wrote:
But for me the
problem is not only documentation but also a user-friendly design. Take
the filtering example: For main/resources you have
resourcesdirectorymain/resources ... And for test/resources you have
to say
Yes, Archiva will proxy and merge the metadata as well if configured to do
so.
- Brett
2008/9/5 Stephen Connolly [EMAIL PROTECTED]
That is a good question...
I would think that when you ask for the latest maven-metatdata.xml archivia
will check if it's cache is out of date and then query
version${project.version}/version
2008/9/3 jwcarman [EMAIL PROTECTED]
I have a project that contains a core library and a couple of archetypes
that
I want to use it. How do I put a dependency in my archetypes that says
use
the core library from the same version as me? Does that make
this is typical as the profile is not considered part of the build unless
activated.
However, it seems reasonable to adjust profile dependencies in the way you
indicated, so I'd say it's a bug you can file.
To workaround it, I suggest putting the value in a property outside the
profile so that it
it appears the site deploy is using different source code or different
plugins to compilation. Which report is causing the failure? Does the nature
of the compile error indicate the problem?
Unfortunately the information in your mail is not enough to go on much
further.
Good luck,
Brett
2008/9/4
I think this is a known bug that it uses the repositories for POMs instead
of the pluginRepositories in some circumstances.
You can add a normal repository definition for your internal repository.
Probably a better solution is to use mirroring to delegate all requests to
your internal
this is a bit OT for this list... but the reason it is occurring is because
it doesn't populate if it is the default value. Not sure if there's a way to
force that (other than changing the default).
- Brett
2008/9/5 [EMAIL PROTECTED]
Hello,
I have created a .mdo with a required int attribute
Look at the version rules
1.0.0-anything 1.0.0
if you set the version range as [1.0.0-,2.0.0) you should be OK
On Fri, Sep 5, 2008 at 9:39 AM, Caraivan Constantin [EMAIL PROTECTED]wrote:
Hello,
I'm new to this list, so here it goes :)
I'm using repo1.maven.org and I need
On Fri, Sep 5, 2008 at 9:45 AM, [EMAIL PROTECTED] wrote:
By the way, the settings.xml contains this:
profile
idjboss/id
activation
activeByDefault/
You need to change this to
activeByDefaulttrue/activeByDefault
as
assert true.equalsIgnoreCase() == false;
Brett,
That actually doesn't get translated for me (that was the first thing I
tried). It shows up in the resulting pom when I generate a project from the
archetype exactly as you typed it.
Brett Porter wrote:
version${project.version}/version
--
View this message in context:
Hello,
I solved the problem locally, but I need the problem solved on repo1 (I
can't rely on people I distribute my pom.xmls to change their local
repositories).
It goes like this: My build - org.eclipse.core:runtime -
org.eclipse.equinox:app. org.eclipse.core:runtime, which is public, has
an
Sorry, I misunderstood that it was actually inside the archetype. Do you
want it to be replaced with the version of the archetype (that should
probably be filtered in at build time), or to be the one that is prompted
for when generating the archetype project (${version} instead)?
Cheers,
Brett
Brett,
Yes, I want it to be the same as the version of the archetype (I tried
${archetypeVersion}, but that stays as it is too). The archeytpe has a
sibiling which is my core library.
Brett Porter wrote:
Sorry, I misunderstood that it was actually inside the archetype. Do you
want it to
You are best to filter this in when creating the original artifact using the
conventional resource filtering.
- Brett
2008/9/5 jwcarman [EMAIL PROTECTED]
Brett,
Yes, I want it to be the same as the version of the archetype (I tried
${archetypeVersion}, but that stays as it is too). The
Hi,
I am trying to do the mvn install from Eclipse. I use the Maven Eclipse
Plugin. When I try to to run mvn with any goal i get this error:
[INFO] task-segment: [process-resources]
[INFO]
[ERROR]
Maven cannot
Could you not work around the issue with exclusions?
On Fri, Sep 5, 2008 at 11:45 AM, Caraivan Constantin [EMAIL PROTECTED]wrote:
Hello,
I solved the problem locally, but I need the problem solved on repo1 (I
can't rely on people I distribute my pom.xmls to change their local
repositories).
Hi List,
I am successfully using resources filtering in a WAR overlay
(maven-war-plugin 2.1-alpha-2). I enabled it using the filtered=true
attribute like this:
overlay
groupIdexample/groupId
artifactIdapplication/artifactId
filteredtrue/filtered
/overlay
The process is also described
On Thu, Sep 4, 2008 at 7:18 PM, Stephen Connolly
[EMAIL PROTECTED] wrote:
The Mojo team is pleased to announce the release of the Versions Maven
Plugin, version 1.0-alpha-1.
This plugin allows:
* the querying for newer versions of plugins used in a project.
* the querying for newer
Hi,
Have a look to this discussion
http://www.nabble.com/damage-image-files-td15431864.html#a15432280.
I think it could help.
Rémy
Hello,
Yeah, I could, but wouldn't it be better to just FIX the problem? I'm
even willing to contact the person responsible for that pom, if I could
just find out who he/she is.
Regards,
___
Costin Caraivan
From: Stephen Connolly [mailto:[EMAIL PROTECTED]
Sent: 5 septembrie 2008
On Fri, Sep 5, 2008 at 9:24 AM, Stephen Duncan Jr
[EMAIL PROTECTED]wrote:
My first attempt to run it gave this output that seems...incorrect:
[INFO] The following dependency updates are available:
[INFO] c3p0:c3p0 .. 0.9.1.2 -
0.9.0
Sorry about the
Yep, basically 4 digit version numbers are not in the maven format!
On Fri, Sep 5, 2008 at 2:37 PM, Stephen Duncan Jr
[EMAIL PROTECTED]wrote:
On Fri, Sep 5, 2008 at 9:24 AM, Stephen Duncan Jr
[EMAIL PROTECTED]wrote:
My first attempt to run it gave this output that seems...incorrect:
Hi,
we have a kind of strange version mechanism, and I wonder I can 'translate'
this to maven.
This is how it works:
E1.01.01
E1.01.02
..
V1.01
Versions starting with E are test builds leading into the release (V1.01 in
the example)
Is 1.01 considered newer then 1.01-E01 for example?
regards,
Since it was uninstalled, it probably removed the m2e nature on that
project. You can reimport it, or I think if you right click it you can
enable the maven management on it.
-Original Message-
From: thomas2004 [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2008 3:09 AM
To:
On a related note, you might want to use the
someEclipseGroupId:Bundle-SymbolicName flavor of the Eclipse dependencies.
I have been looking for official answers to the official Eclipse
coordinates question, but haven't found any. From my understanding of a
discussion [1] on the dev list, the
Andrew Robinson-5 wrote:
BTW, if you plan on using JFace, do not use the libraries from maven,
use your own from eclipse. The maven pom files for the uploaded SWT
and JFace jars are incompatible. I found it much easier to install my
own jars into my local repo than trying to fight the
Hi all,
I have two Maven projects named t4-core-utils and t4-core-commons. They
build jar artifacts and install them to my M2 repository.
Now I want to build a jar that merges both jars (extract files from these
jars and add them to a new jar) then install it to M2 repository so that it
can be
From my reading of the code, anything with a qualifier is older than
anything without a qualifier
thus 1.01-blah 1.01
On Fri, Sep 5, 2008 at 2:49 PM, Wim Deblauwe [EMAIL PROTECTED] wrote:
Hi,
we have a kind of strange version mechanism, and I wonder I can 'translate'
this to maven.
This
Thank you Rémy, that was the link I needed.
To quote the relevant part:
8-
In the last war plugin SNAPSHOT, there is now a new configuration
parameter which prevent filtering on file extensions :
configuration
Hi,
I am using seam with maven and now I want to use a new version (2.1.0.BETA1)
On my project's root pom I wrote the new version in:
parent
groupIdorg.jboss.seam/groupId
artifactIdroot/artifactId
version2.1.0.BETA1/version
/parent
In my ejb sub-project I get the error
Which list would be more appropriate to post? I have some more question
about how Modello is working, but I want to post to the correct list.
Thanks,
-Nate
On Fri, 5 Sep 2008 20:16:00 +1000, Brett Porter [EMAIL PROTECTED]
wrote:
this is a bit OT for this list... but the reason it is
You might want to take a look at the shade plugin
http://maven.apache.org/plugins/maven-shade-plugin/
A configuration like the following should create a jar containing the classes
from the two t4 jars you depend on:
plugin
groupIdorg.apache.maven.plugins/groupId
Hi,
Is anyone developing using Maven and Java 5 on OS X Leopard with a first
generation Macbook Pro (MBP) Core Duo?
I am experiencing an odd issue that only seems present on a Core Duo and
I've tried it on a Core 2 Duo (MBP/OS X Leopard), Windows XP and RHEL
Linux and only the first gen
well everything works with mine
maven 2.0.9
java 1.5
osx leopard
1 gb ram
gert wohlgemuth
blog
http://berlinguyinca.blogspot.com
work:
http://fiehnlab.ucdavis.edu/staff/wohlgemuth
On Sep 5, 2008, at 9:20 AM, John [EMAIL PROTECTED] wrote:
Hi,
Is anyone developing using Maven and Java 5
Be sure to issue
svn update
before the mvn release:perform. This can fix some types of errors,
even though it prints nothing and an svn status command appears to
show the project up to date.
-Ken
Chris Graham wrote:
Ok, it is attempting to check out this:
Brett,
I apologize, but I don't understand what you mean. When do I do the
filtering? Do I need to put the pom.xml file somewhere else in my project
structure? Do I just turn on filtering for the place where my pom.xml lies
now?
Brett Porter wrote:
You are best to filter this in when
Hi all, the following is my pom.xml. As I run mvn clean I got error:
[code]
[ERROR] BUILD ERROR
[INFO]
[INFO] Failed to resolve artifact.
GroupId: org.apache.maven.plugins
ArtifactId: maven-dependency-plugin
Version: 2.0
Wayne, you state that the groupId, artifactId and version are always used
when publishing to a repo, so I tried specifying ${buildNumber} as the
version, as in
version${buildNumber}/version
However, this didn't get interpolated correctly, leading to an artifact in
my repo called
I have exactly that configuration and it has been working fine for over a
year. You might try to see if Appfuse works on it. Appfuse has an
Archetype that will build a totally new self contained running application
for you. Anything I can do to help let me know.
Scott Ryan
President/CTO
By default m2eclipse is using Maven 2.1-SNAPSHOT, and it seem like you are
hitting into backward incompatibilities with version you are using in the
command line.
To workaround that you can configure default Maven runtime to use the same
version as you are using in the command line. See
Hi Scott,
Thanks for the reply. I am able to do regular java development
(Elipse, IntelliJ, ant, JBoss, Tomcat, Geronimo, webapps, ears, jar
files etc). However, when I use *any* version of Maven and perform a
mvn install, I get an error.
I've documented it here
The inherited flag in the plugin block is broken, but in 2.0.9 we made
sure the inherited flag inside the execution block does work.
-Original Message-
From: youhaodeyi [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2008 2:40 AM
To: users@maven.apache.org
Subject: How to disable a
I can't see anything obvious in your config, and ibiblio does have the
file:
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/maven/plugins/m
aven-dependency-plugin/2.0/
So either there is bad metadata in your local repo, or you have some
connection problem/firewall etc.
-Original
Maven Users -
I'm relatively new to Maven and would like to request guidance on setting up
a project, customizable per client. The project is a pretty standard
Struts2/Spring project, and we currently control customization using Ant.
Each client version of the product can overwrite a few
the difference is that version has to be evaluated prior to any
lifecycle phase or plugin execution
if you define a property in your pom it is available when constructing
the model
the buildnumber plugin is attached to the first phase and the property
is defined at that point, but by
Hi John,
I did not see if the expected java -version matches that of your mvn -x
output shared.
I recall a link operation ( ln -s ) was required on Mac volume to get newer JDK
hooked up correctly.
Sean
-Original Message-
From: John [mailto:[EMAIL PROTECTED]
Sent: Friday, September
All you have to do is enable filtering on src/test/resources. I don't believe
filtering is enabled on src/main/resources by default either.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2008 2:53 AM
To: users@maven.apache.org
Subject:
I'm pretty sure activeByDefault is not used in settings, this is for the
pom only. That's what the activeProfiles section is for.
-Original Message-
From: Stephen Connolly [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2008 6:27 AM
To: Maven Users List
Subject: Re: from workaround
You don't have the version in the dependency or dependencyManagement
section for that exact dependency. I'm a little confused by your
reference to the parent element as it is orthogonal to the dependency.
Does your parent have this version specified properly? Why are you using
org.jboss.seam as
We have an exec in one of our builds that produces an .exe file. Of course
this is not the main packaging for the pom and is not included in the
standard deploy phase. I am aware you can use the deploy:deploy-file goal
from the command line and see those examples. My question is if there is a
that will only compound the problem as your user-friendly MAC will suddenly
re-appear on your desk
with even more bugs than it had before
try
mvn -e install
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any
I've used the build helper plugin for this in the past:
http://mojo.codehaus.org/build-helper-maven-plugin/usage.html
Justin
-Original Message-
From: Scott Carter [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2008 3:39 PM
To: Maven Users List
Subject: Deploying a file in deploy
The build-helper plugin helps with things like this, generally.
Wayne
On Fri, Sep 5, 2008 at 12:38 PM, Scott Carter [EMAIL PROTECTED] wrote:
We have an exec in one of our builds that produces an .exe file. Of course
this is not the main packaging for the pom and is not included in the
Hi
Instructions on how filtering works in the Resources Plugin can be found
on this page:
http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
[EMAIL PROTECTED] wrote:
Hi,
here is a small story about working with Maven. In my experience of 6 months
now this
have a look at build-helper-maven-plugin and the attach artifact goal
Sent from my iPod
On 5 Sep 2008, at 20:38, Scott Carter [EMAIL PROTECTED]
wrote:
We have an exec in one of our builds that produces an .exe file. Of
course
this is not the main packaging for the pom and is not
see http://xircles.codehaus.org/projects/modello/lists
regards,
Hervé
Le vendredi 05 septembre 2008, [EMAIL PROTECTED] a écrit :
Which list would be more appropriate to post? I have some more question
about how Modello is working, but I want to post to the correct list.
Thanks,
-Nate
Great. Thank you for the link.
After Brett's comments, I created a JIRA issue:
http://jira.codehaus.org/browse/MODELLO-118
-Nate
On Fri, 5 Sep 2008 22:01:00 +0200, Hervé BOUTEMY [EMAIL PROTECTED]
wrote:
see http://xircles.codehaus.org/projects/modello/lists
regards,
Hervé
Le vendredi
2008/9/6 jwcarman [EMAIL PROTECTED]
Brett,
I apologize, but I don't understand what you mean. When do I do the
filtering? Do I need to put the pom.xml file somewhere else in my project
structure? Do I just turn on filtering for the place where my pom.xml lies
now?
Yes, this is on the
Hi
I have Windows Vista Home Premium 64-bit operating system.
Just want to know whether Nexus can be installed on a Windows Vista 64bit
O.S.
I've tried installing Nexus using the InstallNexus.bat (found in the
nexus-webapp-1.0.0\bin\jsw\windows-x86-32 directory), but, I get the
following
Nexus itself should work just fine on Windows 64bit, but the wrapper
used to launch it might require a different version of the native code.
You can get a version of it here:
http://wrapper.tanukisoftware.org/doc/english/download.jsp
Barring that, hop over to the [EMAIL PROTECTED] list and we can
Hi
I have Maven2 installed on my workstation at work, and it works fine...
Love it.
I talked one of our adminstrators into installing Nexus on one of our
development servers to compliment our Subversion repository.
As soon as we got Nexus running, I installed the 3rd party artifacts I use
in
Thanks for your reply Brian
Please do let me know whether you can find a workaround on your 64-bit Vista
machine.
Any expertise you can provide is much appreciated.
(NOTE: I'd dump the 64-bit Vista from my new laptop, but, I'm not certain
how much of a pain it would be to find all the
It finds the plugin but not the dependencies. Where are these
dependencies? Are they also in the 3rd party repo? Do you have any
routing rules defined that may exclude the 3rd party repo for these
dependencies?
If you can paste the logs, it would help. I would recommend bringing the
discussion
Hi Brian
As least jaxws-tools.jar is missing, and *apparently* several other jars
that are included in the jaxws-ri lib.
(see
https://jax-ws-commons.dev.java.net/jaxws-maven-plugin/dependencies.html;)
It was not necessary to manually upload any extra dependencies to my
.m2/repository.
I
I have a need to manipulate an existing archive type ( ie zip, jar,
tgz, tbz2, etc ) on the fly at build time.
So I will cook up a plugin base on the TrueZip api to implement copy,
list, remove mojos
should I go with truezip-maven-plugin to give it the credit or with a
more abstract name
92 matches
Mail list logo