Wondering if I can ask for help with getting Maven to build the .jar files. Following’ link above, we need to add 2x 3rd party jars to get emails up and running on the back end.
I added the jars in a lib file. Then told maven to install and updated the pom file (following https://stackoverflow.com/questions/396245/add-a-dependency-in-maven ). I still don’t see .class files for either though
How do I take a jar file that I have and add it to the dependency system in maven 2? I will be the maintainer of this dependency and my code needs this jar in the class path so that it will compile.
I committed to my repo the changes to the pom file (2 added dependencies) — https://github.com/fafnix/mainBuild/blob/master/pom.xml
Also, here are the install commands (also tried mvn clean install). I double checked the version number (head of the unzipped files — https://stackoverflow.com/questions/5834794/how-to-check-the-version-of-jar-file) and mvnrepository has the dependency format (https://mvnrepository.com/artifact/javax.activation/activation/1.0.2):
mvn install:install-file -Dfile=lib/mail.jar -DgroupId=javax.mail -DartifactId=mail -Dversion=1.4.3
mvn install:install-file -Dfile=lib/activation.jar -DgroupId=javax.activation -DartifactId=activation -Dversion=1.0.2 -Dpackaging=jar
mainBuild – The build which Heroku is running
I am currently working on a J2ME polish application, just enhancing it. I am finding difficulties to get the exact version of the jar file. Is there any way to find the version of the jar file for …
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more