Maven

I am looking for a solution which will list Memory consumption per maven module during execution.

Very similar to the one presented at the end of the build

 

for exmaple:

[INFO]------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Sun Feb 27 01:24:35 IST 2011
[INFO] Final Memory: 37M/64M
[INFO]------------------------------------------------------------------------

 

hagzag 27/02/2011 - 16:56

What a great way to conclude 2010 - maven 3 Job support in Hudson.

I know what I am going to do today ... :)

 

 

 

 

Release announcment on hudson-ci.org:

hagzag 04/01/2011 - 09:18

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.

Without further ado, I shall describe the files involved in the project which was fully build using the one and only Intellij IDEA.

Folder structure is as follows:

|-tikalk-installer
 |---src
 |-----main
 |-------antlib
 |-------installer
 |-------lib

The directory structure was generated using the folowing linux command:

shlomo 26/10/2010 - 11:35

I'd like to generate a classpath file from pom.xml dependencies. I need it so during tests I have the classpath of all dependencies (that are later packaged into a bundle)

maven-dependency-plugin does not suit me for two reasons:

  • it generates paths to files in the repository, so to use other modules they first need to run install phase for them (I'd like to have paths like /some/root/othermodule/target/classes)
  • it doesn't include the artifact's own path (target/classes), which means I need to add it later in code, which is awkward

So I'm looking for another plugin (or how to properly run maven-dependency-plugin)

ittayd 17/10/2010 - 13:38

JBoss, Selenium, Maven, Hudson, M2 Extra Steps & Files Found Trigger plugins - how do all these work together in a continuous build + Integration test life-cycle ?

 

The Story - The Use Case:

We have two projects with two war artifacts which need to be deployed to a JBoss Application Server, whilst both webapps share a common base configuration, although the release life-cycle of each war have no correlation to the other.

In production both application servers are running & serving one another thus, Integration test should cover both JBoss instances & test their web services.

hagzag 12/09/2010 - 23:10

10 Sure Signs You Are Doing Maven Wrong

 

http://www.cubeia.com/index.php/blog/archives/41

 

mark 08/04/2010 - 14:58

Nexus Open Source 1.5.0 released.

Read Sonatype's official blog @: http://www.sonatype.com/people/2010/01/announcing-nexus-1-5-0-ldap-archi...

hagzag 01/02/2010 - 00:38

Hi,

 

I faced a problem using using AspectJ compiler Maven Plugin.  After hours of googling I didn't manage to make it work for my aspects, however my AJDT eclipse pluging compiles and works with aspects perfectly.

 

While running maven i get such warning:

[WARNING] advice defined in test.package.MyTest$TestAspects has not been applied [Xlint:adviceDidNotMatch]

 

pom.xml:

michael.yavorovsky 13/12/2009 - 10:02

Background:

In one of my previous projects I was asked to setup the environment / automate integration tests (Referred to as Itest from now on) which required a machine with 2 CPU's & 5 GB RAM, this means that in any case a developer wishing to run Itests will never be able to run them locally, and will have to use some existing server.

 

The problem with my previous statement is that the developer, whilst checking his tests will be busy most of the time preparing his Itest environment, rather then checking the integrity of his tests, need I say that the fact we need 2 CPU's & 5GB RAM means the server takes time to load and only once it is up you can start testing.

 

hagzag 06/12/2009 - 06:39

Maven 3 will have extensive support for Groovy:

  • It will be possible for the pom file itself to be written in Groovy. This means the pom can be created with dynamic code.
  • Executing Groovy code directly at different lifecycle points
  • Short syntax for defining dependencies

 

The pom files will be translated to XML, so tool support (IDE integration) will continue to work.

 

Read more:

http://www.wakaleo.com/blog/236-writing-your-pom-files-in-groovy-a-sneek...

http://www.wakaleo.com/blog/237-more-groovy-magic-with-maven-pom-files

ittayd 22/11/2009 - 18:05
Syndicate content