Skip to content

About

A Maven plugin to manage development of SciJava-based software.

Resources

Stars

3 stars

Watchers

13 watching

Forks

 
 

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SciJava Maven Plugin

scijava-maven-plugin is a Maven plugin for managing SciJava-based software.

It provides one goal:

  • set-rootdir (as part of the validate phase of the life cycle): finds the project root directory of nested Maven projects and sets the rootdir property to point there. This goal is useful if you want to define the location of the ImageJ.app/ directory relative to the project root directory.

It is recommended to enable it automatically by making the SciJava POM the parent project:

<project ...>
  <parent>
    <groupId>org.scijava</groupId>
    <artifactId>pom-scijava</artifactId>
    <version>1.156</version>
  </parent>
  ...
</project>

Alternatively, you can include the plugin explicitly in the life cycle:

<plugins>
  <!-- Set the rootdir property to the root of the multi-module project -->
  <plugin>
    <groupId>org.scijava</groupId>
    <artifactId>scijava-maven-plugin</artifactId>
    <version>0.1.0</version>
    <executions>
      <execution>
        <id>set-rootdir</id>
        <phase>validate</phase>
        <goals>
          <goal>set-rootdir</goal>
        </goals>
      </execution>
    </executions>
  </plugin>
</plugins>

About

A Maven plugin to manage development of SciJava-based software.

Resources

Stars

3 stars

Watchers

13 watching

Forks

Releases

Packages

Used by

Contributors

Languages