Home » Tag Archives: Apache Maven (page 3)

Tag Archives: Apache Maven

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 »

Maven excludes all transitive dependencies

apache-maven-logo

“Transitive dependencies are a new feature in Maven 2.0. This allows you to avoid needing to discover and specify the libraries that your own dependencies require, and including them automatically.” I had a problem, where some dependencies were available in the run time, but they weren’t available in the public nexus repositories. For an example, Hibernate depends on the Sun JTA ...

Read More »

Maven Common Problems and Pitfalls

apache-maven-logo

Love it or hate it (and a lot of people seem to hate it), Maven is a widely used tool by 64% of Java developers (source – Java Tools and Technologies Landscape for 2014). Most experienced developers already got their share of Maven headaches. Usually in the hard way, banging with their head into a brick wall. Unfortunately, I feel ...

Read More »

How to Release to Maven Central, in One Click

apache-maven-logo

When I release a new version of jcabi-aspects, a Java open source library, to Maven Central, it takes 30 seconds of my time. Maybe even less. Recently, I released version 0.17.2. You can see how it all happened, in Github issue #80:                 As you see, I gave a command to Rultor, and ...

Read More »

Maven Git Release

apache-maven-logo

I need to start this post by stating that I’ve only started to work seriously with Git within the last year. Unfortunately, a lot of the projects that I work on are still using SVN or CVS, but I’m now finally starting in a few that use Git. During the last few years, I’ve done a lot of software releases ...

Read More »

Java EE7 and Maven project for newbies – part 7

java-interview-questions-answers

Resuming from the previous parts Part #1, Part #2, Part #3, Part #4, Part #5 , Part #6 In the previous post (num 6) we discovered how we can unit test our JPA2 domain model, using Arquillian and Wildfly 8.1 In the post we made a simple configuration decision, we used the internal H2 database that is bundled with Wildfly ...

Read More »

Java EE7 and Maven project for newbies – part 6

java-interview-questions-answers

Resuming from the previous parts Part #1, Part #2, Part #3, Part #4, Part #5 In the previous post (part 5), we discovered how we can unit test using Arquillian, our EJB services, deploying them in a ‘real’ instance of Wildfly8.1 application server. Extending the previous example we will add some more configuration and code, so that we can add ...

Read More »

Java Build Tools: Ant vs Maven vs Gradle

java-logo

In the beginning there was Make as the only build tool available. Later on it was improved with GNU Make. However, since then our needs increased and, as a result, build tools evolved. JVM ecosystem is dominated with three build tools: Apache Ant with Ivy Maven Gradle   Ant with Ivy Ant was the first among “modern” build tools. In ...

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