2
I have a project where I need to generate the jar and pom following the same method as the plugin Maven-install-plugin generates within the local repository, as in the return that is given when building the project:
--- maven-install-plugin:2.3.1:install (default-install) @ projeto-java ---
Installing C:\Users\matheus\Java\Projeto-Java\target\Projeto-java-1.2.3.jar to C:\Users\matheus\.m2\repository\br\com\xxx\java\projeto-java\1.2.3\projeto-java-1.2.3.jar
Installing C:\Users\matheus\Java\Projeto-Java\pom.xml to C:\Users\matheus\.m2\repository\br\com\xxx\java\projeto-java\1.2.3\projeto-java-1.2.3.pom
I need the files java-1.2.3.pom project and project-java-1.2.3.jar are placed in specific directory, how can I change the directory where the plugin puts or has another plugin that does this?
I was able to find a solution based on this link... http://stackoverflow.com/questions/39879358/generating-jar-and-pom-file-following-the-maven-repository-layout
– MathOliveira