-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i have my project jar on my server and using this plugin i am try to install jar on m2 folder but it was not worked. can you please guide me for that #2
Comments
Hello and thanks to using my software. My program was primary intendet to work for me two years ago to solve a little problem with maven. But i am happy to hear that other people use it. So i will be spend any prime time to this project again. (I have it not used for a long time) Please give me more hints about your usage, such as:
Maybe a simple workaround is helping for a know bug?
Very thanks for your feedback Thomas |
Thank you sir for replay,
and its not download my jar. |
Hello, ok i have tried my plugin - it works but my documentation is confusion.
I have overthink my old solution and i think the best way at the moment is the following way:
<profiles>
<!-- profile for download dependencies via jar-install-plugin -->
<profile>
<id>prepareProject</id>
<build>
<plugins>
<plugin>
<groupId>com.github.funthomas424242</groupId>
<artifactId>jar-install-plugin</artifactId>
<version>0.0.3</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>install</goal>
</goals>
<configuration>
<!-- Specify the MyMojo parameter -->
<downloads>
<downloadArtifact>
<url>http://206.189.208.236:3000/files/MarriottMoment_0.0.1.jar</url>
<groupId>Tesbo</groupId>
<artifactId>tesbo</artifactId>
<version>0.0.1</version>
</downloadArtifact>
</downloads>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bintray-funthomas424242-funthomas424242-maven-plugins</id>
<name>bintray</name>
<url>https://dl.bintray.com/funthomas424242/funthomas424242-maven-plugins</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bintray-funthomas424242-funthomas424242-maven-plugins</id>
<name>bintray-plugins</name>
<url>https://dl.bintray.com/funthomas424242/funthomas424242-maven-plugins</url>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles> Then you can build your project with: mvn -P prepareProject clean validate
mvn clean install |
Was the solution for you usefull? |
The text was updated successfully, but these errors were encountered: