Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

WORK IN PROGRESS

Create the Project

Create a source code repository for a new connector. We strongly prefer if you use Github to maintain connector source code, but any reasonable way will do. E.g. connectors maintained under the Polygon project are maintained in the Evolveum area on Github. The naming convention that we use is connector-targetsystem.

Choose a license. We recommend to use Apache 2.0 license. But any reasonable license will do.

Choose a maven group ID and artifact ID.

  • Group IDs are usually based on Java package names which are in turn usually based on DNS names, We use com.evolveum.polygon. But you are free to use your own.
  • Artifact IDs are short component names. We use the same name as name of the repository, e.g. connector-gitlab.

Use our Maven archetype to create an empty project structure.

  • Get the archetype code and install it:
git clone https://github.com/Evolveum/polygon.git
cd polygon/basic-connector-archetype
mvn clean install
  • Generate your project structure:
cd your-project-folder
mvn archetype:generate -DarchetypeGroupId=com.evolveum.polygon -DarchetypeArtifactId=basic-connector-archetype -DarchetypeVersion=1.0-SNAPSHOT -DgroupId=your.group.id -DartifactId=your-artifact-id

 

 

  • No labels