I have added two users to the default archiva 1.0 release:
* developer should only be able to manage/deploy to the snapshots repository
and observe the internal one.
* cc should only be able to manage/deploy to the internal repository and
observe the snapshots one.
On the user roles screen
Hi
I'm in this situation as well, only with maven-2.0.7.
Reading http://jira.codehaus.org/browse/SUREFIRE-61
I haven't understood if they are taking into account both
ordering options (main vs test first)...
cheers
Francesco
Ronn.Chinowutthichai wrote:
I've worked out what happened.
Hello,
I can't find a release for surefire 2.3.1. Judging from jira, it seems this
version is released, but I can't find it in repo1 as 2.4 version of surefire
seems to be the current one. Can someone tell me what is the status of this
release ?
regards,
domDepuis le 15 octobre, Dexia
Hello,
I have the following problem:
A multi module POM (called M) has tow modules A and B.
If I run Maven on M, then the execution order is A,B and M.
Now, let assume that M is the parent of A and B.
The execution order is changed to M,A and B
This causes me some trouble because I want to run
I would like to configure the maven-dependency-plugin to unpack a dependency
that contains templates I want to override prior to generating the source
code in AndroMDA. Currently it does the unpacking into the directory I have
setup as a mergerLocation in my andromda.xml but the unpacking occurs
Surerife 2.3 is the latests release. 2.3.1 2.4 are still in dev, but will
be released soon according to lastest threads on the dev-list.
Nico.
2007/12/11, DJP JEAN-PROST Dominique [EMAIL PROTECTED]:
Hello,
I can't find a release for surefire 2.3.1. Judging from jira, it seems
this version
Hi,
my question is regarding activation of profiles based on the jdk tag.
Assume that a POM specifies two profiles, one that should trigger for JDK
1.5.x and one for JDK 1.6.x. The POM would look like this:
profile
activation
jdk1.5/jdk
/activation
...
/profile
profile
Stephane Nicoll wrote:
Replace 2.0 by 2.0.2.
It's a bug and it has been fixed.
Sorry, but I still cannot run mvn install from my parent pom.
Additionally, when I try to run mvn install from the webapps pom I get:
[INFO] [war:war]
[INFO] Exploding webapp...
[INFO] Assembling webapp
On 12/11/07, Thorsten Möller [EMAIL PROTECTED] wrote:
Hi,
my question is regarding activation of profiles based on the jdk tag.
Assume that a POM specifies two profiles, one that should trigger for JDK
1.5.x and one for JDK 1.6.x. The POM would look like this:
profile
activation
I guess the key question is: do you spend much time or effort on your
current build and is it mature enough?
I used to work with quite massive ant builds but they were mature enough so
we didn't have to spend much effort to add new modules to the project. So it
wasn't worth it to migrate to
maven-eclipse-plugin 2.5-SNAPSHOT does support WTP 2.0 with hot deployment
on servers defined via WTP and even exploded deployment of JBoss Tools 2.0.
On 12/10/07, Rob Hasselbaum [EMAIL PROTECTED] wrote:
Hi,
I'm trying to use Maven for an Eclipse Europa (WTP 2.0) project. What's
the best way
Done: http://jira.codehaus.org/browse/PLX-358 complete w/sample project.
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Monday, December 10, 2007 4:49 PM
To: Maven Users List
Subject: Re: JDK 1.5 java.lang.Enum Buid Failure using Maven 2.0.8
Zip up a small sample
Thanks to google, I've found http://codehaus.org/~shinobu/gwt-maven-plugin/and
http://code.google.com/p/gwt-maven/
What is the status of supporting GWT compiler in maven builds ?
Nico.
Hi,
I am using Continuum 1.1 deployed on tomcat 5.5. The problem I am facing is
that Continuum after checking out is not able to handle the parent-child
relationships in the project structure.
For instance if there is a Maven Project R1 which has a child R2 ( inside
the pom of R1 i have mentioned
I have a nasty feeling from Googling that this is a common requirement that
can't be handled by Maven as it currently stands, but perhaps someone else
has managed to address the issue.
We have a number of large projects that we're migrating to Maven (the
smallest of them has over a hundred
You can use any of the phases listed here:
http://www.sonatype.com/book/lifecycle.html
If androMDA uses generate-sources, then you need to use validate.
-Original Message-
From: jeeads [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 11, 2007 4:41 AM
To: users@maven.apache.org
Subject:
Hello all, I am attempting to pull all the contents out of a directory, into
a specified output directory. The problem I'm running into is that I am
only getting the root contents, no files or folders in the first level of
subdirectories. The code I am attempting to get to work is the
Adrian Jackson wrote:
This would be a lot easier, of course, if we could define the version in a
single location rather than having to do so in every pom.xml - which makes
code reviews a nightmare as each review would contain changes to all the
poms which may or may not require checking by eye.
Graham Leggett wrote:
In each child pom, don't declare a version at all, this means the
version of the child will inherit from the parent.
I think I'm getting confused now - how do the children reference their
parent in that case? Isn't the version element compulsory within parent?
--
View
Brian,
Thanks for the quick response. I have tried using Validate in the
phase property but it still creates the source from the templates prior to
unpacking the necessary resources? If I take the executions node tree out
of the plugin and use mvn dependency:unpack install everything
Adrian Jackson wrote:
I think I'm getting confused now - how do the children reference their
parent in that case? Isn't the version element compulsory within parent?
Irritatingly enough it is required under parent, but the release plugin
does the right thing and updates all of these values
Your ant-path matching needs to change I believe.
'*' means all files in present directory.
'**/*' is what you want I believe. That would mean any file in any
subdirectory (present directory included).
Easier yet, get rid of the includes tag altogether. If you don't specify
any excludes or
Also, what's with the filesets? This looks more like an ant file than a
maven pom...
On Dec 11, 2007 9:39 AM, tadamski [EMAIL PROTECTED] wrote:
Hello all, I am attempting to pull all the contents out of a directory,
into
a specified output directory. The problem I'm running into is that I
Thank You! Leaving out the includes tag pulled all of the contents of the
directory. Thank you once again.
Kallin Nagelberg wrote:
Your ant-path matching needs to change I believe.
'*' means all files in present directory.
'**/*' is what you want I believe. That would mean any file in
Yes, I noticed that. Is the snapshot code fairly stable at this point?
I'm glad to hear it plays nicely with JBoss Tools, too.
On 12/11/2007 07:13 AM, Siarhei Dudzin wrote:
maven-eclipse-plugin 2.5-SNAPSHOT does support WTP 2.0 with hot deployment
on servers defined via WTP and even exploded
Graham Leggett wrote:
Irritatingly enough it is required under parent, but the release plugin
does the right thing and updates all of these values for you
automatically each time you make a release.
Which brings us back to square one: that doesn't work with our workflow, as
it would result
Adrian Jackson wrote:
Which brings us back to square one: that doesn't work with our workflow, as
it would result in hundreds of changes to pom.xml files for every piece of
work.
Which the release plugin does for you.
What procedure do you use to release code, is is standardised or has it
I played with your sample a bit and wrote a lengthy response in JIRA.
I am reasonably convinced this is simply an example where Eclipse's
JDT compiler is doing something extra that allows your code to work,
but it really doesn't. You can't always trust Eclipse, as it does not
dispatch to your
Hello all,
Does anyone know where I might be able to find a Maven 2 archetype for Java
EE 5 to get my project off to a start? It would be very handy to have an
archetype that provides structure for both the servlet container and EJB
container.
Thanks,
Jim
any idea?
On 10/12/2007, emerson cargnin [EMAIL PROTECTED] wrote:
Hi
I'm trying to use maven2 site deployment.
One issue is that i can't use ssh for infra-structure, and i would
like to use ftp for that. I get the error:
---
Wagon
Hi,
I understand that in a code review context all the diff caused by the
updated version parameters can be quite problematic, and I don't know
how you could fix it via Maven.
The thing I don't understand though is that if someone is going to
review code he is probably not going to compare
To verify this you should try switching Eclipse to use your installed JDK
compiler instead of the built in one.
William also mentioned that ANT was producing successful builds as well, so
unless ANT also uses it's own compiler it might be another issue..
On Dec 11, 2007 11:29 AM, Wayne Fay
As much 'fun' as developing enterprise java applications with Maven is, I
would like to think that developing games with Maven would be even better :)
I'm hoping to convince the jMonkeyEngine project to let me mavenize their
project, and in the process create a game archetype supporting 3d
Hi, from several previous posts it looks like ftp download from maven
repository will only work if the following jars are put in maven/lib
directory:
wagon-ftp-1.0-alpha-7.jar
commons-net-1.4.1.jar:
oro-2.0.8.jar
is this still true ? and if yes, is it possible to use
wagon-ftp-1.0-beta-2.jar ?
Can someone please help me? I really need to get site docs running and
deploying each build.
On Dec 10, 2007 12:44 PM, Mick Knutson [EMAIL PROTECTED] wrote:
I have setup the 3 phases I needed on my project group:
Goals Arguments Build File Schedule Profile From Build Fresh Default
Hi everybody,
From what I have read in the documentation, and from some previous
experiences, I expect that site.xml files are inherited, and that if
both the parent and child projects contain a site.xml file, the
resulting site (in the child project) should mix menu definitions found
in the
Hello Kallin,
I don't know about such an initiative, but i would bet
that the mojo project will be happy to welcome it.
Regards,
Raphaël
2007/12/11, Kallin Nagelberg [EMAIL PROTECTED]:
As much 'fun' as developing enterprise java applications with Maven is, I
would like to think that
In Continuum since I cannot have more than one default goal, how do I go
about having a set of tasks be run for each project, since even though I
can define more than one build definition per project, only the default
will be run? Thank you.
This message (including any attachments) contains
On Dec 11, 2007, at 2:31 AM, Thorsten Möller wrote:
Based on the documentation that is available from the Maven Web site
it is
unclear to me what the exact semantic of the jdk tag is: will it be
activated for i) all major Versions greather or equal than the one
specified
including sub
I am trying to switch profiles for each environment.
I have dev-, and dev-7778
Then in my profiles.xml I have:
*profile
iddev-/id
properties
envdev-/env
build.typeno-documentation/build.type
/properties
Hi,
How do I set ant basedir from maven?
I was trying something like that:
*ant basedir=/tmp/test antfile=build.xml*
but there is no basedir attribute.
Thanks,
Luis
what is the benefit in having one version?
if you have so many poms that a release would cause too many changes perhaps
you need to relook at the reasoning behind it.
The common theme for having one version i have found is a marketing or
management requirement... we just have one aggregating
Michael McCallum wrote:
what is the benefit in having one version?
Sometimes code needs to be separated into different jars or EJBs for
operational reasons, where it makes no sense to release separately.
In other cases, code can be in a state of transition, where code is
first refactored
so tell management to keep out of the code and give them there 6 discreet
version numbers that are the official deliverables... how you put those
deliverables together should be technical decision that gives the most robust
repeatable result possible.
we've got 113+ artifacts in 15 groups with
Michael McCallum wrote:
so tell management to keep out of the code
I fix problem projects for a living, and one thing I have learned, over
and over again, is that management don't keep out of the code.
Leading a project to the light is about 10% technology, and 90%
diplomacy, and when
I haven't seen those warnings before...
Have you tried using help:active-profiles? Try:
$ mvn -P dev- help:active-profiles
This will list (surprise!) the currently active profiles with which Maven is
executing.
Patrick
On Dec 11, 2007 12:43 PM, Mick Knutson [EMAIL PROTECTED] wrote:
I
I keep getting this:
The following profiles are active:
- local (source: settings.xml)
- local (source: settings.xml)
- local (source: settings.xml)
- dev- (source: *profiles*.xml)
- documentation (source: *profiles*.xml)
- dev-7778 (source: *profiles*.xml)
Not all of these
On 12/11/07, Kallin Nagelberg [EMAIL PROTECTED] wrote:
As much 'fun' as developing enterprise java applications with Maven is, I
would like to think that developing games with Maven would be even better
:)
It does sound fun... I've never gotten into game development much myself.
I'm hoping
sorry... Mac attack.
On 12/11/07, Eric Redmond [EMAIL PROTECTED] wrote:
On 12/11/07, Kallin Nagelberg [EMAIL PROTECTED] wrote:
As much 'fun' as developing enterprise java applications with Maven is,
I
would like to think that developing games with Maven would be even
better :)
It
environment up and running with one maven command, as all the existing
tutorials are complex and error prone.
all of them, eh? Careful, buddy, many people on this list wrote those
tutorials.
I think he meant the Java Gaming Tutorials, not the Maven tutorials. ;)
Hehe, yeah I meant the gaming tutorials.
And the tutorials are well written, but getting an environment up and
running with the right native libraries etc. doesn't always work as
expected, so hopefully maven can bring some order.
On Dec 11, 2007 5:51 PM, Nick Stolwijk [EMAIL PROTECTED] wrote:
On 12/11/07, Kallin Nagelberg [EMAIL PROTECTED] wrote:
Hehe, yeah I meant the gaming tutorials.
And the tutorials are well written, but getting an environment up and
running with the right native libraries etc. doesn't always work as
expected, so hopefully maven can bring some order.
Ha,
Hi guys,
I have a pom with this structure:
...plugin
groupIdgroup/groupId
artifactIdartifact/artifactId
executions
execution
goals
goalgenerate/goal
/goals
/execution
/executions
configuration
maybe i'm too stubborn and pig headed, i keep arguing till they get it or I
get it :-/
On Wed, 12 Dec 2007 10:11:40 Graham Leggett wrote:
Michael McCallum wrote:
so tell management to keep out of the code
I fix problem projects for a living, and one thing I have learned, over
and over
What would you want to use this basedir property for? Maven has a
different mindset for referencing resources within a project than ant.
I'm sure if you describe your use case here someone will show you the
maven way to do things.
Rgds,
ste
-Original Message-
From: Luis Roberto P.
You might find something useful (perhaps as the basis for your own
archetype) on the list of maintained here,
http://docs.codehaus.org/display/MAVENUSER/Archetypes+List
rgds,
ste
-Original Message-
From: Jim Bethancourt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 11, 2007 8:18
Can I please get a little help on this? I have been looking for 2 days...
On Dec 10, 2007 12:44 PM, Mick Knutson [EMAIL PROTECTED] wrote:
I have setup the 3 phases I needed on my project group:
Goals Arguments Build File Schedule Profile From Build Fresh Default
Description Type
I have built a version that I use which supports both running the
development shell from Maven and compiling as part of the normal build
process. I think there are a least two other plugins in Codehaus.
I haven't used the plugins at Codehaus because last time I looked they did
not support
interesting question it will be great to have by maven GWT library - we
are using GWT and to have in Maven Repository is a big advantage.
Thanks,
Search News
www.ejinz.com
EjinZ
- Original Message -
From: nicolas de loof [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
I'll assume this is a regression in the latest 2.2-beta-2-SNAPSHOT.
http://jira.codehaus.org/browse/MASSEMBLY-256
On Nov 28, 2007 12:45 PM, Mark Reynolds [EMAIL PROTECTED]
wrote:
That wasn't it, but thanks.
On Nov 27, 2007 12:36 PM, Wayne Fay [EMAIL PROTECTED] wrote:
I've seen that
I'm not familiar with AndroMDA but if it works by unpacking first,
binding it to validate should be the same. What is the packaging type of
your project?
-Original Message-
From: jeeads [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 11, 2007 9:06 AM
To: users@maven.apache.org
Subject:
Hi All,
I am using following dependency in one of my POMs:
+++
dependency
groupIdorg.eclipse/groupId
artifactIdswt/artifactId
version[3.3.0-v3346]/version
/dependency
+++
And getting the following exceptions:
You're asking Maven to select a range of JAR versions with the brackets. It
interprets the dash as the separator between two bounds (3.3.0 and 3346).
Chuck the brackets.
Paul
On Dec 12, 2007 12:44 AM, Stuart McCulloch [EMAIL PROTECTED]
wrote:
On 12/12/2007, Saxena, Sandeep [EMAIL PROTECTED]
On 12/12/2007, Saxena, Sandeep [EMAIL PROTECTED] wrote:
Hi All,
I am using following dependency in one of my POMs:
+++
dependency
groupIdorg.eclipse/groupId
artifactIdswt/artifactId
version[3.3.0-v3346]/version
/dependency
On 12/12/2007, Saxena, Sandeep [EMAIL PROTECTED] wrote:
It gives the same error even if I useversion3.3.0-v3346/version.
hmm... well over here it works:
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading:
When I do a mvn -e -X clean install with
version3.3.0-v3346/version I get the following traces :
+
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Couldn't find a
version in [3.1.1, 3.2.0,
On 12/12/2007, Saxena, Sandeep [EMAIL PROTECTED] wrote:
When I do a mvn -e -X clean install with version3.3.0-v3346/version
I get the following traces :
+
[DEBUG] Trace
Hello all - I have what seems like a simple question that's got me
stumped at the moment.
Is there a way to iterate over the dependencies in a particular project
inside a custom plugin?
I keep wanting to do something like:
ArrayList deps = (ArrayList) proj.getDependencies();
What about submitting your plugin to the Mojo project ?
Nico.
2007/12/12, Bob Allison [EMAIL PROTECTED]:
I have built a version that I use which supports both running the
development shell from Maven and compiling as part of the normal build
process. I think there are a least two other
69 matches
Mail list logo