MECLIPSE-548 is a showstopper for many projects that would otherwise use
maven-eclipse-plugin. I suspect many projects using the plugin are now
pinned to 2.5. This issue is marked as Critical priority, has six votes
and four watchers. Can anyone take at look at this issue? If you do not
intend
Could anyone please share his/her assembly plugin settings and assembly file
for OSGI?
Thanks in advance,
Peter
On Mon, Jun 15, 2009 at 6:54 PM, tony ktony_k...@sbcglobal.net wrote:
the general use case is that you are working with a series of third-party
dependencies
(and their respective poms) that specify conflicting versions of a
particular
library commons-logging for example, and you want to force
It may seem strange that 2.0.0 is not the same as 2.0, but it's not
totally unstrange. It is a matter of precision.
Did you know BigDecimal(2.00) does not equal BigDecimal(2.0)?
The second situation can be rectified by a setting. Perhaps the first
(in Maven) should too.
Paul
I think a much better name would be the Unix Packaging Maven Plugin.
Sorry, but without an adjective, it doesn't clearly say what the plugin does.
2009/6/15 Trygve Laugstøl tryg...@codehaus.org:
I'm happy to announce the fourth alpha release of unix-maven-plugin.
This is still primarily a
gorgophol wrote:
Is it possible that the dependency-plugin uses information from
localRepository instead of Repos 1 and 2?
I recognized the following behavior:
Every time I install an artifact into Repos 2 using deploy:file, the jar
and the pom.xml are installed into correctly into
Hello!
Is it possible, that the value-elements of a map-property, are Objects, not
only Strings?
I tried the scenario described below, but the value Elements of the MAP are
always null...
My context:
I have a property with the Type ToolChain:
...
/**
* @optional
* @parameter
*/
private
Hello there!
I am facing some strange problem with the profile definition. Looks like if
there is the file profiles.xml, located in the same directory as the pom.xml
for the parent project - specifying one of the profiles with -P switch does
not affect child modules. At least
mvn
Hi,
My project is using maven 2. In our master pom.xml we have defined a
repository that hosts all our dependencies, jars ( i hope I get all the
terminology right here...).
What happened was that we got a new version 1.0.1 of a dependency ( jar)
and it is hosted on:
Hi all,
I tried using the search, but I haven't found anything that could help me.
I'm building a war package:
packagingwar/packaging..
but I need to keep out of the war the static part of the project, that would
be the whole webapp folder...
the structure of my project:
src:
-main:
Hello all!
I've been using Maven since a long time. But still I haven't found an answer
of how to control the workflow on a global level while still having the
opportunity to override confiuration on a system basis. What I want to do is
to configure plugins in a company global pom-file just to
Hi all,
Why if I specify exactly what versions to use for release and
developement version for the exact module and specify the default values
does the release plugin still try (and fail) to parse the versions?
e.g.
mvn.bat -B -X -e -Dproject.dev.test:test=X_1.0.1-SNAPSHOT
Hi Oskar!
I use the same scheme as your second scenario and in MY_SYSTEM_GLOBAL
(inherits global) I have
buildpluginManagement section with all the plugins configured for jar,
ejb, war, ear packaging types plus specialities done by was6 plugin and of
course all the stack of checkstyle, pmd,
On Tue, Jun 16, 2009 at 09:15, Paul Benedictpbened...@apache.org wrote:
It may seem strange that 2.0.0 is not the same as 2.0, but it's not
totally unstrange. It is a matter of precision.
Did you know BigDecimal(2.00) does not equal BigDecimal(2.0)?
The second situation can be rectified by a
We asked several times to test the 2.7-SNAPSHOT before the release and we
had no feedback about this issue which wasn't solved. Thus I don't know if
it impacts so many projects.We'll try to fix it in 2.8, but I don't know in
how many weeks/monthes, we'll be able to do it
Cheers
Cheers,
Arnaud
It sounds to me like you want to configure the maven-war-plugin with
some excludes. Docs can be found here:
http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html
On 6/16/09, turbo-555 fdur...@ticino.com wrote:
Hi all,
I tried using the search, but I
exactly, I'm trying to find a way or an example how to configure it, and the
doc you posted...I've seen it and went over it several times trying
different combinations, but it ain't working out.
without touching at the plugin, but just setting the packaging to war the
files that mvn puts in the
There is a Jira ticket for this problem, which I provided a patch for
quite a while ago.
http://jira.codehaus.org/browse/MRELEASE-415
It'd be nice if the issue could get some attention by the developers.
Reinhard
Eugeny N Dzhurinsky schrieb:
Hello there!
I am facing some strange problem
Try something like this?
configuration
warSourceExcludessrc/main/webapp/someExcludedDirectory/**/warSourceExcludes
/configuration
On Tue, Jun 16, 2009 at 8:07 AM, turbo-555 fdur...@ticino.com wrote:
exactly, I'm trying to find a way or an example how to configure it, and
the
rynam0 wrote:
Try something like this?
configuration
warSourceExcludessrc/main/webapp/someExcludedDirectory/**/warSourceExcludes
/configuration
I removed the packagingwar/packaging at the beginning of the pom, and
tried with
mvn package war:war (so it packages a
Hi,
the Introduction to the Build Lifecycle [1] documentation describes a
process-sources phase of the default lifecycle.
The description says: process-sources - process the source code, for
example to filter any values.
This is exactly what I want to do (i.e. filter some values in my source
Hi,
I'm in trouble because of mavens localRepository. I know Maven installs
everything into localRepository in install-phase, so I use the deploy-phase
for bringing group-specific artifacts into group-specific repositories.
Artifacts from other groups should only be usable as a dependency in
I have gone through the ClassLoader documentation at the surefire site
couple of times,
but cannot understand what combination of forkMode, useSystemClassLoader and
manifestJarOnly
surefire plugin configuration will give me a POJC (plain old java
classpath).
(I understand forkMode *cannot* be
http://jira.codehaus.org/browse/MWAR-198
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
sein, so bitten wir hoeflich um eine
Martin,
Using an archetype for this is a good workaround. I may actually make an
archetype for this kind of projects.
I ended up writing a mojo and binding it to the initialize phase. In this
mojo I change the output directory. This seems to work fine.
Muchas gracias por tu ayuda.
Cheers.
Erick.
glad to hear the custom mojo solution is working for you
Saludos Cordiales desde EEUU!
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
Found this through Google:
http://www.gxdeveloperweb.com/Blogs/Bram-de-Kruijff/Maven-secrets-filtering-sources.htm
Not sure if it's the best way to do it though. Never tried filtering
java source code.
/Anders
On Tue, Jun 16, 2009 at 15:41, Paolo
Castagnapaolo.casta...@hplb.hpl.hp.com wrote:
Why would you want Maven to NOT use the local repository? I believe it does
this so that every single goal/phase (compile, test, etc) does not need to
re-fetch artifacts it has already seen from the network.
-Original Message-
From: gorgophol [mailto:benjamin.h...@inter.de]
Sent:
I'm feeling like a poor relation watching all the happy maven users at the
banquet while I stand outside, hungry, peering in. The company I work for is
pretty big. My department has started using maven and a following of
developers is emerging who are asking us for advice on how to use
Barrie Treloar wrote:
I think I see what you are saying.
Model (test) depends upon Test Support (main and test jars)
I am going to assume that Test Support does not depend upon Model
(either main or test)
Almost, but not quite. TestSupport does depend on Model, because it
includes the
Barrie Treloar wrote:
I think I see what you are saying.
Model (test) depends upon Test Support (main and test jars)
I am going to assume that Test Support does not depend upon Model
(either main or test)
Almost, but not quite. TestSupport does depend on Model, because it
includes the
Hi,
I am currently trying to set up a maven build system for my project. It
uses axis services which require a mar file for instantiation. I have
added the dependency as
dependency
groupIdaxis2/groupId
mirror
idinternal-repository/id
name[Redacted] Maven Repository/name
urlhttp://[redacted]/artifactory/repo/url
mirrorOf*/mirrorOf
/mirror
However, snapshots don't seem to be resolving correctly. What else do I need
to do?
Stephen Connolly-2 wrote:
Yep...
I managed to get it working (maven 2.0.9, maven-war-plugin 2.1-beta-1) with
the following:
configuration
...
packagingExcludes**/*.bat,.classpath,**/*.java,pom.xml,.project,.settings/
**,**/*.sh,target/**/packagingExcludes
...
/configuration
Hope that helps.
- Damon
-Original Message-
Hi,
I'm wondering if anyone has been able to successfully use clearcase with
the maven release plugin. We're trying to figure out how to do it and
investigating the various options. If you've been able get this to work,
could you please share how you were able to make it work?
Thanks,
-Jeff
Is it possible for you to refactor the TestSupport classes that the Model unit
tests depend on into a third artifact, which both projects (Model and
TestSupport) can then rely on (with scope=testing)?
As others have pointed out circular dependencies like this are a bad design.
This might be
Matt Brown wrote:
Is it possible for you to refactor the TestSupport classes that the Model
unit tests depend on into a third artifact, which both projects (Model and
TestSupport) can then rely on (with scope=testing)?
That's essentially what I've been working on the last hour or so.
We have a source tree in this format:
src/main/java/com/solbright/aim/etlf/core
src/main/java/com/solbright/aim/etlf/customer_1
src/main/java/com/solbright/aim/etlf/customer_2
And so on for each customer.
My developers want a separate jar file for each and every customer. Not only
that, but a
Ok, I located a DSL line that does not go through the proxy. Tomorrow
I'll bring in my personal laptop to work and use it to connect to the maven IRC
channel at irc.codehaus.org
Meanwhile, wouldn't it be nice if everyone was a good maven citizen and
downloaded the maven 2.2 RC3 and
sorry you're having so much trouble, robert -- i just tested 2.2.0-RC3, and
it worked fine for me. Good luck on IRC!
On Tue, 16 Jun 2009 11:50:29 -0700 (PDT), Robert Glover
robertglove...@yahoo.com wrote:
Ok, I located a DSL line that does not go through the proxy. Tomorrow
I'll bring in my
I gotta believe by now there is a slick way to run a war file released to an
internal repository under a plugin like jetty or cargo. I'd like to be able
to share a set of web-apps I created with a colleague without him needing to
download my source. Something like Just run 'mvn
you could give him a skinny pom that has the deployed war as a dependency.
war packaging will pull down the dependency and merge it with your
(empty) skinny pom
in which case you just need to give him the skinny pom file. this is
extra nice as you can configure jetty defaults in the skinny pom
Matt Brown wrote:
Is it possible for you to refactor the TestSupport classes that the Model
unit tests depend on into a third artifact, which both projects (Model and
TestSupport) can then rely on (with scope=testing)?
That's essentially what I've been working on the last hour or so. So,
+1
On Tue, Jun 16, 2009 at 9:17 AM, Paul Benedict pbened...@apache.org wrote:
I think a much better name would be the Unix Packaging Maven Plugin.
Sorry, but without an adjective, it doesn't clearly say what the plugin
does.
2009/6/15 Trygve Laugstøl tryg...@codehaus.org:
I'm happy to
Also, two of us will be at University of Szeged on Friday 19th, doing
the same we'll be doing some demos and chatting with folks. The beer
will came later, most probably at the evening.
Anyone around, interested to attend the presentation at University, do
some chat and/or beer should contact me
We use a scheduled task that runs a Ruby program to delete our local repository
if it is older than a week. You could manipulate this to only delete
snapshots, but I prefer to get everything fresh to make sure our internal
mirror is working correctly. The full version of this program (not
On Wed, Jun 17, 2009 at 1:46 AM, David C. Hicksdhi...@i-hicks.org wrote:
Barrie Treloar wrote:
I think I see what you are saying.
Model (test) depends upon Test Support (main and test jars)
I am going to assume that Test Support does not depend upon Model
(either main or test)
Almost, but
Barrie Treloar wrote:
You have a cyclic dependency.
The solution is to break the cycle.
There isn't another way.
Your choices on breaking it are:
* Move TestSupport into Model (not ideal)
* Move the code in Model that TestSupport relies upon into its own module.
Yeah, that's what I
Skinny pom is a hack. What I'd like to do is have him run my project
directly. Sharing a pom requires too many steps. You have to detach the pom
from the email, save it sin an empty folder such that it doesn't conflict
with other things (conflicts are not likely the first few times but possible
It's a simple matter to create a self-executable war, either with
Jetty or Winstone. I'd remove Maven from the equation and just give an
url to the repository. If you want, you could also publish a jnlp file
with the war so he really wouldn't need to do anything else but click
on the link to start
doh!
you're absolutely correct zac.
i misinterpeted something i read in maven: the definitive guide.
on the bottom of page 106 in a section describing dependencyManagement it
reads:
Once these are moved up, we need to remove the versions for these
dependencies from each of the POMs;
On Mon, Jun 15, 2009 at 11:38 AM, Mohan KRkmoh@gmail.com wrote:
same here, interested in any updates on the plugin from the discussion
below. Don't want to whip out another one
if it already exists.
The code definitely exists -- Apache Continuum has a feature that
purges the local repo
52 matches
Mail list logo