Skip to content

Latest commit

 

History

History
executable file
·
84 lines (61 loc) · 2.26 KB

File metadata and controls

executable file
·
84 lines (61 loc) · 2.26 KB

Netgrif Application Engine Plugin Maven Plugin

Maven plugin for building plugins for Netgrif Platform.

Requirements

  • Java 21 (JDK 21) to build and run
  • Apache Maven (any current stable version should work)

Goals

  • generate-plugin-registration - generating plugin registration class

Usage

<plugin>
    <groupId>com.netgrif</groupId>
    <artifactId>nae-plugin-maven-plugin</artifactId>
    <version>1.0.3</version>
    <configuration>
        <registrationName>examplePlugin</registrationName>
        <apiVersion>1.0.0</apiVersion>
        <componentScanBasePackage>org.example</componentScanBasePackage>
    </configuration>
    <executions>
        <execution>
            <id>generate-plugin-registration</id>
            <goals>
                <goal>generate-plugin-registration</goal>
            </goals>
        </execution>
    </executions>
</plugin>

Invoke a goal

You can run any goal directly with its fully qualified name:

mvn com.netgrif:nae-plugin-maven-plugin:1.0.3:generate-plugin-registration

Building from source

# Clone
git clone https://github.com/netgrif/nae-plugin-maven-plugin.git
cd nae-plugin-maven-plugin

# Build
mvn -U -DskipTests clean install

Prerequisites:

  • JDK 21 available on PATH (JAVA_HOME set to your JDK 21)
  • Maven installed

Contributing

Contributions are welcome!

License

Licensed under the Apache License, Version 2.0.