Can someone point me to documentation how can i get my artifacts into
maven central repository?
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide
http://www.sonatype.com/people/2011/10/publishing-your-artifacts-to-the-central-repository/
On Sat, Jun 9, 2012 at 9:17 AM, Radim Kolar wrote:
> Can someone point me to documentation how can i get my artifac
No, you create a separate module that just holds the tests. Due to the
different dependencies for these tests I assume they are not unit
tests but rather some sort of integration tests. Having a separate
module for ITs is very common. I'd even go as far as saying it's best
practice.
/Anders
On Sa
Hello,
there is no way in Maven to insert a Mojo between two Mojo from a
packaging. Each Mojo you add in your POM will be executed after the ones
from the packaging.
If you want to execute your Mojo before any Mojo of the package phase, then
you can bind it to the prepare-package phase.
Jeff
On
Thanks for the response Anders.
I agree that for integration tests, this wouldn't seem weird at all.
Unfortunately, they are actually unit tests, not integration tests. They
wrote their own "everything" - o/r mapper, unit test framework, middle-tier
software, etc. - and unfortunately all of this
Hi,
this is tricky and may involve some trial and error. Maven executes mojos
in the same phase in the order their plugins are listed in the POM. You can
try to define all plugins, including plugins automatically defined by the
eclipse-plugin lifecycle, in the required order. The relative order is
Hi,
have you tried to setPluginContext with a map that you instantiate yourself
and see if it's available in mojo2?
Regards,
htfv (Aliaksei Lahachou)
On Fri, Jun 8, 2012 at 1:36 PM, Tonté Pouncil
wrote:
> Hello,
>
> I am trying to get two custom Mojos that I have created to communicate
> with
see native-maven-plugin at MOJO, you can find pluginContext usage there
-D
On Sat, Jun 9, 2012 at 1:52 PM, Aliaksei Lahachou
wrote:
> Hi,
>
> have you tried to setPluginContext with a map that you instantiate yourself
> and see if it's available in mojo2?
>
>
> Regards,
> htfv (Aliaksei Lahachou
I can't get the Maven resources plugin to filter. Any advice? I've looked
through the documentation, but I can't find any complete examples. Below it
what I've managed to piece together, but it doesn't work.
./pom.xml:
http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XML
http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
Note that filtering resources is one of the special plugins that is configured
in the POM itself.
On Jun 9, 2012, at 9:11 PM, Patrick wrote:
> I can't get the Maven resources plugin to filter. Any advice? I've looked
On Jun 9, 2012, at 9:53 PM, Jason van Zyl wrote:
> Note that filtering resources is one of the special plugins that is
> configured in the POM itself.
As an academic question, what is the reason for the "special plugins" like
this? I was teaching a 3-day Maven class a few weeks ago and I cou
Yes. I have already tried to set the context map with my Mojo and retrieve it
with my other Mojo; but it is still null.
Okay I will look at native-maven-plugin and see what they are doing?
I create an abstract class that has a static variable that hold my object that
both Mojos can access.
Th
your mojos may need to be related in a maven lifecycle extension
-D
On Sat, Jun 9, 2012 at 7:29 PM, Tonté Pouncil
wrote:
> Yes. I have already tried to set the context map with my Mojo and retrieve
> it with my other Mojo; but it is still null.
>
> Okay I will look at native-maven-plugin and s
Sorry, but I must be missing something. I'd already read through that many
times, and that's how I got this. I thought I showed you how I was configuring
it in the POM itself. I would assume the confusion is caused by all those
"..." sections which REALLY make the example unclear.
On Jun 9,
Jason is saying to remove the stuff around it as it is
unnecessary. See below...
Wayne
On 6/9/12, Patrick wrote:
> Sorry, but I must be missing something. I'd already read through that many
> times, and that's how I got this. I thought I showed you how I was
> configuring it in the POM itself
15 matches
Mail list logo