Re: [VOTE] Retire Maven Ant Plugin

2019-05-28 Thread Bruno Borges
Non-binding vote: +1



On Tue, May 28, 2019 at 11:55 AM Robert Scholte 
wrote:

> Hi,
>
> The Apache Maven project consist of about 100 (sub)projects. Due to the
> small number of volunteers and the huge amount of code to maintain we're
> missing enough space to make real progress on all these projects, including
> our ambitious ideas for the next major version(s) of Maven itself.
> To be able to gain more focus we need to criticize the current subprojects
> and decide if it is worth maintaining.
>
> The goal of the Apache Maven Ant Plugin it to generate Ant build files
> based on a pom.xml and was released for the last time in December 2014. Due
> to the different ways that Ant and Maven work I don't think it makes
> sense anymore to maintain a plugin to transform Maven files to Ant.
> See https://maven.apache.org/plugins/maven-ant-plugin/ [
> https://maven.apache.org/plugins/maven-ant-plugin/]
>
> To be clear, this is NOT the plugin you can use to run Ant within Maven;
> that's the maven-antrun-plugin.
>
> I therefore propose that we retire the maven-ant-plugin.
>
> I don't think it makes sense to do a final release. Instead we should
> update the documentation and freeze the codebase.
>
> The process for retiring a plugin is described here:
> https://maven.apache.org/developers/retirement-plan-plugins.html
>
> The vote is open for 72 hours.
> [ ] +1 Yes, it's about time
> [ ] -1 No, because...


Maven Archetype with defaults for version and package properties

2019-04-12 Thread Bruno Borges
Hi all,

I've been trying to define a Maven Archetype which would contain properties
`package` and `version` with default values:

Inside archetype-metadata.xml, I included the following:


${groupId}



1.0-SNAPSHOT


Despite this configuration, the generation fails:

[ERROR] Archetype IT 'basic' failed: Missing required properties in
archetype.properties: package, version

Any clue?


Bruno Borges
[image: https://]brunoborges.io
<https://brunoborges.io?promo=email_sig_source=product_medium=email_sig_campaign=edit_panel_content=plaintext>


How to activate proxy from settings.xml using CLI

2016-02-04 Thread Bruno Borges
Looking at docs for 3.3.9 [1], I noticed the following:


proxies/proxy* List *(Many)* Configuration for different proxy
profiles. Multiple proxy profiles might come in handy for anyone working
from a notebook or other mobile platform, to enable easy switching of
entire proxy configurations by simply specifying the profile id, again
either from the command line or from the defaults section below.
It says that I can activate a proxy defined in settings.xml using
command-line, but there is no option when looking at *mvn -h. *
Perhaps I didn't look well enough, but I couldn't find in docs how to
activate a proxy using CLI.

[1]
https://maven.apache.org/ref/3.3.9/maven-settings/settings.html#class_settings


*Bruno Borges*
+1 (650) 454-9628
*www.brunoborges.com <http://www.brunoborges.com>*


How to activate proxies

2012-07-03 Thread Bruno Borges
I see that there's an option active for proxies under settings.xml...

But how to toggle this flag through command-line interface?

Thanks,
*Bruno Borges*
(21) 7672-7099
*www.brunoborges.com*


Using Tomcat plugin to run webapp in a production environment

2010-11-10 Thread Bruno Borges
Have anyone experienced running a WAR project in production based on the
Maven Tomcat plugin?

We are considering to use it as we think it is simpler than installing a
whole Tomcat setup and deploying WAR files . Our usecase has only one
project and no more modules are planned. Each one on its own VM at Amazon
EC2.

All the configuration can be passed on to the Tomcat Plugin through
server.xml and context.xml.

Any feedback, comments or critics are welcome.

Best regards,
Bruno Borges
www.brunoborges.com.br
+55 21 76727099

The glory of great men should always be
measured by the means they have used to
acquire it.
 - Francois de La Rochefoucauld


Re: Re: Possible problem when multiple developers depend on SNAPSHOT versions

2009-03-25 Thread bruno . borges

+1

Communication: the only solution that fits into any case.

Get used to it.

:-)

On Mar 25, 2009 4:36pm, Heinrich Nirschl heinrich.nirs...@gmail.com wrote:

On Wed, Mar 25, 2009 at 8:10 PM, Trevor Harmon tre...@vocaro.com wrote:



 What can be done to prevent Bob's problem?





An easy solution is: When Alice prepares the release, she says Hey



Bob, I'm doing a release of Foo.





Henry





-



To unsubscribe, e-mail: users-unsubscr...@maven.apache.org



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






Re: Using commons-net ftp jar as a dependency

2008-11-12 Thread bruno . borges
What is the problem of depending on that artifact having the effect of  
depending on other jars?


The commons-net-2.0-ftp.jar is created not because of some maven  
convention. Actually, the Commons-Net creates that jar just to separate  
classes. The right way of doing that would be using separated modules, but  
they are not doing that.


My suggestion? Keep that dependency and let your project with whatever  
comes from that.


Regards,
Bruno

On Nov 12, 2008 1:47pm, Steven Jardine [EMAIL PROTECTED] wrote:
I have a project that uses the commons-net package. Well it actually uses  
only the commons-net-2.0-ftp.jar file found at  
http://repo1.maven.org/maven2/commons-net/commons-net/2.0/commons-net-2.0-ftp.jar.




It there a way for me to have my project depend on only this jar file not  

the whole commons-net project. My current dependency is






commons-net

commons-netartifactId

2.0

compile





Thanks,

Steve



-

To unsubscribe, e-mail: [EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED]





Re: Different checkstyle config for main and test?

2008-11-10 Thread bruno . borges

I think you can use profiles for that.

bruno

On Nov 10, 2008 11:43am, Wim Deblauwe [EMAIL PROTECTED] wrote:

Hi,



is it possible to define a different checkstyle configuration in maven for

the main and the tests? I want to allow underscores in method names, but

only in my test source directory.



regards,



Wim



Re: Re: Different checkstyle config for main and test?

2008-11-10 Thread bruno . borges
One can define a specific profile to be activated when one wants to test.  
For example:


$ mvn -Denv-test test

On Nov 10, 2008 2:29pm, Wim Deblauwe [EMAIL PROTECTED] wrote:

I have used profiles before, I don't think you can use that. How would you

do this?



2008/11/10



 I think you can use profiles for that.



 bruno





 On Nov 10, 2008 11:43am, Wim Deblauwe wrote:



 Hi,







 is it possible to define a different checkstyle configuration in maven  

for




 the main and the tests? I want to allow underscores in method names,  

but




 only in my test source directory.







 regards,







 Wim