![]() ![]() There are only three main elements in that structure:Įver Maven artifact is grouped into a groupId, which is in itself very similar to Java package names and their organization on disk. The structure within that folder is rather simple and looks like this: However, the only one of interest regarding manual artifact installation is the repository folder. In there you will find one or more folders, depending on your Maven setup. The Maven repository Repository structureīy default, Maven will store all artifacts and associated files in your home directory under. This comes in handy if you have, for example, Maven integrated in your IDE and the mvn binary not available to yourself in the command line. However, this time I was thinking to go the extra mile and actually figure out a way of how to do it entirely manually. Usually this is easily accomplished via mvn install:install-file -Dfile= -DgroupId= -DartifactId= -Dversion= -Dpackaging=, see Guide to installing 3rd party JARs for more details on that. I find myself once again in the situation that I have to install the Oracle JDBC driver into my local Maven repository.
0 Comments
Leave a Reply. |