So not only does Jenkins not look at your Maven repository - which, as I mentioned, is physically impossible for it to do anyway, it doesn't even look ar your project directory. Which is why Jenkins has a user account of its own, separate from your account or anyone else's. Or for that matter, any authorized requester, regardless of what computer they made that request from or what, if any Maven environment they have. Jenkins is a multi-user server that build things for you. It's not a program that you run to build things. Jenkins is also normally run as a distinct user, so Jenkins also has a maven environment directory. On a Unix or Linux machine, 5 different people could log in to the same machine, each with his/her/its own home directory and therefore his/her/its own local maven environment (including their own repository caches). But modern computer OS's allow for multiple concurrent users. >mvn install:install-file -Dfile=/.m2 directory. To mvn compile an Oracle JDBC program I put the JAR in my local repository :
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |