You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dmitry Katsubo (JIRA)" <ji...@codehaus.org> on 2009/11/04 17:03:55 UTC
[jira] Created: (MECLIPSE-617) Compile-time dependency is not added
to .classpath
Compile-time dependency is not added to .classpath
--------------------------------------------------
Key: MECLIPSE-617
URL: http://jira.codehaus.org/browse/MECLIPSE-617
Project: Maven 2.x Eclipse Plugin
Issue Type: Bug
Affects Versions: 2.7
Environment: Maven version: 2.0.10
Java version: 1.6.0_13
Reporter: Dmitry Katsubo
Priority: Minor
Attachments: pom.xml
I believe this is caused by some other error, but in my case maven eclipse plugin does not add aspectjrt dependency to .classpath.
pom file demonstrating the problem is attached.
Output of Maven dependency tree:
{code}
[INFO] [dependency:tree]
[INFO] org.mycompany.myproject:dummy-project:jar:1.0-SNAPSHOT
[INFO] \- org.aspectj:aspectjrt:jar:1.6.6:compile
{code}
The contents of Maven local repository:
{code}
Directory of C:\Users\guest\.m2\repository\org\aspectj\aspectjrt\1.6.6
04/11/2009 13:17 <DIR> .
04/11/2009 13:17 <DIR> ..
04/11/2009 13:16 107,049 aspectjrt-1.6.6-sources.jar
04/11/2009 13:16 40 aspectjrt-1.6.6-sources.jar.sha1
29/10/2009 19:54 116,038 aspectjrt-1.6.6.jar
29/10/2009 19:54 40 aspectjrt-1.6.6.jar.sha1
29/10/2009 19:54 905 aspectjrt-1.6.6.pom
29/10/2009 19:54 40 aspectjrt-1.6.6.pom.sha1
6 File(s) 224,112 bytes
2 Dir(s) 242,184,753,152 bytes free
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MECLIPSE-617) Compile-time dependency is not
added to .classpath
Posted by "Neeraj Verma (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MECLIPSE-617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=209194#action_209194 ]
Neeraj Verma commented on MECLIPSE-617:
---------------------------------------
Spring Batch Also uses this library. When I do eclipse:eclipse the workspace complains that the aspectj classes are not found.
https://src.springframework.org/svn/spring-batch
> Compile-time dependency is not added to .classpath
> --------------------------------------------------
>
> Key: MECLIPSE-617
> URL: http://jira.codehaus.org/browse/MECLIPSE-617
> Project: Maven 2.x Eclipse Plugin
> Issue Type: Bug
> Affects Versions: 2.7
> Environment: Maven version: 2.0.10
> Java version: 1.6.0_13
> Reporter: Dmitry Katsubo
> Priority: Minor
> Attachments: pom.xml
>
>
> I believe this is caused by some other error, but in my case maven eclipse plugin does not add aspectjrt dependency to .classpath.
> pom file demonstrating the problem is attached.
> Output of Maven dependency tree:
> {code}
> [INFO] [dependency:tree]
> [INFO] org.mycompany.myproject:dummy-project:jar:1.0-SNAPSHOT
> [INFO] \- org.aspectj:aspectjrt:jar:1.6.6:compile
> {code}
> The contents of Maven local repository:
> {code}
> Directory of C:\Users\guest\.m2\repository\org\aspectj\aspectjrt\1.6.6
> 04/11/2009 13:17 <DIR> .
> 04/11/2009 13:17 <DIR> ..
> 04/11/2009 13:16 107,049 aspectjrt-1.6.6-sources.jar
> 04/11/2009 13:16 40 aspectjrt-1.6.6-sources.jar.sha1
> 29/10/2009 19:54 116,038 aspectjrt-1.6.6.jar
> 29/10/2009 19:54 40 aspectjrt-1.6.6.jar.sha1
> 29/10/2009 19:54 905 aspectjrt-1.6.6.pom
> 29/10/2009 19:54 40 aspectjrt-1.6.6.pom.sha1
> 6 File(s) 224,112 bytes
> 2 Dir(s) 242,184,753,152 bytes free
> {code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira