Posts

Showing posts with the label Maven

The most important convention lies in your build system

My vodafoneitaly-maven-plugin is up...

I released the first stable version of my plugin vodafoneitaly-maven-plugin . I'm very happy with that. The plugin is simple, but, at the same time, it does a lot of things that normally are done by hand and they are really error prone. I hope it will be used by other colleagues of my company and of other companies working for Vodafone Italy ... why not?

One last thing on MS Word in Java: replacing text...

Trying to solve my issue on how to replace placeholders inside a MS Word in Java, I choose to replace texts and avoid the use of document properties . BUT!!!

3 things to remember when you play with MS Word docs in Java

 I'm playing with my maven plugin ( https://github.com/sixro/vodafonecanvassrelease-maven-plugin ) and I need to insert texts in a MS Word document. Unfortunately there are some pitfalls you have to know if you use the Apache POI Java library.

Maven e Javascript :: JSLint

Image
Nonostante preferisca scrivere il codice usando TDD , potrebbe accadere che qualche collega non ne abbia ancora compreso il valore. Se il linguaggio in uso "richiede" comunque una fase di compilazione, si è almeno salvi da errori di scrittura. Ma quando si ha a che fare con un linguaggio di scripting come Javascript (del quale vi ricordo: io non so una mazza), si è proprio in balia del destino... se c'è un errore di scrittura in qualche function ... "lo scopriremo solo vivendo" !

Evitare l'esecuzione di test con JUnit

Image
Chi usa Maven sà già che per evitar di eseguire i test basta scrivere:     mvn install -DskipTests (... eh? ma non facevi TDD? Sì sì tranquillo... è più legato ai test di integrazione ... quelli lenti? ricordi? quelli che non puoi lanciare quando sei su *quella* macchina? ricordi? continua a leggere, dai! :) )

Configurare Maven per far TDD con Javascript

Image
Precisiamo subito una cosa: io di Javascript non so una mazza! Quello che cercherò di spiegare in questo post è come configurare un progetto Maven per poter fare TDD con Javascript .