You could try to add -Darguments=-DpomFile= as these are those used by
release:perform AFAIK.
Regards Mirko
--
Sent from my phone
http://illegalstateexception.blogspot.com
http://github.com/mfriedenhagen/
https://bitbucket.org/mfriedenhagen/
On Nov 2, 2011 7:46 PM, Jim Cook
Hello,
I want to execute deploy:deploy-file from within a Java program. While
I know I could try to go way of using ProcessBuilder I want to have a
bit more control over the process and be able to easily catch any
errors during invocation. maven-embedder seems not to be the way to go
here.
Thanks, that was very helpful :-).
Regards Mirko
On Sat, Oct 29, 2011 at 22:10, Robert Scholte rfscho...@codehaus.org wrote:
Sounds like you want the Maven Invoker:
http://maven.apache.org/shared/maven-invoker/
-Robert
Date: Sat, 29 Oct 2011
Hello,
I want to create and deploy the bundle for my artifacts. Right now I
have this in my pom:
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-javadoc-plugin/artifactId
/plugin
plugin
/
On Tue, Oct 25, 2011 at 20:51, Mirko Friedenhagen
mfriedenha...@gmail.com wrote:
Hello,
I want to create and deploy the bundle for my artifacts. Right now I
have this in my pom:
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
Regards Mirko
--
Sent from my phone
http://illegalstateexception.blogspot.com
http://github.com/mfriedenhagen/
https://bitbucket.org/mfriedenhagen/
On Oct 8, 2011 10:43 AM, Stephane-3 mittiprove...@yahoo.se wrote:
Hi Wayne,
Sorry I missed the post update..
So, to answer your question, what
Stephane
I mostly never define dependencies directly in the parent pom but have a
dependencyManagement section so versions will not differ between modules.
Same goes for plugins and pluginManagement. Maybe you could add something
like junit in test scope directly to the parent's dependencies. I
Hello,
we use Testlink for describing testcases, some of which are run as
automatic tests using junit. Now to easily match junit tests to
Testlink IDs I thought about adding an annotation like:
@TestlinkID(12345)
to tests run, which should result in something like:
testcase time=0.001
I did download the shaded jar, copied it to $M2_HOME/lib/ext and ran
about 20 jobs without problem. I had deleted my localRepository
beforehand.
Regards Mirko
--
http://illegalstateexception.blogspot.com/
https://github.com/mfriedenhagen/
https://bitbucket.org/mfriedenhagen/
On Mon, Oct 3, 2011
Really no one? I would appreciate a negative answer as well ;-) .
On Sep 14, 2011 10:11 PM, Mirko Friedenhagen mfriedenha...@gmail.com
wrote:
Hello,
is there a possibility of accessing the activated Maven profile names
during test runs programmatically or in configuration files?
I want
properties etc.
From: mfriedenha...@gmail.com
To: users@maven.apache.org
Really no one? I would appreciate a negative answer as well ;-) .
On Sep 14, 2011 10:11 PM, Mirko Friedenhagen mfriedenha...@gmail.com
wrote:
Hello,
is there a possibility of accessing the activated Maven profile
://github.com/mfriedenhagen/
https://bitbucket.org/mfriedenhagen/
On Sat, Sep 17, 2011 at 21:16, Mirko Friedenhagen
mfriedenha...@gmail.com wrote:
Well, I will try. I use slf4j for logging. I normally log using
logback to stderrr. When
de.huxhorn.lilith.logback.appender.multiplex-classic
Hello,
is there a possibility of accessing the activated Maven profile names during
test runs programmatically or in configuration files?
I want to activate logging to Lilith in a Maven profile. Adding the required
dependency is no problem, but for adding the appended conditionally seems
not to
Take a look at the output of mvn help:effective-pom and
http://maven.apache.org/pom.html#Distribution_Management
You should use something like mvn
or settings.xml ?
On 9/9/11 12:18 PM, Mirko Friedenhagen mfriedenha...@gmail.com wrote:
Take a look at the output of mvn help:effective-pom and
http://maven.apache.org/pom.html#Distribution_Management
You should use something like mvn
-DstagingRepository
We have a plugin which writes a description of dependencies into a NFS
share after a successful build in our Jenkins instance and an
aggregation job which will report this once per day. I will see wether
we may open source this.
Regards
Mirko
--
http://illegalstateexception.blogspot.com/
Hello Alexander,
maybe you are not allowed to write into the specified directory?
Regards
Mirko
On Aug 3, 2011 10:02 AM, Alexander Vaysberg w...@vaisberg.de wrote:
Hello there,
jython and jruby do not seem to be accessible from a repository. I am
inspecting a patch for a jenkins plugin and always get these warnings:
[mirko@borg email-ext-plugin]$ mvn3 clean package 21 | tee log
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were
Hello,
I am trying to use cobertura 2.5 with Maven 3.0.3 and want it's
reports to be aggregated in a multi-module build What am I
doing wrong?
Looking at
http://svn.codehaus.org/mojo/tags/cobertura-maven-plugin-2.5/src/main/java/org/codehaus/mojo/cobertura/CoberturaReportMojo.java
it seems to
, Mirko Friedenhagen
mfriedenha...@gmail.com wrote:
Hello,
I am trying to use cobertura 2.5 with Maven 3.0.3 and want it's
reports to be aggregated in a multi-module build What am I
doing wrong?
Looking at
http://svn.codehaus.org/mojo/tags/cobertura-maven-plugin-2.5/src/main/java/org
),
however site will not pick this up correctly.
Regards
Mirko
On Thu, Apr 21, 2011 at 22:38, Mirko Friedenhagen
mfriedenha...@gmail.com wrote:
I tried this as well (had a look in the integration test). I now put
the report plugins into the reportPlugins-Element as suggested in
https
On Fri, Apr 15, 2011 at 19:39, Kristian Rosenvold
kristian.rosenv...@gmail.com wrote:
fr., 15.04.2011 kl. 11.54 -0400, skrev Sony Antony:
Thank you Jason :
If 3.x local repository is not safe for concurrent access, how does maven3
implement parallel builds ( -T switch )
( maybe they decide
Hm, the link points to 2.3.1,
http://jira.codehaus.org/secure/ReleaseNote.jspa?version=16272projectId=11701
is for 2.3.2.
Regards
Mirko
On Sun, Mar 20, 2011 at 23:52, Garvin LeClaire glecla...@insightbb.com wrote:
Hi,
The Mojo team is pleased to announce the release of the Maven FindBugs
Hello,
Dear all,
in our company we have a policy that every released artifact should
have a release tag in Subversion assuming tagging is a cheap operation
in subversion.
So given a standard multimodule project:
foo/trunk/pom.xml (groupId=foo,artifactId=parent,version=1.0-SNAPSHOT)
On Tue, Jan 25, 2011 at 10:21 PM, Mark Struberg strub...@yahoo.de wrote:
Hi Mirko!
If you release the whole project at once, then you obviously only get exactly
one tag!
You'd need to run releases on each module on it's own to get the single tags.
But I'm not sure if this is really a good
Well, I implemented a solution, which anyone interested can retrieve
from github, see: https://github.com/mfriedenhagen/multi-module-svn.
Regards Mirko
--
http://illegalstateexception.blogspot.com/
https://github.com/mfriedenhagen/
https://bitbucket.org/mfriedenhagen/
Am 02.07.2010 um 09:37 schrieb Søren Krogh Neigaard:
Hi
I would like to activate (or not) a profile in my settings.xml base don which
profile is active in my pom.xml. The active profile is determined by either
activated by default, or by setting a -P argument to maven. How can I do this?
Hello,
after my project reported a failure (java.lang.ArrayIndexOutOfBoundsException:
1 at
org.apache.maven.doxia.module.xhtml.XhtmlSink.tableCell(XhtmlSink.java:791))
without me changing anything I searched for a solution and changed the
maven-project-info-reports-plugin to version 2.2 in
Am 13.03.2010 um 03:06 schrieb sebb:
Some plugin parameters are settable as command-line properties.
For example, the Surefire plugin accepts the parameter argLine in
the POM and the property -DargLine on the command-line.
Surefire also accepts skipTests and -DskipTests=true.
However,
Hello,
I want to create a meta plugin which should invoke lifecycles/mojos, so instead
of issueing:
mvn clean sources:jar deploy site
I could invoke:
mvn myplugin:go
- How do I include other plugins in the dependency section of my plugin?
- How do I invoke goals/lifecycles from a plugin?
Am 13.01.2010 um 21:26 schrieb Andrew Robinson:
I have looked over Google, and I have not seen a satisfactory answer
to this extremely simple requirement.
I am trying to produce an XPI file for a firefox extension. An XPI
file is simply a zip file with a different extension.
Hello,
I used
Am 14.12.2009 um 13:08 schrieb Mark Struberg:
the scm element in the pom is used for every SCM action in maven, e.g. if
you do a mvn release:prepare / mvn release:perform and stuff.
Since Hudson and other CI environments often do not rely on the build system
for updating the project, they
Am 09.12.2009 um 09:10 schrieb Stephen Connolly:
Should be possible to add a mojo to the maven-dependency-plugin to scan for
duplicate classes in scope XYZ... that would be the major indicator.
Of course you'd need include/excludes... and ignores... and failure mode
control probably want
Hello,
sometimes dependencies change their groupId (e.g. commons-io and
org.apache.commons or spring vs. org.springframwork). Maven now has no
chance(?!) to detect duplicate JARs with different versions during dependency
resolution and puts jars with different versions in a war. In the end you
Hello,
the documentation (http://maven.apache.org/settings.html#Simple_Values)
states that the default for
localRepository${user.dir}/.m2/repository/localRepository
First of all this should propably be ${user.home}/.m2/repository as
already stated in http://jira.codehaus.org/browse/MNG-2956.
Hello,
- I am trying to extend the ckjm-mojo
(http://mojo.codehaus.org/ckjm-maven-plugin/ckjm-mojo.html).
- ckjm needs the dependencies of the project to report on
- Right now I have the following:
--- snip ---
/**
* The set of dependencies required by the project
*
*
201 - 236 of 236 matches
Mail list logo