by yorammi
border:

More than a decade ago, when I was first been introduced with Maven, I had one big issue with its concept: along side with all its benefits (and there are many as such), I didn't like the idea that for each version of my product I need to set the version of it inside the pom.xml file and save the file (with the version text inside it) as part of my code.
This concept were against any understanding I have about versioning methodologies and it caused me to actually dislike Maven. Maven 3.2.1 introduced, for the first time, a small feature that turn all the written above upside-down.

border:

One of the very nice feature of linux is the option for auto complete on the command line. Yes windows has the power shell, but it is not the same as linux.
For those in windows and want a linux shell you can install Cygwin (http://www.cygwin.com/).

border:

Create a Java CLI application with Maven

Creating a CLI application is part of our daily routine. In java it is strait forward; all you need to do is to add a class with the main function:

public static void main(String[] args) {

}

This is nice for debugging from eclipse, but if you need to release this jar with the cli working, you will face the following issues:

by yorammi
border:

Problem description:

We have a Jenkins job that runs a maven build that activates certain maven-profiles (maven Goals and options in my case: clean install -U -P all,runtime). The same job activates Sonar plugin as a post-build action. Running the Sonar on the job without pointing to a certain maven profiles assumes that there aren't any instead of passing the same profiles to the Sonar plugin.

 

by liya
tags:
border:

While building with maven we often need to perform different kind of actions that were very simple with an old uncle Ant, but can become messy and complicated with Maven: copy files, directories, dependencies, filtering text, creating your "runtime' environment, and new tasks like attaching additional artifacts and etc.

by liorb
tags:
border:

I upload the following jar into Nexus using GAV parameters:

google-api-client-1.6.0-beta.jar

GAV:
Group:com.google.api-client
Artifact:google-api-client
Version:1.6.0-beta

Once i'm done, this is waht i have in the repository:

by liorb
border:

 

In Recent years Flex has become the ideal client solution for Java server based projects. Flex compliments Java in many ways and has many similarities to Java. These include, the syntax, the OOP approach and many other features of the two languages that are similar.

In this tutorial, I will demonstrate one aspect of the Flex Java integration by covering the earliest stage of the development process, which is the build and infrastructure creation. In future posts I will cover later stages of the development.

 

border:

The information about the combination of these two goodies is to say the least scarce. I decided to create a minimal small POC project which

Full credit to Ittai who helped me out with this post.

1-Has a self contained Maven POM, which works out of the box without any major modifications.
2-Explicitly invokes AntInstaller via a configuration file while utilizing an antinstaller properties file
3-Is easy to understand and expand.

by ittayd
tags:
border:
by liya
border:

Have been wondering how to build your application that have both Java and Scala sources with Maven?

Here you can find a tutorial from http://mackaz.de:

Build a mixed Scala 2.8/Java application and Eclipse Settings for this project