maven 本地依赖导入
Last updated on January 17, 2025 am
🧙 Questions
如何导入下载的依赖
☄️Ideas
com.oracle.database.jdbc:ojdbc8:jar:19.7.0.0
wget https://repo1.maven.org/maven2/com/oracle/database/jdbc/ojdbc8/19.7.0.0/ojdbc8-19.7.0.0.jar
mvn install:install-file -DgroupId=com.oracle.database.jdbc -DartifactId=ojdbc8 -Dversion=19.7.0.0 -Dpackaging=jar -Dfile=ojdbc8-19.7.0.0.jar
<dependency>
<groupId>com.cloudera.api</groupId>
<artifactId>cloudera-manager-api</artifactId>
<version>6.2.0</version>
</dependency>
wget https://repository.cloudera.com/artifactory/cloudera-repos/com/cloudera/api/cloudera-manager-api/6.2.0/cloudera-manager-api-6.2.0.jar
# mvn install:install-file -DgroupId=com.cloudera.api -DartifactId=cloudera-manager-api -Dversion=6.2.0 -Dpackaging=jar -Dfile=C:\Users\ispon\Desktop\cloudera-manager-api-6.2.0.jar
# mvn install:install-file -DgroupId=com.isxcode.acorn -DartifactId=acorn-common -Dversion=0.12.8 -Dpackaging=jar -Dfile=./spring-oxygen-core-0.12.8.jar
mvn install:install-file -DgroupId=${groupId} -DartifactId=${query-mongodb} -Dversion=${version} -Dpackaging=jar -Dfile=${jarFile}
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
<configuration>
<archive>
<manifest>
<mainClass>com.isxcode.demo3.SparkDemo</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
🔗 Links
maven 本地依赖导入
https://ispong.isxcode.com/spring/maven/maven 本地依赖导入/