I just hit the "classifier"

So, trying to mavenize our large java-based projects.  I found a jar that I needed to add to our project that had a different structure as I was familiar with.

Here was the jar

http://mirrors.ibiblio.org/pub/mirrors/maven2/org/springframework/ws/spr...

 

I userstood the groupId and the artifact, but what is the version?  Do I use 1.5.8 or 1.5.8-all?

Neither one would work.  Enter the "classifier"  Here's how the final pom addition came out:

        <dependency>
            <groupId>org.springframework.ws</groupId>
            <artifactId>spring-ws</artifactId>
            <version>1.5.8</version>
               <classifier>all</classifier>
        </dependency>


 

Comments

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options