Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Blocker
-
Resolution: Unresolved
-
Affects Version/s: 3.0.3
-
Fix Version/s: None
-
Component/s: General
-
Labels:None
-
Environment:Windows Vista 32 Bit, apache maven 3.0.3, java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode, sharing)
-
Complexity:Intermediate
-
Number of attachments :5
Description
When I launch mvn dependency:tree i found logback-core, when I build War the lib isn't include.
-
- build-MAVEN-3.0.3.log
- 27/Jul/11 5:08 AM
- 313 kB
- luca preziati
-
- build-MAVEN-3.0-SNAPSHOT
- 27/Jul/11 5:14 AM
- 408 kB
- luca preziati
-
- Lib dir.txt
- 25/Jul/11 10:04 AM
- 12 kB
- luca preziati
-
- list.txt
- 27/Jul/11 2:48 AM
- 6 kB
- luca preziati
-
- tree.TXT
- 27/Jul/11 2:49 AM
- 7 kB
- luca preziati
Activity
Build from eclipse, with Embedded Maven 3.0-SNAPSHOT works well...
List of dependencies files:
25/07/2011 17.26 <DIR> .
25/07/2011 17.26 <DIR> ..
23/09/2010 11.56 69.409 activation-1.1.1.jar
15/10/2010 16.24 443.432 antlr-2.7.6.jar
23/09/2010 11.53 4.467 aopalliance-1.0.jar
19/11/2010 18.17 345.048 apache-mime4j-0.6.jar
08/01/2011 22.39 116.226 aspectjrt-1.6.10.jar
05/07/2011 15.17 610.790 c3p0-0.9.1.2.jar
23/09/2010 11.52 56.660 castor-core-1.3.1.jar
23/09/2010 11.52 800.767 castor-xml-1.3.1.jar
24/01/2011 16.27 232.019 commons-beanutils-1.8.3.jar
13/10/2010 11.20 58.160 commons-codec-1.4.jar
28/09/2010 17.05 575.389 commons-collections-3.2.1.jar
01/10/2010 09.48 160.519 commons-dbcp-1.4.jar
03/02/2011 12.57 159.509 commons-io-2.0.1.jar
03/02/2011 12.42 284.220 commons-lang-2.6.jar
23/09/2010 11.51 60.686 commons-logging-1.1.1.jar
20/12/2010 14.07 96.221 commons-pool-1.5.4.jar
23/09/2010 11.58 313.898 dom4j-1.6.1.jar
23/09/2010 11.52 205.734 dozer-5.2.2.jar
15/04/2011 16.07 650.466 ehcache-core-2.2.0.jar
15/04/2011 16.06 123.994 ehcache-spring-annotations-1.1.3.jar
11/11/2010 11.03 142.626 emc-bpm-services-remote-6.6.jar
11/11/2010 11.03 22.887 emc-ci-services-remote-6.6.jar
11/11/2010 11.03 29.464 emc-collaboration-services-remote-6.6.ja
11/11/2010 11.03 907.807 emc-dfs-rt-remote-6.6.jar
11/11/2010 11.03 171.206 emc-dfs-services-remote-6.6.jar
11/11/2010 11.04 28.552 emc-search-services-remote-6.6.jar
14/04/2011 11.57 83.423 envelope-client-1.2.1.jar
23/09/2010 11.56 291.834 FastInfoset-1.2.7.jar
07/07/2011 12.44 23.310 foundation-ext-pec-core-0.4.0-SNAPSHOT.j
21/07/2011 10.04 9.942 gedi-commons-context-2.2.0-SNAPSHOT.jar
21/07/2011 10.04 54.768 gedi-commons-model-2.2.0-SNAPSHOT.jar
21/07/2011 10.04 12.895 gedi-commons-utils-2.2.0-SNAPSHOT.jar
21/07/2011 17.12 55.192 gedi-foundation-api-1.1.0-SNAPSHOT.jar
21/07/2011 17.13 412.400 gedi-foundation-core-1.1.0-SNAPSHOT.jar
21/07/2011 10.02 95.847 gedi-platform-core-2.2.0-SNAPSHOT.jar
25/07/2011 16.54 161.607 gfs-adapters-3.1.0-SNAPSHOT.jar
25/07/2011 16.54 29.178 gfs-adapters-api-3.1.0-SNAPSHOT.jar
18/10/2010 12.54 283.436 hessian-3.2.0.jar
08/01/2011 20.12 71.283 hibernate-commons-annotations-3.2.0.Fina
r
04/05/2011 17.41 3.111.916 hibernate-core-3.6.3.Final.jar
08/01/2011 20.12 100.884 hibernate-jpa-2.0-api-1.0.0.Final.jar
19/11/2010 18.14 291.037 httpclient-4.0.1.jar
04/10/2010 14.42 172.888 httpcore-4.0.1.jar
19/11/2010 18.17 25.443 httpmime-4.0.1.jar
05/07/2011 16.22 228.835 int-core-0.4.0-SNAPSHOT.jar
03/02/2011 12.56 207.271 jackson-core-asl-1.7.1.jar
03/02/2011 12.57 622.174 jackson-mapper-asl-1.7.1.jar
17/12/2010 12.41 597.476 javassist-3.9.0.GA.jar
23/09/2010 11.56 89.967 jaxb-api-2.1.jar
23/09/2010 11.56 849.219 jaxb-impl-2.1.4.jar
23/09/2010 11.56 980.264 jaxb1-impl-2.2.jar
23/09/2010 11.56 33.428 jaxws-api-2.1.jar
23/09/2010 11.56 1.284.131 jaxws-rt-2.1.4.jar
23/09/2010 11.34 17.308 jcl-over-slf4j-1.6.1.jar
23/09/2010 11.52 153.115 jdom-1.1.jar
23/09/2010 11.56 7.989 jsr181-api-1.0-MR1.jar
23/09/2010 11.56 5.848 jsr250-api-1.0.jar
17/12/2010 12.41 15.071 jta-1.1.jar
23/09/2010 11.56 367.444 log4j-1.2.14.jar
03/02/2011 12.42 244.115 logback-classic-0.9.28.jar
03/02/2011 12.42 312.931 logback-core-0.9.28.jar
14/03/2011 11.38 447.676 mail-1.4.1.jar
23/09/2010 11.56 38.683 mimepull-1.3.jar
14/04/2011 10.51 11.382 nacon-commons-utils-1.1.0.jar
05/10/2010 16.53 1.352.918 ojdbc-14.jar
23/09/2010 11.56 68.177 resolver-20050927.jar
23/09/2010 11.56 18.817 saaj-api-1.3.jar
14/03/2011 11.59 274.208 saaj-impl-1.3.jar
11/11/2010 11.04 331.011 sjsxp-1.0-DCTM.jar
23/09/2010 11.34 25.496 slf4j-api-1.6.1.jar
18/10/2010 09.38 321.005 spring-aop-3.0.4.RELEASE.jar
14/10/2010 09.18 53.082 spring-asm-3.0.4.RELEASE.jar
18/10/2010 09.38 555.574 spring-beans-3.0.4.RELEASE.jar
18/10/2010 09.38 665.772 spring-context-3.0.4.RELEASE.jar
28/09/2010 16.13 100.860 spring-context-support-3.0.4.RELEASE.jar
18/10/2010 09.38 367.170 spring-core-3.0.4.RELEASE.jar
14/10/2010 09.18 166.848 spring-expression-3.0.4.RELEASE.jar
04/11/2010 11.49 379.786 spring-jdbc-3.0.4.RELEASE.jar
17/12/2010 12.41 334.219 spring-orm-3.0.4.RELEASE.jar
18/10/2010 09.38 60.821 spring-oxm-3.0.4.RELEASE.jar
04/11/2010 11.49 231.900 spring-tx-3.0.4.RELEASE.jar
06/10/2010 16.27 394.421 spring-web-3.0.4.RELEASE.jar
14/10/2010 09.18 416.967 spring-webmvc-3.0.4.RELEASE.jar
23/09/2010 11.57 21.155 spring-xml-1.2.1.jar
14/04/2011 10.29 32.042 springintegration-utils-1.3.0.jar
23/09/2010 11.56 11.074 stax-ex-1.2.jar
23/09/2010 11.56 57.984 streambuffer-0.7.jar
15/07/2011 09.36 22.341 typeregistry-api-1.1.1-SNAPSHOT.jar
18/07/2011 11.41 24.939 typeregistry-dao-1.1.1-SNAPSHOT.jar
20/07/2011 15.54 16.930 typeregistry-xml-1.1.1-SNAPSHOT.jar
23/09/2010 11.56 2.694.049 xmlbeans-2.4.0.jar
This needs more information to be analyzed, like an example project. As a mininum, the debug log with the real dependency tree is needed, the output from dependency:tree is not always accurate.
You might also check the scope assigned to logback-core - if it is test or provided, it won't be included.
Logback-core is dependency of logback-classic. And logback-classic is dependency of parent project.
Logback-classic have this pom:
...
<dependencies>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<scope>compile</scope>
</dependency>
....
I dependency:tree is what I need in my project. The dependency:list is whitout logback-core and javassist
How can I export a log debug?
Thanks in advance. I don't know if I can give you a copy of the project. Of the pom surely.
mvn goal -X > debug.log, I would also like to point out the introduction page to this issue tracking project which provides this information.
This is the log file of the build outside eclipse, from Shell with maven 3.0.3. I have some collegues with Mac Os and same version of maven and they don't have this problem. Anotehr one with Windows Seven 64 bit have same problem.
build made from eclipse, Helios SR2, plugin maven 0.10.0.20100209-0800.
Even with the debug log from Maven 3.0.3 I don't see any obvious hint to start troubleshooting. You can try replacing all aether-*-1.11.jar in your <maven-home>/lib directory with their version 1.12 counterparts (as found in central) and see whether this solves the issue. That still failing, we would either need a standalone POM to reproduce the issue or find ways to improve the debug logging for the resolution process.
I have just tried. Seem work. I think is a problem related to the Windows OS because in MAC, with the same version 1.11 all works. Tomorrow all windows collagues path maven lib and I will retry all system, but in mine, where i fix the lib, currently work well.
Hi all,
This problem is only with maven 3.0.3. With maven 3.0.2 everything was ok.
After dropping aether-impl-1.13 and aether-util-1.13 into lib/ext in maven 3.0.3, the problem was solved.
Please release maven 3.0.4 with the new aether soon.
Also javassint miss, It's like all second level dependency are excluded.