Closed ebaxt closed 13 years ago
deptools uses the maven dependency plugin internaly.
can you try this command in one of the projects that fail and send me both the generated deptree.txt file:
mvn dependency:tree -DoutputFile=deptree.txt -Dverbose=true
The problem is related to newlines on windows. I'll fix it right away and release 1.2
We tried version 1.1 today, and it failed on two different projects one using Maven2 and one with Maven3.
[ERROR] ' 'ava.lang.Exception: Error parsing first line: 'com.nordea.nlp.cic:CiC-UlmSyncService:war:1.4.2-SNAPSHOT at deptools.plugin.scala.parser.DepTreeOutputParser.parseFirstLine(DepTreeOutputParser.scala:82) at deptools.plugin.scala.parser.DepTreeOutputParser.parseLines(DepTreeOutputParser.scala:69) at deptools.plugin.scala.parser.DepTreeOutputParser.parse(DepTreeOutputParser.scala:56) at deptools.plugin.scala.ScalaMojo.execute(ScalaMojo.scala:75) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:314) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168) at org.apache.maven.cli.MavenCli.main(MavenCli.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) [ERROR]