Maven

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

It there a way to put pom.xml outside of project tree ?

 

As I understant I need override project.basedir, but how?

 

Is there a way to inject basedir from outside ?

mark 09/11/2009 - 13:43

I have several project. Some are depending on other and some are standalone. All projects are at  starteam.

Every week I'm running build only for the projects that changed from the latest build. and I'm increasing the artifacts versions.

The question is - how can I manage my projects versions without manually updating the pom files?

 

 - Today I'm checking out the pom files - update the project version, update the dependencies versions and create new artifacts with the correct build order.

keren 04/11/2009 - 18:01

Sonar enables you to collect, analyze and report metrics on source code.

Sonar not only offers consolidated reporting on and across projects throughout time, but it becomes the central place to manage code quality.

Sonar currently covers Java and PL/SQL languages. However, Sonar is highly extensible and can therefore embark plugins to cover new languages.

 

http://sonar.codehaus.org/

 

Very simple to install: http://docs.codehaus.org/display/SONAR/Install+Sonar

and use:

http://docs.codehaus.org/display/SONAR/Analyzing+Java+Projects

 

There is also Hudson plugin that makes it even simplier to run sonar on the build server: http://wiki.hudson-ci.org/display/HUDSON/Sonar+plugin

 

 

liya 14/10/2009 - 15:20

Maven 2.1 introduced new options to the command line that allow faster builds in some cases

 

ittayd 16/09/2009 - 10:29

Hey,

I need a maven plugin for C#

I found this one: http://doodleproject.sourceforge.net/mavenite/dotnet-maven-plugin/index....

but they have no release since 2007 !!??

So - I'm looking for a mature and stable plugin and need your advice / knowledge

10x,

keren 17/08/2009 - 14:37
Syndicate content