Gstring-Maven-plugin 1.0.0

2013-05-17 Thread Mickael Istria

Hi all,

Just a quick note to announce the first release of the 
GString-Maven-plugin. This is a simple plugins that allows to process 
template files using GStrings, it can be use as a nice alternative to 
using the maven-resources-plugin filtering or some other templating 
Maven plugins (using Groovy as a replacement of Freemarker or Velocity).


Project home is here: 
https://github.com/gstring-maven-plugin/gstring-maven-plugin
Mailing-list is: 
https://groups.google.com/forum/#!forum/gstring-maven-plugin


Feedback and contributions are hightly welcome.

Cheers,
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat http://www.jboss.org/tools
My blog http://mickaelistria.wordpress.com - My Tweets 
http://twitter.com/mickaelistria


Additional settings.xml file

2012-09-13 Thread Mickael Istria

Hi all,

I'd like to know if it is possible to pass an additional settings.xml 
file to Maven.


Here is the use case:
We have a project, and CI is built on Jenkins. On Jenkins, it is allowed 
to deploy stuff onto Nexus. So the settings.xml for Jenkins specifies 
the necessary credentials in order to push to Nexus. We do not own the 
settings.xml file, so we can't simply modify it. Also, it changes often, 
so I can't simply copy it for my project and add what I want to it: it 
would get out of sync pretty fastly, and a lot of stuff -such as 
deployent- won't work any longer.
For our projects, we would like to use some mirrors, that are specific 
to our project, and that may change often. Then it wouldn't make sense 
to put them in the global settings.xml (that we can't change as we 
want). So I want to have mirrors but can't edit nor replace the current 
settings.xml. I thought maybe there is a way to append another 
settings.xml file through command-line, for project-specific settings.

Does anyone how to achieve that? Or have a workaround for my use-case?

Thanks in advance for your insights.
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat http://www.jboss.org/tools
My blog http://mickaelistria.wordpress.com - My Tweets 
http://twitter.com/mickaelistria


Re: Additional settings.xml file

2012-09-13 Thread Mickael Istria

Thanks Jeff, that sounds perfect for my use-case!
Thanks Baptiste, mvn help:effective-settings helps a lot, I didn't know 
that.

--
Mickael Istria
Eclipse developer at JBoss, by Red Hat http://www.jboss.org/tools
My blog http://mickaelistria.wordpress.com - My Tweets 
http://twitter.com/mickaelistria


Re: How to re-use download monitor

2012-06-22 Thread Mickael Istria

On 06/22/2012 12:50 PM, Olivier Lamy wrote:

You talk about transfer listener ?

Yes, that's what I'm talking about.

If yes see: 
http://svn.apache.org/repos/asf/maven/maven-3/trunk/maven-embedder/src/main/java/org/apache/maven/cli/ConsoleMavenTransferListener.java
Seems like this is Maven3 only, and ConsoleDownloadMonitor is Maven 2 
only...
Is there a monitor that could work for both versions of Maven, or should 
I copy-paste one directly in my plugin and use this one in order to 
ensure it is always available?


--
Mickael Istria
Eclipse developer at JBoss, by Red Hat http://www.jboss.org/tools
My blog http://mickaelistria.wordpress.com - My Tweets 
http://twitter.com/mickaelistria


Re: How to re-use download monitor

2012-06-22 Thread Mickael Istria

On 06/22/2012 02:46 PM, Olivier Lamy wrote:

I think you will have to do a if (maven3) ... else 
And how do you compile your plugin if you have different blocks in your 
code that cannot be built with the same classpath?


I currently copied ConsoleDownloadMonitor from Maven 2 into my plugin to 
use it on whatever version of Maven.



BTW what is your use case ? a wagon listener ?
Yes. It's a plugin that we use to download stuff with caching and 
signature verification, when we cannot rely on maven-dependency-plugin: 
http://code.google.com/p/maven-download-plugin/ .
The download part currently uses Wagon, and I want to show a downlaod 
monitor.


--
Mickael Istria
Eclipse developer at JBoss, by Red Hat http://www.jboss.org/tools
My blog http://mickaelistria.wordpress.com - My Tweets 
http://twitter.com/mickaelistria


Re: How to re-use download monitor

2012-06-22 Thread Mickael Istria

On 06/22/2012 03:02 PM, Olivier Lamy wrote:
So a wagon org.apache.maven.wagon.events.TransferListener is probably 
your best friend as it's not maven version dependant. retrieve your 
wagon and add your TransferListener impl. Makes sense ? 
Yes, I copied ConsoleDownloadMonitor (implements TransferListener) and 
used this in code. It works well.


Thanks for your hints.
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat http://www.jboss.org/tools
My blog http://mickaelistria.wordpress.com - My Tweets 
http://twitter.com/mickaelistria


How to re-use download monitor

2012-06-21 Thread Mickael Istria

Hi all,

In a Mojo, I'd like to reuse the download monitor that we see when using 
maven-dependency-plugin for instance.
I could not find a piece of code or reference to a Plexus componentt ot 
do that. Can someone give me a hint?


Cheers.
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat http://www.jboss.org/tools
My blog http://mickaelistria.wordpress.com - My Tweets 
http://twitter.com/mickaelistria


Re: Davs or Webdavs wagon support?

2009-03-25 Thread Mickael Istria

Hi,

I successfully used davs:// with Maven 2.1.0.
Thanks a lot.

Mickael

Dan Tran a écrit :

i think you need maven 2.1.0

-D

On Tue, Mar 24, 2009 at 9:46 AM, Mickael Istria
mickael.ist...@openwide.fr wrote:
  

Hi all,

I'm trying to use a davs:// address as a repository to deploy artifacts.

I've tried using wagon-webdav, and wagon-webdav-jackrabbit.
* All those ones (except webdav-jackrabbit 1.0-beta-5) tell me that davs://
is not supported.
* webdav-jackrabbit 1.0-beta-5, it crashes with an exception,

This commit (http://svn.apache.org/viewvc?view=revrevision=662092) tells
that davs:// is supported. Is this support available somewhere? (on a
snapshot or incubation repository that is stable enough to be used?)

Thanks in advance.

Mickael

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

  



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Davs or Webdavs wagon support?

2009-03-24 Thread Mickael Istria

Hi all,

I'm trying to use a davs:// address as a repository to deploy artifacts.

I've tried using wagon-webdav, and wagon-webdav-jackrabbit.
* All those ones (except webdav-jackrabbit 1.0-beta-5) tell me that 
davs:// is not supported.

* webdav-jackrabbit 1.0-beta-5, it crashes with an exception,

This commit (http://svn.apache.org/viewvc?view=revrevision=662092) 
tells that davs:// is supported. Is this support available somewhere? 
(on a snapshot or incubation repository that is stable enough to be used?)


Thanks in advance.

Mickael

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org