You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/06/23 16:58:58 UTC

[jira] Commented: (MPECLIPSE-9) Eclipse plugin includes non-classpath dependencies in generated files

The following comment has been added to this issue:

     Author: Miguel Griffa
    Created: Wed, 23 Jun 2004 10:57 AM
       Body:
I think that a better approach with be include dependencies only when their type is jar.
Other type of dependencies shuold be _somehow_ included but certainly (I think) not as classpath variables... 

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPECLIPSE-9?page=comments#action_20944

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPECLIPSE-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPECLIPSE-9
    Summary: Eclipse plugin includes non-classpath dependencies in generated files
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-eclipse-plugin

   Assignee: 
   Reporter: dion gillard

    Created: Thu, 2 Oct 2003 7:57 PM
    Updated: Wed, 23 Jun 2004 10:57 AM

Description:
I am using the eclipse plugin for a project in which project.xml
lists a dependency on a <type>tld</type> artifact.
maven eclipse
then generates a dependency on
MAVEN_REPO/path/file.tld
Arguable this has no value, but Eclipse also does not like it,
producing "Unbound classpath variable" messages.
Manually removing these guys in Eclipse solves the problem, but of
course each execute of maven eclipse reintroduces the problem.

It seems that one can add a <eclipse.depency> property to each
dependency to cause special behavior.
I think a solution would be to either:
- Introduce a new property <eclipse.exclude>, or
- Make the eclipse plug-in aware of the supported artifact types and
   only include artifacts of type: jar, war, sar etc. but not tld


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org