Maven is a build automation tool used primarily for Java projects. The word maven means ‘accumulator of knowledge’ in Yiddish. Maven addresses two aspects of building software: First, it describes how software is built, and second, it describes its...
Running Grails application and managing its dependencies with maven is quite easy. You just need to issue the following command for generating the pom.xml. And then you can manage your Grails application’s dependencies with maven: grails create-pom my.company...
Using Spring’s Java based configuration is fairly straightforward and more flexible. In order to do it, you will have to annotate your java class, that is going to contain your beans, with @Configuration and as we have added the component-scan in our one post...
Create a maven project with quick-start template, refer to this post in case you don’t know how to create one. Next, open the pom.xml and enter these spring dependencies which will be used by our sample app. <dependency>...
Recently, I was trying some media API and found the JDK 1.6 doesn’t play MP3 files out of the box. So, I searched a little and found JLayer that can play mp3 format, you only have to include its jar file. Other than JLayer there’s Java Media Framework...
Install maven on your system and run the following command: mvn archetype:generate -DgroupId=com.jft.prashant -DartifactId=MavenSample -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false This will generate the required directory structure with...
Recent Comments