Home » Tag Archives: Apache Maven (page 2)

Tag Archives: Apache Maven

Setup Local Nexus Repository and Deploying WAR File from Maven

apache-maven-logo

Maven Central serves as the central repository manager where binary artifacts are uploaded by different teams/companies/individuals and shared with rest of the world. Much like github, and other source code repositories, which are very effective for source code control, these repository managers also act as a deployment destination for your own generated binary artifacts. Setting up a local repository manager has several ...

Read More »

Maven Tip: All about executable jars

apache-maven-logo

Maven Tip: All about executable jars An executable jar is an extremely useful artefact when it comes to distributing your code.  It means that, as long as Java is installed on the client machine, on Windows and Mac at least, your users can just double click the jar and program will launch. Alternatively on the command line the program can ...

Read More »

Separating Integration Tests from Unit Tests Using Maven Failsafe & JUnit @Category

apache-maven-logo

Why Unit Tests Should Run Separately From Integration Tests TDD at the Unit Testing level is fairly straight-forward, since classes in unit testing either do not have complex dependencies, or you mock-out the dependencies with a mocking framework (ex. Mockito). However, TDD quickly becomes difficult when we get to Integration Testing. Integration Testing is basically testing a component with some or all ...

Read More »

Caching Strategy Reminder for Maven-Based Docker Builds

apache-maven-logo

My local development feedback loop between code change and runnable container was annoyingly long on a Maven-based project I was recently working on. I wanted to speed things up. The scenario was something like this:             touch/change some source code docker build maven downloads the world maven compiles my project docker run touch/change some source ...

Read More »

Spring MVC 4 Quickstart Maven Archetype Improved

apache-maven-logo

Spring Boot allows getting started with Spring extremely easy. But there are still people interested in not using Spring Boot and bootstrap the application in a more classical way. Several years ago, I created an archetype (long before Spring Boot) that simplifies bootstrapping Spring web applications. Although Spring Boot is already some time on the market, Spring MVC 4 Quickstart ...

Read More »

Do you really want to speed up your Maven compile/packaging? Then takari lifecycle plugin is the answer.

apache-maven-logo

Like many of you out there, I am working with a multi module Maven project. It is not a huge one comparing to many systems out there, it has 15 modules, with 3 different ear deployments, lots of parametrization with property files and around 100K lines of Java code. During peak development times, the code is heavily refactored, due it’s ...

Read More »

Efficient Creation of Eclipse Modules with Maven Archetype

apache-maven-logo

Maven Archetype is a project templating toolkit that provides developers with the means to generate parameterized versions of built-in or custom scaffolding artefacts. Recently I applied it to our Xiliary P2 repository to achieve automation of Eclipse module stubs creation. As it worked out well enough, I thought it might be worth while to share my experiences in this post. ...

Read More »

Configure JBoss / Wildfly Datasource with Maven

apache-maven-logo

Most Java EE applications use database access in their business logic, so developers are often faced with the need to configure drivers and database connection properties in the application server. In this post, we are going to automate that task for JBoss / Wildfly and a Postgre database using Maven. The work is based on my World of Warcraft Auctions ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close