I am writing a plugin for a Java-based programming language. I have a Jar file that contains the code and have no problems setting up the plugin so that i can compile against that code.
the problem i have comes when i use the plugin to write programs. i want to add the JAR that I am using with my plugin as a library that is associated with a custom (Java-based) project.
Currently, the way that I am doing this is to include the Jar in the plugin codebase, and then to copy the jar into the project structure when i create a new project. The downside of this is that you have to manually update all your projects when I release a new version of the plugin (i.e. copy a new Jar into each project).
What i really want to happen is for the Jar file to be wrapped in a library so that, when the library is updated, all the projects are automatically updated.
Can somebody give me some guidance on how to do this properly as I have been searching the web for the last couple of weeks and haven't been able to find anything on this (this is probably due to my lacking terminology as I only recently switched from using Netbeans for this).