Hi, Can you show your pom and what's the result you're getting? I have just tested with a sample project and it looks fine:
<dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> <classifier>sources</classifier> </dependency> </dependencies> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>2.10</version> </plugin> </plugins> </pluginManagement> </build> Command line: mvn dependency:build-classpath -Dmdep.stripClassifier=true -Dmdep.prefix=foo Output: [INFO] Dependencies classpath: foo\junit-4.11.jar;foo\hamcrest-core-1.3.jar On Thu, Nov 3, 2016 at 10:49 AM, LEBOULANGER Aurélien < aurelien.leboulan...@3ds.com> wrote: > Hello, > > I’m trying to use the maven-dependency plugin (2.10) with the > build-classpath goal. > I want to strip the classifier but it’s not work: > > mvn dependency:build-classpath -Dmdep.stripClassifier=true > > I also add the option -Dmdep.prefix="foo" (needed regarding the > documentation) but it’s not works too. > > Thanks for your help, > > -- > Cordialement / Best regards, > Aurélien > > This email and any attachments are intended solely for the use of the > individual or entity to whom it is addressed and may be confidential and/or > privileged. > > If you are not one of the named recipients or have received this email in > error, > > (i) you should not read, disclose, or copy it, > > (ii) please notify sender of your receipt by reply email and delete this > email and all attachments, > > (iii) Dassault Systemes does not accept or assume any liability or > responsibility for any use of or reliance on this email. > > For other languages, go to http://www.3ds.com/terms/email-disclaimer >