Skip to content

Set some properties for other plugins to use. #65

@GregDomjan

Description

@GregDomjan

Add some properties about what NAR has compiled/unpacked.

Mostly those related to testing the current NAR outputs come to mind, there may of course be others.

nar.library.path>target/nar/aol/shared/lib;dependency/aol/shared/lib
nar.library.path.AOL>
nar.classpath>target/classes;target/artifact.jar

To run surefire as unit tests for example

<plugin> 
  <groupId>org.apache.maven.plugins</groupId> 
  <artifactId>maven-surefire-plugin</artifactId> 
  <configuration> 
    <forkMode>once</forkMode>
    ...
    <environmentVariables> 
      <PATH>${basedir}\..;${nar.library.path}</PATH> 
    </environmentVariables> 
.. or
    <argLine>-Djava.library.path=${nar.library.path}</argLine>
    ...
  </configuration> 
</plugin> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions