I set up a sub-project pom.xml with a profile, trying to make JMeter test an
optional step. However, the dependency within the profile has no effect at
all.
jmeter
org.apache.maven.plugins
maven-antrun
I recently started to get this on an assembly distribution, does anyone have
any ideas here ?
https://svn.apache.org/repos/asf/incubator/tuscany/java/das/distribution/binary/
[ERROR] FATAL ERROR
[INFO]
[INFO] null
[INFO]
---
Ok, a fixed version has been deployed. The problem was that plexus-archiver
1.0-alpha-8 pulls in plexus-component-api, which has its own definition of
the plexus Logger interface...so the getLogger() call in AbstractLogEnabled
was failing. I added an exclusion to that dependency, and off we went.
I've tracked the problem down, and I'm running the full integration-test
suite here before I deploy it (again). Sorry for screwing things up.
-john
On 3/16/07, Daniel Kulp <[EMAIL PROTECTED]> wrote:
The snapshot that was deployed today seems to be very broken. I haven't
had a chance to look
When executing an mvn clean, the build fails. When executing an mvn
package, it succeeds. The issue is that a dependency in one of the
projects depends on a project built before it, and nothing is built
during a clean. Apparently, when a clean is run, this preemptive
dependency is not recognized
I have a "runtime.env" variable in my project.properties that has the
specific environment I want to use. Then in my maven.xml I use this
variable in 'if' statements (note: I'm using Maven 1.0.2 so this is Jelly).
For some reason this works fine in Eclipse, but when I run from
CruiseControl this
The snapshot that was deployed today seems to be very broken. I haven't
had a chance to look into it at all. The "quick fix" is to use the
last snapshot or last relase. If you require the 2.2 features, set the
version to:
2.2-20070112.063452-32
Dan
On Friday 16 March 2007 20:39, Lucian
The mvn --batch-mode should do the trick.
On 3/17/07, Dees, Ian (GE Healthcare) <[EMAIL PROTECTED]> wrote:
Is there a way to disable the running total of how much data is
downloaded when walking the dependencies? We're spitting the output into
a log file and there are huge sections in the log f
Is there a way to disable the running total of how much data is
downloaded when walking the dependencies? We're spitting the output into
a log file and there are huge sections in the log file with just numbers
where the app is updating the amount of data downloaded.
Thanks,
Ian
On 3/16/07, SingleShot <[EMAIL PROTECTED]> wrote:
I've configured the JAR plugin to generate a Manifest with a classpath per
the online documentation:
fully.qualified.MainClass
true
What's strange (a
I've configured the JAR plugin to generate a Manifest with a classpath per
the online documentation:
fully.qualified.MainClass
true
What's strange (and causing me problems) is that the generated classpa
On 3/14/07, Thorsten Heit <[EMAIL PROTECTED]> wrote:
Hi Pablo,
> maybe I forgot to mention that projectA, projectB and projectC aren´t
> children of projectD. They are projects located in whatever location in my
> svn repository.
>
> What I'm trying to achieve is that a Maven2 project could ret
How would I run maven to execute all tests (JUnit) in a specific class and
pass params to it on the command line? I just need to pass a string on the
command line like:
mvn (options to run class) (string)
--
View this message in context:
http://www.nabble.com/Pass-params-from-command-line-to-J
Hello,
I'm trying to build "installer" (by which I mean, a tarball inside of
which is an install.sh as well as whatever other things I decide to
put in) distributions for some of my maven projects.
In some cases, I want to make the installer the only "artifact" of the
build. Problem is, there's
I came up with a third path. Mutliple projects, but with a slight
difference.
In the base project, an assembly would create an archive of unfiltered
configuration files. So the base project has the war (or jar) and a zip of
unfiltered configuration files. This project does not put any app ser
If I have a dependency tree similar to this:
projectA depends on projectB-1-01-SNAPSHOT
projectA depends on projectC-1-00
projectC depends on projectB-1-00
How does maven handle running tests on projectA, for example?
In our case, projectB-1-01-SNAPSHOT should be API-compatible with
projectB-1-0
The belp plugin currently under development has a "dependencies"
goal, so you could build that from trunk if you want.
Andy
On 15 Mar 2007, at 15:51, Dees, Ian ((GE Healthcare)) wrote:
Hi List,
Is there a maven command/plugin/etc. that I could use to generate a
simple text file that lists a
Hi folks,
we have a workable solution for moving around 40+ configuration files
and different database configurations - but it might not fit your needs
and might be overly complex ... :-)
Some background information
=
+) the ba
I have to say, I am anxiously awaiting an alpha 1.1... Seems to be
a massive set of improvements between 1.0.3 and 1.1...
Eric
On Mar 16, 2007, at 10:46 AM, Emmanuel Venisse wrote:
Not yet, we already have an issue for this property and I think
we'll add in a future alpha 1.1
Emmanuel
If you don't get the desired response here, you may want to try the
mojo-user list.
Wayne
On 3/16/07, nicolas de loof <[EMAIL PROTECTED]> wrote:
Hello,
I'd like to use GWT on my web-application. I've found a maven2 plugins for
gwt on code.google.com and in mojo sandbox.
Does anyone use maven2
You could probably write a plugin (with Ant) to delete the Jar file
after packaging if it has nothing inside. But other than that, I don't
know of any way to do this currently.
Wayne
On 3/16/07, Brian E. Fox <[EMAIL PROTECTED]> wrote:
I don't think that is currently possible.
-Original Mes
Not yet, we already have an issue for this property and I think we'll add in a
future alpha 1.1
Emmanuel
Eric Pugh a écrit :
On a related note, is there a way to get the build number as well? If I
just successfully did build 168, on the next build is there a system
property/value that will g
[EMAIL PROTECTED] a écrit :
Hi All
Is there a way to pass username of continuum to a maven??
No. File an issue and we'll see if we can provide it in next versions.
Like when some user logs into continuum and kick of the maven build, at
the maven end is there any way to get the name of tha
On a related note, is there a way to get the build number as well?
If I just successfully did build 168, on the next build is there a
system property/value that will give me build 169?
I need to stamp the build revision on some source files in a .NET
application.
Eric
On Mar 15, 2007,
Hello,
I'd like to use GWT on my web-application. I've found a maven2 plugins for
gwt on code.google.com and in mojo sandbox.
Does anyone use maven2 to compile/run gwt application ? Are the gwt libs
available at some repository (not found in repo1) ?
Any best-practice ?
Nico.
You have right, it should be better to give more information.
I was thinking about something like this [1] (cf section Filtering Source
Code)
But it's better to have a filter parameter directly in the
maven-javadoc-plugin.
It seems it's not the case for the moment. Open a jira for this enhancemen
The Maven team is pleased to announce the release of the Maven
Dependency Plugin, version 2.0-alpha-2
http://maven.apache.org/plugins/maven-dependency-plugin/
The dependency plugin provides the capability to manipulate artifacts.
It can copy and/or unpack artifacts from local or remote repositor
I don't think that is currently possible.
-Original Message-
From: Christian Clauss [mailto:[EMAIL PROTECTED]
Sent: Friday, March 16, 2007 4:00 AM
To: 'users@maven.apache.org'
Subject: Maven2 Jar
Hi everbody,
Is it possible, that if no files are marked for inclusions into a .jar
fil
I'm sorry but i don't know anything about filtering? What do you mean
exactly?
i thought maven-properties are only accessible within the pom.xml file?
What i need is a plugin, that looks at the ${pom.version} and the walks
through all my packages (in my source folder) and change the @version
jav
Ah! Your use case is not internal app use/release, but public distribution to
uncontrolled environments. :-) You can tell how I answered the question...
In your context, I agree that option 4 isn't very good (unless you want to dump
on the customer to get the environment specific dependencies o
Hi,
Isn't possible to use filtering with ${pom.version} ?
Rémy
2007/3/16, CodingPlayer <[EMAIL PROTECTED]>:
Hi All,
i just was wondering if there is any possibility to tell the
maven-release-plugin, to change ALL the source files as well?
i mean, it would be nice, if the @version javadoc t
On Mar 16, 2007, at 1:20 PM, Kenney Westerhof wrote:
Hi,
Vincent Massol wrote:
Hi,
I've never found a good answer to this use case so far so I'm
curious about how others have implemented it.
Imagine a project that generates a WAR. This WAR contains a config
file (say in WEB-INF/classes)
Marziou, Gael a écrit :
- create ~/.m2/archiva.xml with a element
I already tried this, it did not work.
Do you have the latest code?
- use the plexus appserver
- use jetty:run
I don't have time to learn another app server and also I want it to be
started as a windows service.
It i
Hi All,
i just was wondering if there is any possibility to tell the
maven-release-plugin, to change ALL the source files as well?
i mean, it would be nice, if the @version javadoc tag would be automatically
changed for each class.
For e.g. when releasing version 1.7 and changing to 1.8-SNAPSHO
Hi Jeff,
On Mar 16, 2007, at 1:00 PM, Jeff Jensen wrote:
I do my best to avoid needing a separate build per environment. A
release
is a release, and while reproducibility is not the issue, I find it
silly to
do so.
In my customer work, I found two key strategies that have worked
well, b
Hi,
> When i run maven with some repositories defined in a profile in settings.
> And call maven in an empty directory, the only repo i grab is central.
Sound like the question I posted a couple of days ago ("Maven ignoring
Artifactory proxy settings?"; see
http://www.nabble.com/Maven-ignoring-
Hi,
Vincent Massol wrote:
Hi,
I've never found a good answer to this use case so far so I'm curious
about how others have implemented it.
Imagine a project that generates a WAR. This WAR contains a config file
(say in WEB-INF/classes) that configures connection parameters for the
database
tnine wrote on Thursday, March 15, 2007 5:53 PM:
> Hi Jörg,
> Thanks for your reply. I have a couple of questions about
> your layout.
>
> 1. You have two "parent" poms. One in a sub directory for
> performing a
> release, and another at the top level to link all modules together for
> depend
> > Is this normal behaviour or did I just encounter a bug in the
> > release plugin? Is it even possible to prevent the plugin
> > from changing my pom according to 1-3? I haven't seen much about that
> > in the docs at
> > http://maven.apache.org/plugins/maven-release-plugin/...
>
> Known issue
> - create ~/.m2/archiva.xml with a element
I already tried this, it did not work.
> - use the plexus appserver
> - use jetty:run
I don't have time to learn another app server and also I want it to be
started as a windows service.
Anyway, I think that I'm not ready for Archiva or the reverse.
Thorsten Heit wrote on Thursday, March 15, 2007 5:28 PM:
> Hi,
>
> I'm actually evaluating Artifactory as repository proxy/cache
> and today played a bit with the maven-release-plugin
> (2.0-beta-5-SNAPSHOT; more precisely
> maven-release-plugin-2.0-beta-5-20070301.114416-5.jar
> according to my
Yes, explicitly 2.0.
<
org.apache.maven.plugins
maven-changelog-plugin
2.0
On 3/15/07, Dennis Lundberg <[EMAIL PROTECTED]> wrote:
Are you using the released 2.0 version of the maven-changelog-plugin?
IIRC this issue has been fixed.
George Stragand wrote:
> The the url element inside the
CC 2.6 has a new feature - . It enables preventing a build from
happening if a dependency has a build to do.
Prior to 2.6, the best answer I had was to make the sleep times of the
dependant projects "small" (e.g. 30 seconds) relative to the depending
projects (e.g. 2 minutes) in hopes the others
I do my best to avoid needing a separate build per environment. A release
is a release, and while reproducibility is not the issue, I find it silly to
do so.
In my customer work, I found two key strategies that have worked well, both
from "new system" and streamlining an existing system:
Option
Hi Vincent,
I use filtering with profiles (option 1) and rebuild the entire project when
I need another configuration.
This is far from ideal..
Perhaps you could keep your runtime configuration in a separate module and
include the one you need as a dependency by activating a profile?
I like your
Hi,
I've never found a good answer to this use case so far so I'm curious
about how others have implemented it.
Imagine a project that generates a WAR. This WAR contains a config
file (say in WEB-INF/classes) that configures connection parameters
for the database.
Now imagine that your
Hi!
I have this plugin; http://rafb.net/p/vO1yv751.html, which creates two
files needed by my tests and by jetty. The problem is that the two files
are not available when the tests are run. (If i run the same goals a
second time, it works, so the files _are_ generated.)
What am I doing wrong
Jan Kroken wrote:
Unfortunately, the ear plugin doesn't update the META-INF/MANIFEST.MF of
the
included ejb projects. The EJB project will only have access to
libraries properly
refered to from the manifest file, leaving the EJB projects with missing
dependencies
runtime.
You have to config
Hello,
I tried to develop an eclipse plugin using maven 2 and maven-eclipse-plugin.
I notice that it does work very fine since the maven-eclipse-plugin 2.3,
congratulation for the work done.
There's still a problem from the eclipse pde plugin : it can't export
deployable plugin with the pom's de
On 3/15/07, Jerome Lacoste <[EMAIL PROTECTED]> wrote:
Hi,
further care must be taken when writing plugins considering that maven can
be embedded. Maven sort of acts as a container for code. And maven itself
can be embedded.
This isn't limited to embedding. As I said Kaare yesterday, maven p
Are you generating the site (mvn site) or deploying the site (mvn
site-deploy)? If the first, everything is alright, it is supposed to
happen. For the second, take a look at the root pom, this should contain
something like this:
website
file:///var/www/project
Hi,
We have encountered a problem while trying to generate the site for our
project.
The project is multimodule and the modules are located in flat list of
directories relative to
the root pom.xml (the directory are named differently than artifactIds if
this matters -
for example module whose ar
On 3/15/07, Aidan O'Donnell <[EMAIL PROTECTED]> wrote:
I am using cruisecontrol to build a multimodule project.
The problem I am observing is that if projects A and B are checking in at
the same time and B depends on A the order that they are built in is not
set.
This means that if B builds bef
Hi everbody,
Is it possible, that if no files are marked for inclusions into a .jar file,
that no jar is created?
It's important for me because I'm getting an empty jar file.
Thanks for your help
Christian
54 matches
Mail list logo