You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tim Ducheyne (JIRA)" <ji...@codehaus.org> on 2007/04/23 18:35:26 UTC

[jira] Created: (MAVENUPLOAD-1497) Upload Unitils 1.0 rc 2

Upload Unitils 1.0 rc 2
-----------------------

                 Key: MAVENUPLOAD-1497
                 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1497
             Project: maven-upload-requests
          Issue Type: Task
            Reporter: Tim Ducheyne




-- 
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: (MAVENUPLOAD-1497) Upload Unitils 1.0 rc 2

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MAVENUPLOAD-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_94017 ] 

Carlos Sanchez commented on MAVENUPLOAD-1497:
---------------------------------------------

the use of provided scope is wrong, optional already means that a dependency is optional.

> Upload Unitils 1.0 rc 2
> -----------------------
>
>                 Key: MAVENUPLOAD-1497
>                 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1497
>             Project: maven-upload-requests
>          Issue Type: Task
>            Reporter: Tim Ducheyne
>


-- 
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: (MAVENUPLOAD-1497) Upload Unitils 1.0 rc 2

Posted by "Tim Ducheyne (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MAVENUPLOAD-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_94138 ] 

Tim Ducheyne commented on MAVENUPLOAD-1497:
-------------------------------------------

I removed the optional qualifier for the provided dependencies.
Uploaded it in a new bundle jar, the url remains the same.

Thanks for installing the new bundle,
Tim

> Upload Unitils 1.0 rc 2
> -----------------------
>
>                 Key: MAVENUPLOAD-1497
>                 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1497
>             Project: maven-upload-requests
>          Issue Type: Task
>            Reporter: Tim Ducheyne
>


-- 
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: (MAVENUPLOAD-1497) Upload Unitils 1.0 rc 2

Posted by "Tim Ducheyne (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MAVENUPLOAD-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_94263 ] 

Tim Ducheyne commented on MAVENUPLOAD-1497:
-------------------------------------------

Let me explain what I'm trying to do.

Our library has need for different configurations depending on the project envrionment that is going to use it. For example, there are 3 different unit testing frameworks supported:  JUnit3, JUnit4 and TestNG. The project that is going to use Unitils needs to decide which one it wants to use. If it uses JUnit3 as test library, it does not want to retrieve the JUnit4 and TestNG libraries. 

That's why I set all such dependencies to provided and optional:
Provided, so that the projects need to include the dependencies themselves. In the example, the project will need to explicitly add JUnit 3 as dependency.
Optional, to indicate that the libraries are not strictly required for Unitils to function. For example, if JUnit3 is used, JUnit4 and TestNG are not required.

As you requested, I moved all provided libs to the compile scope and made them optional again. The downside is that projects will now explicitly have to exclude all libraries that are not in their environment (a large exclude list). Any suggestions on how to avoid this (without using the provided scope)?

I've uploaded it in a new bundle jar, the url remains the same.

Thanks for installing the new bundle.
Tim


> Upload Unitils 1.0 rc 2
> -----------------------
>
>                 Key: MAVENUPLOAD-1497
>                 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1497
>             Project: maven-upload-requests
>          Issue Type: Task
>            Reporter: Tim Ducheyne
>


-- 
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] Closed: (MAVENUPLOAD-1497) Upload Unitils 1.0 rc 2

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MAVENUPLOAD-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlos Sanchez closed MAVENUPLOAD-1497.
---------------------------------------

      Assignee: Carlos Sanchez
    Resolution: Fixed

optional means that the projects depending on yours have to explicitly add them

but for questions you can use the mailing list

> Upload Unitils 1.0 rc 2
> -----------------------
>
>                 Key: MAVENUPLOAD-1497
>                 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1497
>             Project: maven-upload-requests
>          Issue Type: Task
>            Reporter: Tim Ducheyne
>            Assignee: Carlos Sanchez
>


-- 
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: (MAVENUPLOAD-1497) Upload Unitils 1.0 rc 2

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MAVENUPLOAD-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_94230 ] 

Carlos Sanchez commented on MAVENUPLOAD-1497:
---------------------------------------------

you got it wrong, provided scope is only used in very few cases like servlet-api, you want optional and not provided scope

> Upload Unitils 1.0 rc 2
> -----------------------
>
>                 Key: MAVENUPLOAD-1497
>                 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1497
>             Project: maven-upload-requests
>          Issue Type: Task
>            Reporter: Tim Ducheyne
>


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