user1772643
user1772643

Reputation: 645

not able to add json-lib dependency to pom

I am trying to add json-lib dependency to pom, but it is freaking out saying that

       'Missing artifact net.sf.json-lib:json-lib'

dependency:

       <dependency>
            <groupId>net.sf.json-lib</groupId>
            <artifactId>json-lib</artifactId>
            <version>2.4</version>
            <classifier>jdk15</classifier>
        </dependency>

repository:

    <repository>
        <id>java.net2</id>
        <name>Java.net</name>
        <url>http://repo1.maven.org/maven2</url>
    </repository>

Not sure what needs to added.

Upvotes: 1

Views: 1587

Answers (1)

user1772643
user1772643

Reputation: 645

never mind, found the issue.

I missed adding classifier' tag in child pom.

Upvotes: 0

Related Questions