New plugin idea: banner-maven-plugin

85 views
Skip to first unread message

metrizzle

unread,
Jun 2, 2016, 6:47:31 PM6/2/16
to mojohaus-dev

Hi all,

I created a maven plugin that prints ascii banner as 
part of the build: 
Would that be of interest for the sandbox?
I think a ascii/banner/figlet plugin would be
a nice addon for the haus. 


Best regards,

metrizzle 



                                 
  _______  __ ___________ ___.__.
_/ __ \  \/ _/ __ \_  __ <   |  |
\  ___/\   /\  ___/|  | \/\___  |
 \___  >\_/  \___  |__|   / ____|
___. \/          \.___    \/     
\_ |__   ____   __| ____.__.     
 | __ \ /  _ \ / __ <   |  |     
 | \_\ (  <_> / /_/ |\___  |     
 |___  /\____/\____ |/ ____|     
.__  .__ __        \/\/          
|  | |__|  | __ ____   ______    
|  | |  |  |/ _/ __ \ /  ___/    
|  |_|  |    <\  ___/ \___ \     
|____|__|__|_ \\___  /____  >    
             \/    \/.__.__/     
_____    ______ ____ |__|__|     
\__  \  /  ____/ ___\|  |  |     
 / __ \_\___ \\  \___|  |  |     
(____  /____  >\___  |__|__|     
     \/     \/     \/            

Karl Heinz Marbaise

unread,
Jun 18, 2016, 8:28:33 AM6/18/16
to mojohaus-dev
Hi,

first it looks great...but one question. Is Java 8 really needed? Most of the plugins here at MojoHaus are Java 6 (or less) based...

Kind regards
Karl Heinz Marbaise

Manfred Moser

unread,
Jun 19, 2016, 1:07:44 AM6/19/16
to mojoha...@googlegroups.com
I think its just fine to require Java 8 for a plugin. Or is there a requirement for mojohaus plugins to support Java 6? If so I think this should be dropped. 

Manfred

--
You received this message because you are subscribed to the Google Groups "mojohaus-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mojohaus-dev...@googlegroups.com.
To post to this group, send email to mojoha...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mojohaus-dev/b2414f34-aef5-4b8a-b77b-d8c06de1ff88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Markus Karg

unread,
Jun 19, 2016, 2:50:40 AM6/19/16
to mojohaus-dev
Java 8 exists for several years and is even available for conservative linux distributions like Debian or for rather "exotic" hardware like Raspberry or IBM System Z. It is not a special demand that makes one use Java 8, it is simply normal to do that. I do not see any problem using Java 8 for new plugins or new releases of existing plugins. If someone baldy wants to stay with Java 6, he is free to invest the additonal time needed to support and maintain a fork. Forcing people to stay away from latest technology for too long time simply leads to the fact that those people leave a project.

Mirko Friedenhagen

unread,
Jun 19, 2016, 3:19:47 AM6/19/16
to mojoha...@googlegroups.com

I completely agree with Markus here. People who need to stay with old JDKs just should stay with old plugins/build tooling as well.

Regards
Mirko
--
Sent from my mobile

Am 19.06.2016 08:50 schrieb "Markus Karg" <mar...@headcrashing.eu>:
Java 8 exists for several years and is even available for conservative linux distributions like Debian or for rather "exotic" hardware like Raspberry or IBM System Z. It is not a special demand that makes one use Java 8, it is simply normal to do that. I do not see any problem using Java 8 for new plugins or new releases of existing plugins. If someone baldy wants to stay with Java 6, he is free to invest the additonal time needed to support and maintain a fork. Forcing people to stay away from latest technology for too long time simply leads to the fact that those people leave a project.

--
You received this message because you are subscribed to the Google Groups "mojohaus-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mojohaus-dev...@googlegroups.com.
To post to this group, send email to mojoha...@googlegroups.com.

Baptiste Mathus

unread,
Jun 19, 2016, 9:10:46 AM6/19/16
to noreply-spamdigest via mojohaus-dev
(BTW, this might be an additional point to my other /governance/ thread. Should we have an official baseline for the project or not, and so on.)

IMO, this is fine. 

I for one would maybe still be ready to spend some spare time to investigate Java 7 issues, still only if simple, but not below. I've got more interesting things to do.
It's just too old and people stuck with that are generally enterprisey softwares that could probably afford a specific support contract.

On the other hand, we, as a community, probably cannot afford the associated cost: developers not interested to participate, or losing interest because they're forced to use the same old stack as if they were supporting paying customers. 
The only thing IMO we want to find an agreement on is to find a way to make that clear for users.

-- Baptiste

Karl Heinz Marbaise

unread,
Jun 19, 2016, 9:32:43 AM6/19/16
to mojohaus-dev
Hi Markus,

it exists for about 2 Years and 3 months..(18. March 2014)...

But is there a real need for JDK 8 to create "simple things" like a banner (be aware of the quotes don't take me wrong)? 
That was the foundation of my question...

And Yes I would also VOTE for JDK 7 as minimum. We should have a clear base line for the MojoHaus project as well...I started migration of other plugins (for example MRM to get 1.0.0 out and than migration to Maven 3 only than there is no problem to say JDK 7 minimum or if we decide different JDK 8..)...

Kind regards
Karl Heinz

Markus Karg

unread,
Jun 20, 2016, 1:08:47 PM6/20/16
to mojohaus-dev
Again, it is not about whether it is needed. It is simply current. Developing new plugins on old runtimes simply feels odd.

Forcing people to check ready-to-run code whether it could run on totally outdated Java runtimes simply annoys them. It binds valueable time and enthusiasm, and possibly ends up with answers like: "Yes, we use just two or three lines of Java 8 that could be replaced by 20 or 30 lines of Java 6. So no, it is not needed, but backporting it costs us another day which nobody likes to invest."

So I would say, for any new functionality, particularly brand-new plugins, let people just use the latest published Java. I do not see any need to take care of older Java versions for new features. It should be enough to stick with the same major Java release within LTS branches of existing plugins.

Manfred Moser

unread,
Jun 20, 2016, 4:34:03 PM6/20/16
to mojoha...@googlegroups.com
I totally agree with Markus. New plugin - latest publicly available Java. 

--
You received this message because you are subscribed to the Google Groups "mojohaus-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mojohaus-dev...@googlegroups.com.
To post to this group, send email to mojoha...@googlegroups.com.

Jochen Wiedmann

unread,
Jun 21, 2016, 3:35:15 AM6/21/16
to mojoha...@googlegroups.com
Besides, keep in mind: This would be a plugin, that could easily be
enabled only, if the JRE matches. It obviously wouldn't be relevant
for the build.

For that reason, this discussion strikes me as quite odd.

Jochen
> https://groups.google.com/d/msgid/mojohaus-dev/CABffhO64SoHf-TPoPunwyGfj9-E22ckJ8LCvRjCK4U8ygR1dbA%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.



--
The next time you hear: "Don't reinvent the wheel!"

http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg

metrizzle

unread,
Jul 15, 2016, 8:43:46 PM7/15/16
to mojohaus-dev
Hi,

sorry for the late reply. I thought there is no interested at first.

I just pushed a new version of the plugin that inherits the 
java properties/config from the mojo-parent (version 40); supporting older
java version should not be too difficult in case of this plugins context.

So then, I would go ahead with refactorings to meet the dev guidelines?

What about the name: banner-maven-plugin Ok? 
Figlet or ascii plugin sounds also very nice. 


Best Regards,

Nils
Reply all
Reply to author
Forward
0 new messages