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/24 19:25:29 UTC

[jira] Created: (MPJAVA-21) Unable to add something to java:compile classpath

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJAVA-21

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAVA-21
    Summary: Unable to add something to java:compile classpath
       Type: Wish

     Status: Open
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-java-plugin

   Assignee: Jason van Zyl
   Reporter: Stepan Koltsov

    Created: Thu, 24 Jun 2004 1:23 PM
    Updated: Thu, 24 Jun 2004 1:23 PM

Description:
It is not possible to add anything to classpath used in java:compile in javac task. Its could be generated libraries (using XMLBeans for example) or other libraries stored somewhere in "lib/" (we store some libraries in CVS, they are placed there).

As workaround it's possible to edit maven.dependency.path, but that is dirty.

Thanks.


---------------------------------------------------------------------
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


[jira] Closed: (MPJAVA-21) Unable to add something to java:compile classpath

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPJAVA-21?page=all ]
     
Lukas Theussl closed MPJAVA-21:
-------------------------------

      Assign To:     (was: Jason van Zyl)
     Resolution: Won't Fix
    Fix Version:     (was: 1.6)

I don't think it is a good idea to do that. Only things that are declared as dependencies should be added to the classpath, is there a reason for not adding those libs as dependencies? As a workaround, you may use the maven:addPath tag in a pregoal to java:compile.

> Unable to add something to java:compile classpath
> -------------------------------------------------
>
>          Key: MPJAVA-21
>          URL: http://jira.codehaus.org/browse/MPJAVA-21
>      Project: maven-java-plugin
>         Type: Wish

>     Reporter: Stepan Koltsov
>     Priority: Minor

>
>
> It is not possible to add anything to classpath used in java:compile in javac task. Its could be generated libraries (using XMLBeans for example) or other libraries stored somewhere in "lib/" (we store some libraries in CVS, they are placed there).
> As workaround it's possible to edit maven.dependency.path, but that is dirty.
> Thanks.

-- 
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


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


[jira] Commented: (MPJAVA-21) Unable to add something to java:compile classpath

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: dion gillard
    Created: Thu, 24 Jun 2004 6:37 PM
       Body:
Various plugins do this using maven:addPath. for an example look at the antlr plugin's plugin.jelly.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPJAVA-21?page=comments#action_21006

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJAVA-21

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAVA-21
    Summary: Unable to add something to java:compile classpath
       Type: Wish

     Status: Open
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-java-plugin

   Assignee: Jason van Zyl
   Reporter: Stepan Koltsov

    Created: Thu, 24 Jun 2004 1:23 PM
    Updated: Thu, 24 Jun 2004 6:37 PM

Description:
It is not possible to add anything to classpath used in java:compile in javac task. Its could be generated libraries (using XMLBeans for example) or other libraries stored somewhere in "lib/" (we store some libraries in CVS, they are placed there).

As workaround it's possible to edit maven.dependency.path, but that is dirty.

Thanks.


---------------------------------------------------------------------
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


[jira] Updated: (MPJAVA-21) Unable to add something to java:compile classpath

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPJAVA-21?page=all ]

Lukas Theussl updated MPJAVA-21:
--------------------------------

    Fix Version: 1.6

> Unable to add something to java:compile classpath
> -------------------------------------------------
>
>          Key: MPJAVA-21
>          URL: http://jira.codehaus.org/browse/MPJAVA-21
>      Project: maven-java-plugin
>         Type: Wish

>     Reporter: Stepan Koltsov
>     Assignee: Jason van Zyl
>     Priority: Minor
>      Fix For: 1.6

>
>
> It is not possible to add anything to classpath used in java:compile in javac task. Its could be generated libraries (using XMLBeans for example) or other libraries stored somewhere in "lib/" (we store some libraries in CVS, they are placed there).
> As workaround it's possible to edit maven.dependency.path, but that is dirty.
> Thanks.

-- 
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


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