Plugins - ngageoint/opensphere-desktop GitHub Wiki
Structure of a Plugin
myplugin/
|- .checkstyle <- checkstyle configuration used during builds
|- .classpath <- Eclipse project classpath
|- .project <- Eclipse project definition
|- pom.xml <- Maven build file
|- project-checkstyle-suppressions.xml <- PMD project-specific suppression configuration
|- src/ <- Folder in which all resources are stored
|- main/ <- Folder in which all non-test resources are stored
|- java/ <- Folder in which all non-test Java Source is stored
|- resources/ <- Folder in which all non-Java resources are stored
|- test/ <- Folder in which all test resources are stored
|- java/ <- Folder in which all test Java Source is stored
|- resources/ <- Folder in which all non-Java test resources are stored
Creating a new plugin project using Eclipse
- Create a pom.xml file in the root directory of the project.
- Put a pluginLoader.xml file in src/main/resources
- Write code
- Share the project to GIT
- Set svn:ignore property on the top level directory (trunk) to the following: 'bin', 'target', '.pmd'