I haven't used that option specifically, but I define my repos with
the -Dmaven.repo.local=xxx command in the build, and everything
behaves normally.
On Thu, Oct 15, 2009 at 5:22 PM, Roland Asmann wrote:
> Hi all,
>
> I'm sending this to both the maven and the hudson list, because I'm not
> sure
Check your parent hierarchy, this plugin goal isn't executed by
default from Maven, more likely someone has inserted it in a parent
pom.
On Mon, Oct 19, 2009 at 8:05 PM, Radim Kolar wrote:
>
> I found that maven 2.1 creates program-version-tests.jar even if no test
> directory is configured in po
You can set the update policy per repo in your settings. Just change
it to never and it will only grab snapshots when you use -U
On Mon, Oct 19, 2009 at 8:16 AM, Quintin Beukes wrote:
> Hey,
>
> Is there a --offline equivalent option/property which only affects
> checking for updates. Sometimes w
This is an Apache project and Nexus is running on
Repository.apache.org so I'll repair the metadata there and it will be
picked up in the next sync.
On Mon, Oct 19, 2009 at 8:21 AM, Anders Hammar wrote:
> I'm not sure if the can fix the existing issue, but the surely can make sure
> that it doesn
I found that maven 2.1 creates program-version-tests.jar even if no test
directory is configured in pom.xml. Is there way to disable it?
It seems that
http://maven.apache.org/plugins/maven-jar-plugin/test-jar-mojo.html
jar:test-jar is responsible for it and it is now executed by default. How
can
> I assume it should only build *direct* descendants, in the dependency
> hierarchy. Mine however seems to be building both direct descendants
> and their cousins, for some reason.
>
>
>
>>mvn reactor:resume -Dfrom=updatemigrationdb
To answer my own question, the correct command is...
> mvn reac
I'm having trouble getting the maven-release-plugin to work in a
non-interactive way. I'm trying to create a branch with the version
09.20.01-SNAPSHOT from the trunk version 09.20.00-SNAPSHOT.
I'm using the following command to branch manually,
mvn release:branch -DbranchName=09.20.00_BRANCH
-
I've seen projects that do this and I don't like it. To my mind "stage" is a
runtime concept that your application (or, better yet, the framework your
application uses) should adapt itself to, not something which requires
different build artifacts.
Justin
-Original Message-
From: Marti
ok up until i saw httpa and httpb?..as enjoyable as trying to convert a 10 year
old unix makefile with no comments
how about using classifiers for staging...dev/test/uat/qa/prod
?
Martin
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de con
Ha! I hadn't seen this. But yes, as with anything else, Maven simply
provides the tools - how you use (or abuse) them, is up to you. I think
the two examples I provided are appropriate cases for classifiers, but
reasonable people can disagree.
Justin
-Original Message-
From: anders.g.ham
> I believe you're with me on this but I wanted to firmly state this as there
> are some very bad examples of classifiers usage. Have a look at this and
> weep:
> http://repository.jboss.org/maven2/org/jboss/jbossas/jboss-as-varia/5.1.0.GA/
>
[silence]
I would say that most of the time when you start thinking about using
classifiers, you should think again. The Javadoc and sources cases are good
examples of when classifiers are the way to go, but I've seen some very ugly
cases where people try to go about the original issue with bad Maven design
The examples are perfect. Thanks.
> I think Todd answered your second question already. One gotcha - there's
> only one pom, so you can't have different dependencies per classified
> artifact. This can be worked around with excludes in the downstream
> project, but if you run into this repeatedly
Here's two examples:
http://svn.apache.org/repos/asf/sling/trunk/launchpad/base/pom.xml -
creates artifacts with "app" and "webapp" classifiers which are then
used as dependencies in other projects.
http://kenai.com/projects/boxspring/sources/main/content/trunk/boxspring
-core/pom.xml?rev=125 - cr
That's awesome. Thanks.
Quintin Beukes
On Mon, Oct 19, 2009 at 8:55 PM, Todd Thiessen wrote:
> The jars produced have the same, just different classifier. You simply
> use the classifer tag when defining the dependency. ie:
>
> a.b.c
> abc
> 1.0
> jdk1.4<\classifer>
>
> or
>
> a.b.c
> ab
The jars produced have the same, just different classifier. You simply
use the classifer tag when defining the dependency. ie:
a.b.c
abc
1.0
jdk1.4<\classifer>
or
a.b.c
abc
1.0
jdk1.5<\classifer>
---
Todd Thiessen
> -Original Message-
> From: Quintin Beukes [mailto:qu
Did you ever learn more about this problem?
Quintin Beukes
On Wed, Oct 14, 2009 at 9:53 AM, Quintin Beukes wrote:
> Really, the only ways I can think of is to (a) dump a stack trace (b)
> set a breakpoint and run it inside a debugger. You need to see what is
> causing the error and the best wa
>> OK, firstly you can only produce one artifact per POM.
> This is not true. A POM has one GAV, but you can produce multiple artifacts
> with different classifiers. For example, most Java projects using the release
> plugin will have a source JAR file produced from the same POM and codebase.
>
Good Afternoon Martin
i presume maven is called from a cmd/bash/cshell/kshell (shell environment) so
one would need to reach back and change the configuration of the invoking
parent environment
(which i dont how to accomplish from any child shell)
there are workarounds such as modifying the sy
Those are Maven properties, not environment variables. You can't set
environment variables for the current process in Java at all, let alone
in Maven. If you're forking a new process, you may be able to set
environment variables on the subprocess via ProcessBuilder.
Justin
-Original Message--
Is not possible? I'm using them. Take a look to my pom:
development
true
env
dev
That is not a good idea. If you want to create a connectionless
environment that mocks the way a real environment works then using a
repository manager locally is the best option.
Mixing the use of a single directory structure as your remote and
local repository is almost certainly going to
hi,
I've already read a lot about this
seems, that it's not possible to set env-vars in a pom.xml or
profiles.xml file in maven 2
is that correct?
does anyone know a workaround or a mini-plugin that allows to set those
env vars?
TIA, martin
--
Sounds very good, thanks!
Nick Stolwijk-4 wrote:
>
> Make a copy of your settings file and add to that:
>
> /tmp/tmpRepository
>
>
> userrepository
> User Repository
> file://${user.home}/.m2/repository
> *
>
>
>
> Now do a mvn install -s settings.xml
Quintin Beukes wrote:
> OK, firstly you can only produce one artifact per POM.
This is not true. A POM has one GAV, but you can produce multiple artifacts
with different classifiers. For example, most Java projects using the release
plugin will have a source JAR file produced from the same POM an
great minds think alike... fools seldom differ
2009/10/19 Todd Thiessen
> hehe. Some kind of universal mind meld? ;-)
>
> ---
> Todd Thiessen
>
>
> > -Original Message-
> > From: Quintin Beukes [mailto:quin...@skywalk.co.za]
> > Sent: Monday, October 19, 2009 9:12 AM
> > To: Maven Users
hehe. Some kind of universal mind meld? ;-)
---
Todd Thiessen
> -Original Message-
> From: Quintin Beukes [mailto:quin...@skywalk.co.za]
> Sent: Monday, October 19, 2009 9:12 AM
> To: Maven Users List
> Subject: Re: Hosting a local repo w/out a Repo Manager?
>
> Heh, about an hour ago
Heh, about an hour ago I noticed that block proxy option and thought
of this exact thread. I come here to answer it and you did so at about
the same time I noticed the option :>
Quintin Beukes
On Mon, Oct 19, 2009 at 2:25 PM, Todd Thiessen wrote:
> I don't think you need to get pro to do what
I don't think you need to get pro to do what you want. Simple right
click on the repo and select "Block proxy". Nexus won't try and download
new artifacts but it will still service the existing ones.
---
Todd Thiessen
> -Original Message-
> From: Larry Shatzer, Jr. [mailto:lar...@gmail.
I'm not sure if the can fix the existing issue, but the surely can make sure
that it doesn't happen again.
/Anders
On Mon, Oct 19, 2009 at 14:18, Quintin Beukes wrote:
> So I should contact the xbean/geronimo project?
>
> Quintin Beukes
>
>
>
> On Mon, Oct 19, 2009 at 2:12 PM, Anders Hammar wr
So I should contact the xbean/geronimo project?
Quintin Beukes
On Mon, Oct 19, 2009 at 2:12 PM, Anders Hammar wrote:
> Sonatype manages central (at least they're paying for it). I've seen Jason
> mentioning the checksum issue several times. However, I'm not sure if their
> policy is to fix it
Hey,
Is there a --offline equivalent option/property which only affects
checking for updates. Sometimes with very large builds I can sit
waiting for hours while all the SNAPSHOT updates are being checked,
but it does happen that I don't always have all the dependencies in
the local repo where I'm
>
>
>
> org.apache.maven.plugins
> maven-javadoc-plugin
>
>
>
>
>
> That is the only plugin specified in my pom. The plugin that looks to be
> causing the problem is a maven plugin (the maven-project-info-reports-plugin
Sonatype manages central (at least they're paying for it). I've seen Jason
mentioning the checksum issue several times. However, I'm not sure if their
policy is to fix it or not. My guess is not as it hasn't been done and it
should be quite easy to do with a script. One of the main problems are tha
Hey,
I'm getting the following, repeatedly. It's being downloaded via
Nexus, but I repeatedly get the following messages (everytime it's
checked for updates):
Downloading:
http://blade:7081/nexus/content/groups/public/org/apache/xbean/xbean-asm-shaded/3.6/xbean-asm-shaded-3.6.jar
118K downloaded
On Mon, Oct 19, 2009 at 6:46 AM, Quintin Beukes wrote:
> You should add it to the plugin's dependencies.
>
> Here is an example extract from one of my POMs (the irrelevant bits
> removed):
>
>
>.
>
>
>org.apache.maven.surefire
>surefire-a
You should add it to the plugin's dependencies.
Here is an example extract from one of my POMs (the irrelevant bits removed):
.
org.apache.maven.surefire
surefire-api
2.4.3
Quintin Beukes
On
On Mon, Oct 19, 2009 at 5:15 AM, Quintin Beukes wrote:
> Try adding the commons-lang dependency.
>
>
Thanks, Quintin. However, it appears that this dependency is arising in a
maven plugin, if I understand things correctly? So, adding the dependency
to my own pom won't have an effect on the build
dreedyman writes:
> Thanks for the followup. I've taken a look at m2eclipse, and I frankly
> dont see any examples of how to use embedding in a standalone
> way. Perhaps you can point me to specific references?
>
> The fundamental issue here seems to be bootstrapping the maven
> environment via th
Hi all,
I'd like to use the assembly plug-in to create a project like this:
app.zip
run.sh
util.sh
README
app.jar
Where app.jar will contain all the needed java classes (the ones picked by
dependencySet). Is that possible? In the descriptor specification, there
isn't anything like to
Try adding the commons-lang dependency.
Quintin Beukes
On Sun, Oct 18, 2009 at 10:34 PM, Sean Davis wrote:
> I have been using maven pretty successfully for low-end java
> programming--I'm not much of a developer. I have finally convinced a few
> folks to potentially work with me on some proj
I think the best option is creating a modular project. Then, you can importa
modules as eclipse projects. Try this, I think this must work.
2009/10/19 taffb
>
> Hello,
> I’m sure this is quiet easily answered I’m just missing something pretty
> trivial.
>
> I have two projects in eclipse “Projec
Hello,
I’m sure this is quiet easily answered I’m just missing something pretty
trivial.
I have two projects in eclipse “ProjectA” and “ProjectB”. ProjectA produces
a .jar.
ProjectB produces a .war. However the .war from project requires the .jar
from ProjectA.
I added the .jar as a dependency i
On 2009-10-18, at 8:52 PM, Damon Silver wrote:
Off-topic: On that note, I've tried half a dozen times to subscribe
to the
M2Eclipse Users list via the link on that page to no avail. Is
there some
other avenue to use instead, or someone who has to be notified that
the
subscription link i
44 matches
Mail list logo