You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Pram <pr...@yahoo.com> on 2013/01/16 10:03:41 UTC
Maven (3.0.4) dependency plugin difference in ordering between build-classpath and tree
Hi,
I posted a question on Stackoverflow yesterday (http://stackoverflow.com/questions/14336801/maven-dependency-plugin-difference-in-ordering-between-build-classpath-and-tree) and it was recommended that I ask it again on the user mailing list.
Essentially I'm seeing a difference in the ordering of the output of tree and build-classpath.
Output from tree http://pastebin.com/J2Q6iTK6
Output from build-classpath http://pastebin.com/k2SdrHP7
Can anyone provide any insight into why this may be happening?
thanks
Pram
Additional info
Running this command to generate tree
mvn -pl releases org.apache.maven.plugins:maven-dependency-plugin:2.6:tree -Dtokens=whitespace -outputFile=tree.txt -DexcludeTransitive=true
Maven config for build-classpath
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<id>generate-classpath-windows</id>
<phase>generate-resources</phase>
<goals>
<goal>build-classpath</goal>
</goals>
<configuration>
<pathSeparator>,</pathSeparator>
<prefix>..\jars</prefix>
<fileSeparator>\</fileSeparator>
<outputFile>${project.build.directory}/deployment/bin/classpath.windows</outputFile>
</configuration>
</execution>
<execution>
<id>generate-classpath-unix</id>
<phase>generate-sources</phase>
<goals>
<goal>build-classpath</goal>
</goals>
<configuration>
<pathSeparator>:</pathSeparator>
<prefix>../jars</prefix>
<fileSeparator>/</fileSeparator>
<outputFile>${project.build.directory}/deployment/bin/classpath.unix</outputFile>
</configuration>
</execution>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/deployment/jars</outputDirectory>
</configuration>
</execution>
</executions>
<configuration>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
<excludeTransitive>true</excludeTransitive>
<includeScope>runtime</includeScope>
<regenerateFile>true</regenerateFile>
</configuration>
</plugin>
Version info
Info
Apache Maven 3.0.4 (r1232337; 2012-01-17 08:44:56+0000)
Maven home: C:\apps\apache-maven-3.0.4
Java version: 1.6.0_37, vendor: Sun Microsystems Inc.
Java home: C:\Program Files\Java\jdk1.6.0_37\jre
Default locale: en_GB, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Maven (3.0.4) dependency plugin difference in ordering between
build-classpath and tree
Posted by Anders Lindgren <an...@cinnober.com>.
Thanks Anders,
I had forgotten to retest my issue when the new releases came.
My ticket is now closed.
/Anders
On Thu, 2013-01-17 at 09:47 +0100, Anders Hammar wrote:
> I just tested the test project attached to the jira ticket and can't
> reproduce. Please follow up in that ticket!
>
> /Anders
>
>
> On Thu, Jan 17, 2013 at 9:09 AM, Anders Lindgren <
> anders.lindgren@cinnober.com> wrote:
>
> > Hi,
> >
> > I reported this almost a year ago
> > http://jira.codehaus.org/browse/MDEP-342
> >
> > I don't know what's is going wrong or why, please comment on the jira if
> > you have more info to provide.
> >
> > /Anders
> >
> >
> > On Wed, 2013-01-16 at 10:03 +0100, Pram wrote:
> >
> > > Hi,
> > >
> > > I posted a question on Stackoverflow yesterday (
> > http://stackoverflow.com/questions/14336801/maven-dependency-plugin-difference-in-ordering-between-build-classpath-and-tree)
> > and it was recommended that I ask it again on the user mailing list.
> > >
> > > Essentially I'm seeing a difference in the ordering of the output of
> > tree and build-classpath.
> > >
> > > Output from tree http://pastebin.com/J2Q6iTK6
> > > Output from build-classpath http://pastebin.com/k2SdrHP7
> > >
> > > Can anyone provide any insight into why this may be happening?
> > >
> > > thanks
> > >
> > > Pram
> > >
> >
> >
> >
Re: Maven (3.0.4) dependency plugin difference in ordering between
build-classpath and tree
Posted by Anders Hammar <an...@hammar.net>.
I just tested the test project attached to the jira ticket and can't
reproduce. Please follow up in that ticket!
/Anders
On Thu, Jan 17, 2013 at 9:09 AM, Anders Lindgren <
anders.lindgren@cinnober.com> wrote:
> Hi,
>
> I reported this almost a year ago
> http://jira.codehaus.org/browse/MDEP-342
>
> I don't know what's is going wrong or why, please comment on the jira if
> you have more info to provide.
>
> /Anders
>
>
> On Wed, 2013-01-16 at 10:03 +0100, Pram wrote:
>
> > Hi,
> >
> > I posted a question on Stackoverflow yesterday (
> http://stackoverflow.com/questions/14336801/maven-dependency-plugin-difference-in-ordering-between-build-classpath-and-tree)
> and it was recommended that I ask it again on the user mailing list.
> >
> > Essentially I'm seeing a difference in the ordering of the output of
> tree and build-classpath.
> >
> > Output from tree http://pastebin.com/J2Q6iTK6
> > Output from build-classpath http://pastebin.com/k2SdrHP7
> >
> > Can anyone provide any insight into why this may be happening?
> >
> > thanks
> >
> > Pram
> >
>
>
>
Re: Maven (3.0.4) dependency plugin difference in ordering between
build-classpath and tree
Posted by Anders Lindgren <an...@cinnober.com>.
Hi,
I reported this almost a year ago
http://jira.codehaus.org/browse/MDEP-342
I don't know what's is going wrong or why, please comment on the jira if
you have more info to provide.
/Anders
On Wed, 2013-01-16 at 10:03 +0100, Pram wrote:
> Hi,
>
> I posted a question on Stackoverflow yesterday (http://stackoverflow.com/questions/14336801/maven-dependency-plugin-difference-in-ordering-between-build-classpath-and-tree) and it was recommended that I ask it again on the user mailing list.
>
> Essentially I'm seeing a difference in the ordering of the output of tree and build-classpath.
>
> Output from tree http://pastebin.com/J2Q6iTK6
> Output from build-classpath http://pastebin.com/k2SdrHP7
>
> Can anyone provide any insight into why this may be happening?
>
> thanks
>
> Pram
>