Hello; I'd like to add a new packaging type for our builds.
Strictly speaking, I could just pack up the file I need into a jar and
use that, and I will if I have to, but I'd like to see what's involved
in making a new packaging type.
I hunted through the Maven Developer Centre links on the Maven
maybe following blog post helps (just read the code if you can not
understand french):
http://blog.tartachuc.org/2008/07/07/creer-un-packaging-maven2/
or have a look at the code and xml files (components.xml) of other
maven plugins like the war-maven-plugin, etc
regards
Kristian
On Mon, Jun 14,
Hi all,
I'm writing a Maven plugin:
public class MyMojo extends AbstractMojo {
...
private void execute() throws MojoExecutionException
{
/* I need to get the execution id here */
}
}
Given the following POM, I'm wondering how can I retrieve the execution
id from it:
On Mon, Jun 14, 2010 at 9:36 AM, kristian wrote:
> maybe following blog post helps (just read the code if you can not
> understand french):
Thanks for the reference--and for the excuse to practice my 12 years
of schoolroom-only French!
Best,
Laird
---
> When running tests we get errors
> "org.apache.maven.surefire.booter.shade.org.codehaus.plexus.util.cli.CommandLineException:
> Error while executing external command, process killed." when Maven
> runs the command below.
What happens when you run this from the same directory? Literally open
a M
This should provide you with the info you need:
http://www.sonatype.com/people/2009/08/create-a-customized-build-process-in-maven/
On Mon, 2010-06-14 at 09:06 -0400, Laird Nelson wrote:
> Hello; I'd like to add a new packaging type for our builds.
>
> Strictly speaking, I could just pack up the
> What happens when you run this from the same directory? Literally open
> a MS-DOS prompt and copy/paste starting at cmd.exe through to the last
> double quote.
>
> Forking command line: cmd.exe /X /C ""C:\Program
> Files\IBM\WMBT700\jdk\jre\bin\java" -jar
> C:\DOCUME~1\v008789\LOCALS~1\Temp\suref
> As I wrote in the previous mail: "If I however run the command directly it
> works."
Yea, I saw that, but didn't actually believe that you were executing
the right command. We get a lot of hmmm confused people on this list
at times.
Most likely there is something going on related to plexus.util
On Mon, Jun 14, 2010 at 5:04 PM, Wayne Fay wrote:
> > As I wrote in the previous mail: "If I however run the command directly
> it
> > works."
>
> Yea, I saw that, but didn't actually believe that you were executing
> the right command. We get a lot of hmmm confused people on this list
> at times
Hi Everyone - I'm having a problem checking out the code from my multi
module project - it's very frustrating and I've been working on it for a
few days, so any help anyone can provide will be greatly appreciated.
Here's the background - I have a multi module project where the parent
project is j
Maybe this is the wrong list... Shall I move this question to the
Developers list?
Jeff
> -Original Message-
> From: giuseppe.gr...@b-source.ch [mailto:giuseppe.gr...@b-source.ch]
> Sent: Monday, June 14, 2010 3:52 PM
> To: users@maven.apache.org
> Subject: How to get the execution id fro
I'm not sure it's possible to get the execution id, just as it's not
possible AFAIK to get the phase the execution is bound to
-Stephen
On 14 June 2010 17:05, wrote:
> Maybe this is the wrong list... Shall I move this question to the
> Developers list?
> Jeff
>
> > -Original Message-
>
On 6/14/10 11:58 AM, House, Thomas wrote:
> This seems like it would be a very common usecase so I'm surprised I
> can't find more information about it on the web. Maybe I'm doing a bad
> job searching.
>
An observation - I get the impression scm:checkout isn't used very much
and/or this is a CVS
The guide to configuring plugins [1] says that:
"Important Note: It is recommended to always defined each version of
the plugins used by the build to guarantee the build reproducibility."
This seems sensible, but I've also been told that one should not
specify the versions of the core plugins [2]
All plugins because unfortunately we haven't had the best track record with
respect to behavioral compatibility between releases.
On Jun 14, 2010, at 1:37 PM, sebb wrote:
> The guide to configuring plugins [1] says that:
>
> "Important Note: It is recommended to always defined each version of
>
Hello,
The case I am looking at is that I have two maven artifact hierarchies
that are independent.
Hierarchy A artifacts are core code that is shared between a bunch of
different projects.
Hierarchy B artifacts are for a single project and in some cases depend
on artifacts from A.
Now t
Nope, not possible the way you describe it.
However, you can control the version of all dependencies (incl. transitive)
through the use of dependencyManagement in the B hierarchy.
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
/Anders
On Mon, Jun 14, 2010 a
The way that we solved this is to build a set of pom files that identify
the 3rd party libraries that we use and version the POM with the version
of the product that we are building.
For example, we have a pom-spring-hibernate-mysql-tomcat project that
builds a jar with the spring, hibernate, my
On 14/06/2010, Jason van Zyl wrote:
> All plugins because unfortunately we haven't had the best track record with
> respect to behavioral compatibility between releases.
OK, thanks.
What about the Maven Available Plugs list at [1] - can one assume that
these plugin versions will work together O
Use the Maven Versions Plugin to show the latest versions of all the
plugins you have specified. Most of the time the latest are the
greatest. I only move back if I hit specific bugs (or I move forward
if a patch is available, and make my own release)
http://mojo.codehaus.org/versions-maven-plugin
Is there a place to report issues with the contents of maven central?
Or does it need to be reported to each project's maintainers?
https://repository.sonatype.org/content/repositories/central/org/codehaus/woodstox/stax2-api/3.0.1/
the jar.sha1 file reads
88985bfab2394cf8e56fcbd97cd44f7cac7bf8ca
I've got a webapp that uses javascript files from third party projects.
For instance, one of the files we use is prototype.js. It seems like
this must be something that many people have done in the past, but I
can't seem to find much information about it.
The first issue I have is that I can't s
I don't know the state of the plugin, but have a look at the Maven
Javascript Plugin.
http://mojo.codehaus.org/javascript-maven-tools/javascript-maven-plugin/index.html
Hth,
Nick Stolwijk
~Java Developer~
IPROFS BV.
Claus Sluterweg 125
2012 WS Haarlem
http://www.iprofs.nl
On Tue, Jun 15, 201
On 06/15/2010 01:23 AM, Haszlakiewicz, Eric wrote:
I've got a webapp that uses javascript files from third party projects.
For instance, one of the files we use is prototype.js. It seems like
this must be something that many people have done in the past, but I
can't seem to find much informatio
>-Original Message-
>From: Manos Batsis [mailto:manos_li...@geekologue.com]
>
>There is no standard convention yet AFAIK. Including the JS libs in the
>war is one thing, making it accessible to the browser through a
specific
>URL is another.
Well that sucks. :(
>Here (at Abiss.gr) we use
I've worked on projects that share common javascript files, so I used a
simple assembly descriptor to zip each set of files and install them as
maven artifacts
WAR projects then just specified them as dependencies in their POMs
it's nice then to be able to treat these artifacts like any other proje
On 06/15/2010 01:55 AM, Haszlakiewicz, Eric wrote:
-Original Message-
From: Manos Batsis [mailto:manos_li...@geekologue.com]
There is no standard convention yet AFAIK. Including the JS libs in the
war is one thing, making it accessible to the browser through a
specific
URL is another.
I've got my Maven project checked out from a branch using SVN. The
SVN repository structure is the "standard" one
trunk
tags
branches
I've checked out a working copy from a branch, and have run
release:prepare on it. It all works, but then the release:perform
fails. When I look at the tag in S
Hi all. Some more info... when I change the developerConnection back
to the URL, it's even worse. The tag reflects the code in the trunk
instead of in the branch (I can tell because the POMs have different
version numbers... the tag has the version number of the trunk instead
of the branch... and
More info... I am trying to reorganize my maven projects. Currently,
there is a single pom that declares modules and acts as a parent
project to those sub-modules. When I use this structure, the correct
source is used when creating the SVN tag.
I'm trying to move a bunch of the declarations into
OK, I've been able to recreate this using a dummy application. I do
think it's a bug, so I've raised an issue on it
http://jira.codehaus.org/browse/MRELEASE-576
It does actually end up building the release and deploying the correct
one. However, in the process, it's checking out the entire cont
http://jira.codehaus.org/browse/MEV
/Anders
On Mon, Jun 14, 2010 at 23:58, Zac Thompson wrote:
> Is there a place to report issues with the contents of maven central?
> Or does it need to be reported to each project's maintainers?
>
>
> https://repository.sonatype.org/content/repositories/centr
Does it fail "immediately" or does it run the tests first ?
Is the plugin configured with forkedProcessTimeoutInSeconds ?
Kristian
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: us
Hi,
I am trying to deploy a snapshot of an Apache project to
https://repository.apache.org/content/repositories/snapshots. From my
point of view, the configuration is correct: I have a "server" entry
in my settings.xml and I have configured an https proxy. (See "Adding
User-Agent configuration" an
I have n projects:
project_super: Aggregates the projects project_subi. Just a "pom-project".
project_sub1 : Inherits project_super
...
project_subi : Inherits project_super
...
roject_subn : Inherits project_super
1)
Most projects project_subi have an assembly descriptor sited in their
${basedi
35 matches
Mail list logo