maven: how to build the dependency from source.jar to jar files and put the jar file as it dependency?

user504909

For maven 3, I need to use the

    <dependency>
        <groupId>javax.sql</groupId>
        <artifactId>jdbc-stdext</artifactId>
        <version>2.0</version>
    </dependency>

as the one of my dependency, but I only can find the source jar form maven central:

https://repo.maven.apache.org/maven2/javax/sql/jdbc-stdext/2.0/

how to compile it as normal jar in maven with maven plugins and make it work as one of dependency?

Rocherlee

I think you can add another Maven repository to your Pom.xml and get jdbc-stdext-2.0.jar http://repo.jfrog.org/artifactory/libs-releases/javax/sql/jdbc-stdext/2.0/

<repository>
    <id>jfrog-libs</id>
    <name>jfrog-libs</name>
    <url>http://repo.jfrog.org/artifactory/libs-releases</url>
    <snapshots>
        <enabled>false</enabled>
    </snapshots>
</repository>

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

How to find the usage of a jar imported by maven dependency?

From Java

How to add local jar to fat jar as a dependency using maven?

From Java

Maven dependency to jar in Nexus

From Java

Is there a way to create maven dependency in pom file from a local jar

From Java

How to maintain project and dependency jar versions for Gradle build in property file?

From Java

How to add local .jar file dependency to build.gradle file?

From Java

How to tell Maven to include the jar dependency, not the subproject source directory in Eclipse?

From Java

maven-dependency-plugin generates duplicate files in jar-with-dependencies.jar file

From Java

Build JAR with a dependency from the custom repository

From Java

maven dependency - which dependency is using unwanted jar?

From Java

How to download maven dependency as *.jar file?

From Java

How to add a dependency into a jar file in java

From Java

How to get path to dependency jar with maven

From Java

<Maven>How to add class files as dependency (not jar) in maven project?

From Dev

How to get the file path location of a .jar dependency?

From Dev

How to use maven assembly plugin to exclude a package from dependency jar?

From Dev

How to add dependency to maven project? (How to find out GroupID / ArtifactID from external jar file)

From Dev

maven dependency jar file displayed as folder icon

From Dev

Maven does not fetch dependency jar

From Dev

How to include runtime dependency in jar generated from gradle jar task

From Dev

how to add jar dependency in maven?

From Dev

Use Jar as intelliJ/Maven Dependency

From Dev

How to include resource file into osgi bundle from jar dependency with bnd/maven-bundle-plugin?

From Dev

jar file that contains a class from its dependency

From Dev

Maven Jar dependency is not coming automatically

From Dev

How to modify a file contained in a JAR that is a dependency in IntelliJ

From Dev

Building a jar file from a gradle dependency

From Dev

Maven not finding dependency with only jar file

From Dev

How to exclude a dependency from built JAR in Gradle?

Related Related

  1. 1

    How to find the usage of a jar imported by maven dependency?

  2. 2

    How to add local jar to fat jar as a dependency using maven?

  3. 3

    Maven dependency to jar in Nexus

  4. 4

    Is there a way to create maven dependency in pom file from a local jar

  5. 5

    How to maintain project and dependency jar versions for Gradle build in property file?

  6. 6

    How to add local .jar file dependency to build.gradle file?

  7. 7

    How to tell Maven to include the jar dependency, not the subproject source directory in Eclipse?

  8. 8

    maven-dependency-plugin generates duplicate files in jar-with-dependencies.jar file

  9. 9

    Build JAR with a dependency from the custom repository

  10. 10

    maven dependency - which dependency is using unwanted jar?

  11. 11

    How to download maven dependency as *.jar file?

  12. 12

    How to add a dependency into a jar file in java

  13. 13

    How to get path to dependency jar with maven

  14. 14

    <Maven>How to add class files as dependency (not jar) in maven project?

  15. 15

    How to get the file path location of a .jar dependency?

  16. 16

    How to use maven assembly plugin to exclude a package from dependency jar?

  17. 17

    How to add dependency to maven project? (How to find out GroupID / ArtifactID from external jar file)

  18. 18

    maven dependency jar file displayed as folder icon

  19. 19

    Maven does not fetch dependency jar

  20. 20

    How to include runtime dependency in jar generated from gradle jar task

  21. 21

    how to add jar dependency in maven?

  22. 22

    Use Jar as intelliJ/Maven Dependency

  23. 23

    How to include resource file into osgi bundle from jar dependency with bnd/maven-bundle-plugin?

  24. 24

    jar file that contains a class from its dependency

  25. 25

    Maven Jar dependency is not coming automatically

  26. 26

    How to modify a file contained in a JAR that is a dependency in IntelliJ

  27. 27

    Building a jar file from a gradle dependency

  28. 28

    Maven not finding dependency with only jar file

  29. 29

    How to exclude a dependency from built JAR in Gradle?

HotTag

Archive