Project mavenization

Hi all,

I have Mavenized my project in order to correctly depend from ImageJ and from Omero, and I’m totally new to Maven.
As you can see in my repository here:, I have 4 different subproject and I created a pom file for each of them.
During this process I accumulated some questions:

  1. What is the correct way to build my application? At the moment I’m using “clean package install” in the maven configuration, is it the best way?
  2. Trying to compile the projects that inherit from the imagej pom, I encountered the “Banned class duplicate” error several time. So I had to introduce exclusion in my dependencies.
    I would assume this would break some functionalities. I would like to know if there is a better way to solve this, or if I’m doing something wrong.
    The specific pom where I had to insert exclusions are:
  3. When I compile the omega.omero.ij.testConvert project (pom:, I receive several warning/failure notification for org.springframework dependencies (example here:
    Is this normal?

Thanks for you help

1 Like