I am building a framework and want to use it both as a standalone java application and as an eclipse plugin which exports all the packages in the java project.
The current way I do this is by having two projects (java + eclipse plugin), building the java project, copying the jar file, adding the file to the plugin's path and then (manually) exporting all the packages.
Is there a way to automate this process using maven?