Tags » Maven

gitignore Files... Are You Still Creating Them Manually?

Do you use Git? Do you create your .gitignore files manually?

If yes, here is an on-line tool that can make your life easier.

Julep Maven: April 2014 - The Vibrant Collection

I think this awful, awful winter has created an insatiable need for bright cheerful colors and this month  Julep won us over with their Vibrant Collection.   1,081 more words

Beauty Subscription

Maven JAR Plugin: Excluding Package(s) from JAR

Let’s assume we want to exclude com.choonchernlim.epicapp.scratch package when we create the JAR file.

Add the following in pom.xml:-

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-jar-plugin</artifactId>
    <version>2.4</version>
    <executions>
        <execution>
            <id>default-jar</id>
            <phase>package</phase>
            <goals>
                <goal>jar</goal>
            </goals>
            <configuration>
                <excludes>
                    <exclude>**/scratch/**</exclude>
                </excludes>
            </configuration>
        </execution>
    </executions>
</plugin>
… 11 more words
Maven

Maven and Java multi-version modules

Introduction

Usually, a project has a minimum Java version requirement and that applies to all of its modules. But every rule has its exceptions, as recently I stumbled on the following issue. 363 more words

Java

"Missing artifact jdk.tools:jdk.tools:jar:1.6"

While using maven, we may face an error like
“Missing artifact jdk.tools:jdk.tools:jar:1.6″

This problem can be fixed by adding the below lines to your pom.xml file. 60 more words

Java

- The project cannot be build until build path errors are resolved - in Eclipse

After creating Java project with Maven from the template and trying to build it in Eclipse I got two errors:
- The project cannot be build until build path errors are resolved. 133 more words

Java

Maven multi module example

This example shows a multi-module maven working example. To show a working application, I have created a parent project containing 2 child (module) projects. One of the child project is a spring mvc rest based webapp and the other is a java project containing the service & model. 1,391 more words

Java