You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Paul Spencer (JIRA)" <de...@myfaces.apache.org> on 2006/09/10 16:52:22 UTC

[jira] Created: (MYFACES-1406) Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1

Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1
---------------------------------------------------------------------------

                 Key: MYFACES-1406
                 URL: http://issues.apache.org/jira/browse/MYFACES-1406
             Project: MyFaces Core
          Issue Type: Bug
          Components: build process
    Affects Versions: 1.1.5-SNAPSHOT
            Reporter: Paul Spencer


Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1.  Their are 2 problems here:

1) The dependency group is myfaces instead of org.apache.myfaces.core

2) The version number is wrong.

In many places this problem is minimized by the fact that the depenency is marked as "provided".  I notices the problem why using eclipse.  Eclipse was trying to use the 1.1.1 version of the API even though I was working with the 1.1.5-SNAPSHOT .



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MYFACES-1406) Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1

Posted by "Wendy Smoak (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-1406?page=comments#action_12433761 ] 
            
Wendy Smoak commented on MYFACES-1406:
--------------------------------------

Related thread: http://www.nabble.com/Shared-and-API-circular-dependency%2C-related-to-%28MYFACES-1406%29-p6239070.html


> Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1
> ---------------------------------------------------------------------------
>
>                 Key: MYFACES-1406
>                 URL: http://issues.apache.org/jira/browse/MYFACES-1406
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: build process
>    Affects Versions: 1.1.5-SNAPSHOT
>            Reporter: Paul Spencer
>         Attachments: patch-to-core.txt, patch-to-shared.txt
>
>
> Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1.  Their are 2 problems here:
> 1) The dependency group is myfaces instead of org.apache.myfaces.core
> 2) The version number is wrong.
> In many places this problem is minimized by the fact that the depenency is marked as "provided".  I notices the problem why using eclipse.  Eclipse was trying to use the 1.1.1 version of the API even though I was working with the 1.1.5-SNAPSHOT .

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MYFACES-1406) Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-1406?page=comments#action_12436355 ] 
            
Martin Marinschek commented on MYFACES-1406:
--------------------------------------------

Hmm...

we'd need a dependency from core-impl to shared and from both core-impl and shared to core-api. Is this not possible?

regards,

Martin

> Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1
> ---------------------------------------------------------------------------
>
>                 Key: MYFACES-1406
>                 URL: http://issues.apache.org/jira/browse/MYFACES-1406
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: build process
>    Affects Versions: 1.1.5-SNAPSHOT
>            Reporter: Paul Spencer
>         Attachments: patch-to-core.txt, patch-to-shared.txt
>
>
> Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1.  Their are 2 problems here:
> 1) The dependency group is myfaces instead of org.apache.myfaces.core
> 2) The version number is wrong.
> In many places this problem is minimized by the fact that the depenency is marked as "provided".  I notices the problem why using eclipse.  Eclipse was trying to use the 1.1.1 version of the API even though I was working with the 1.1.5-SNAPSHOT .

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: [jira] Commented: (MYFACES-1406) Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1

Posted by Paul Spencer <pa...@mindspring.com>.
Wendy,
Should the patch to core be applied?

Paul Spencer

Wendy Smoak (JIRA) wrote:
>     [ http://issues.apache.org/jira/browse/MYFACES-1406?page=comments#action_12433709 ] 
>             
> Wendy Smoak commented on MYFACES-1406:
> --------------------------------------
> 
> 
> Core has a dependency on Shared.
> 
> myfaces/core/impl/pom.xml:
>                 <artifactItem>
>                   <groupId>org.apache.myfaces.shared</groupId>
>                   <artifactId>myfaces-shared-impl</artifactId>
>                   <version>2.0.4-SNAPSHOT</version>
>                 </artifactItem>
> 
> Therefore, Shared cannot depend on the current snapshot of Core or we will have a circular dependency.  (Note that it's in a plugin execution and not a normal <dependency>, so Maven won't catch it during dependency resolution.)
> 
> The JSF 1.1 API hasn't changed, so it shouldn't matter whether myfaces-impl builds against 1.1.1 or 1.1.5-SNAPSHOT (or against the API jar from the reference implementation, for that matter.)  I'm not as opposed to this one, but I don't think it's necessary... and the fewer snapshot dependencies the better.  The situation may improve once 1.1.4 is available, because it will be in the same groupId as the current snapshot.
> 
> 
>> Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1
>> ---------------------------------------------------------------------------
>>
>>                 Key: MYFACES-1406
>>                 URL: http://issues.apache.org/jira/browse/MYFACES-1406
>>             Project: MyFaces Core
>>          Issue Type: Bug
>>          Components: build process
>>    Affects Versions: 1.1.5-SNAPSHOT
>>            Reporter: Paul Spencer
>>         Attachments: patch-to-core.txt, patch-to-shared.txt
>>
>>
>> Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1.  Their are 2 problems here:
>> 1) The dependency group is myfaces instead of org.apache.myfaces.core
>> 2) The version number is wrong.
>> In many places this problem is minimized by the fact that the depenency is marked as "provided".  I notices the problem why using eclipse.  Eclipse was trying to use the 1.1.1 version of the API even though I was working with the 1.1.5-SNAPSHOT .
> 


Shared and API circular dependency, related to (MYFACES-1406)

Posted by Paul Spencer <pa...@apache.org>.
Wendy,
The circular dependency between the API and shared projects is a little 
concerning.  Is this something that can be easily be fixed?

Since the dependency is marked as "provided", does this eliminate the 
circular depenency issues in Maven?

I use Eclipse and the Maven Eclipse plugin to generated the Eclipse 
project files.  Currently the shared projects reference the 1.1.1 
version of the API.  The means the debuggers and the other tools in the 
Eclipse are using 1.1.1 API.  Like you said the API does not change, but 
use of an older version it can be confusing.

Paul Spencer



Wendy Smoak (JIRA) wrote:
>     [ http://issues.apache.org/jira/browse/MYFACES-1406?page=comments#action_12433709 ] 
>             
> Wendy Smoak commented on MYFACES-1406:
> --------------------------------------
> 
> 
> Core has a dependency on Shared.
> 
> myfaces/core/impl/pom.xml:
>                 <artifactItem>
>                   <groupId>org.apache.myfaces.shared</groupId>
>                   <artifactId>myfaces-shared-impl</artifactId>
>                   <version>2.0.4-SNAPSHOT</version>
>                 </artifactItem>
> 
> Therefore, Shared cannot depend on the current snapshot of Core or we will have a circular dependency.  (Note that it's in a plugin execution and not a normal <dependency>, so Maven won't catch it during dependency resolution.)
> 
> The JSF 1.1 API hasn't changed, so it shouldn't matter whether myfaces-impl builds against 1.1.1 or 1.1.5-SNAPSHOT (or against the API jar from the reference implementation, for that matter.)  I'm not as opposed to this one, but I don't think it's necessary... and the fewer snapshot dependencies the better.  The situation may improve once 1.1.4 is available, because it will be in the same groupId as the current snapshot.
> 
> 
>> Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1
>> ---------------------------------------------------------------------------
>>
>>                 Key: MYFACES-1406
>>                 URL: http://issues.apache.org/jira/browse/MYFACES-1406
>>             Project: MyFaces Core
>>          Issue Type: Bug
>>          Components: build process
>>    Affects Versions: 1.1.5-SNAPSHOT
>>            Reporter: Paul Spencer
>>         Attachments: patch-to-core.txt, patch-to-shared.txt
>>
>>
>> Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1.  Their are 2 problems here:
>> 1) The dependency group is myfaces instead of org.apache.myfaces.core
>> 2) The version number is wrong.
>> In many places this problem is minimized by the fact that the depenency is marked as "provided".  I notices the problem why using eclipse.  Eclipse was trying to use the 1.1.1 version of the API even though I was working with the 1.1.5-SNAPSHOT .
> 


Re: [jira] Commented: (MYFACES-1406) Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1

Posted by Paul Spencer <pa...@apache.org>.
Wendy,
Should the patch to core be applied?

Paul Spencer

Wendy Smoak (JIRA) wrote:
>     [ http://issues.apache.org/jira/browse/MYFACES-1406?page=comments#action_12433709 ] 
>             
> Wendy Smoak commented on MYFACES-1406:
> --------------------------------------
> 
> 
> Core has a dependency on Shared.
> 
> myfaces/core/impl/pom.xml:
>                 <artifactItem>
>                   <groupId>org.apache.myfaces.shared</groupId>
>                   <artifactId>myfaces-shared-impl</artifactId>
>                   <version>2.0.4-SNAPSHOT</version>
>                 </artifactItem>
> 
> Therefore, Shared cannot depend on the current snapshot of Core or we will have a circular dependency.  (Note that it's in a plugin execution and not a normal <dependency>, so Maven won't catch it during dependency resolution.)
> 
> The JSF 1.1 API hasn't changed, so it shouldn't matter whether myfaces-impl builds against 1.1.1 or 1.1.5-SNAPSHOT (or against the API jar from the reference implementation, for that matter.)  I'm not as opposed to this one, but I don't think it's necessary... and the fewer snapshot dependencies the better.  The situation may improve once 1.1.4 is available, because it will be in the same groupId as the current snapshot.
> 
> 
>> Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1
>> ---------------------------------------------------------------------------
>>
>>                 Key: MYFACES-1406
>>                 URL: http://issues.apache.org/jira/browse/MYFACES-1406
>>             Project: MyFaces Core
>>          Issue Type: Bug
>>          Components: build process
>>    Affects Versions: 1.1.5-SNAPSHOT
>>            Reporter: Paul Spencer
>>         Attachments: patch-to-core.txt, patch-to-shared.txt
>>
>>
>> Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1.  Their are 2 problems here:
>> 1) The dependency group is myfaces instead of org.apache.myfaces.core
>> 2) The version number is wrong.
>> In many places this problem is minimized by the fact that the depenency is marked as "provided".  I notices the problem why using eclipse.  Eclipse was trying to use the 1.1.1 version of the API even though I was working with the 1.1.5-SNAPSHOT .
> 



[jira] Commented: (MYFACES-1406) Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1

Posted by "Wendy Smoak (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-1406?page=comments#action_12433709 ] 
            
Wendy Smoak commented on MYFACES-1406:
--------------------------------------


Core has a dependency on Shared.

myfaces/core/impl/pom.xml:
                <artifactItem>
                  <groupId>org.apache.myfaces.shared</groupId>
                  <artifactId>myfaces-shared-impl</artifactId>
                  <version>2.0.4-SNAPSHOT</version>
                </artifactItem>

Therefore, Shared cannot depend on the current snapshot of Core or we will have a circular dependency.  (Note that it's in a plugin execution and not a normal <dependency>, so Maven won't catch it during dependency resolution.)

The JSF 1.1 API hasn't changed, so it shouldn't matter whether myfaces-impl builds against 1.1.1 or 1.1.5-SNAPSHOT (or against the API jar from the reference implementation, for that matter.)  I'm not as opposed to this one, but I don't think it's necessary... and the fewer snapshot dependencies the better.  The situation may improve once 1.1.4 is available, because it will be in the same groupId as the current snapshot.


> Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1
> ---------------------------------------------------------------------------
>
>                 Key: MYFACES-1406
>                 URL: http://issues.apache.org/jira/browse/MYFACES-1406
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: build process
>    Affects Versions: 1.1.5-SNAPSHOT
>            Reporter: Paul Spencer
>         Attachments: patch-to-core.txt, patch-to-shared.txt
>
>
> Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1.  Their are 2 problems here:
> 1) The dependency group is myfaces instead of org.apache.myfaces.core
> 2) The version number is wrong.
> In many places this problem is minimized by the fact that the depenency is marked as "provided".  I notices the problem why using eclipse.  Eclipse was trying to use the 1.1.1 version of the API even though I was working with the 1.1.5-SNAPSHOT .

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MYFACES-1406) Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1

Posted by "Wendy Smoak (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-1406?page=comments#action_12436359 ] 
            
Wendy Smoak commented on MYFACES-1406:
--------------------------------------


This one is on my list to look at now that 1.1.4 is available in the central Maven repo.

My theory is that since both 1.1.4 and 1.1.5-SNAPSHOT have the same groupId, Maven will figure out that they are two versions of the same library, and pick the later version.


> Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1
> ---------------------------------------------------------------------------
>
>                 Key: MYFACES-1406
>                 URL: http://issues.apache.org/jira/browse/MYFACES-1406
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: build process
>    Affects Versions: 1.1.5-SNAPSHOT
>            Reporter: Paul Spencer
>         Attachments: patch-to-core.txt, patch-to-shared.txt
>
>
> Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1.  Their are 2 problems here:
> 1) The dependency group is myfaces instead of org.apache.myfaces.core
> 2) The version number is wrong.
> In many places this problem is minimized by the fact that the depenency is marked as "provided".  I notices the problem why using eclipse.  Eclipse was trying to use the 1.1.1 version of the API even though I was working with the 1.1.5-SNAPSHOT .

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MYFACES-1406) Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1

Posted by "Paul Spencer (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-1406?page=all ]

Paul Spencer updated MYFACES-1406:
----------------------------------

    Status: Patch Available  (was: Open)

> Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1
> ---------------------------------------------------------------------------
>
>                 Key: MYFACES-1406
>                 URL: http://issues.apache.org/jira/browse/MYFACES-1406
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: build process
>    Affects Versions: 1.1.5-SNAPSHOT
>            Reporter: Paul Spencer
>         Attachments: patch-to-core.txt, patch-to-shared.txt
>
>
> Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1.  Their are 2 problems here:
> 1) The dependency group is myfaces instead of org.apache.myfaces.core
> 2) The version number is wrong.
> In many places this problem is minimized by the fact that the depenency is marked as "provided".  I notices the problem why using eclipse.  Eclipse was trying to use the 1.1.1 version of the API even though I was working with the 1.1.5-SNAPSHOT .

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MYFACES-1406) Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1

Posted by "Wendy Smoak (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-1406?page=all ]

Wendy Smoak updated MYFACES-1406:
---------------------------------

        Status: Resolved  (was: Patch Available)
    Resolution: Fixed

Updated dependencies to 1.1.4 which has the same groupId as the current snapshot.

http://svn.apache.org/viewvc?view=rev&rev=473177
http://svn.apache.org/viewvc?view=rev&rev=473179
http://svn.apache.org/viewvc?view=rev&rev=473180

> Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1
> ---------------------------------------------------------------------------
>
>                 Key: MYFACES-1406
>                 URL: http://issues.apache.org/jira/browse/MYFACES-1406
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: build process
>    Affects Versions: 1.1.5-SNAPSHOT
>            Reporter: Paul Spencer
>         Assigned To: Wendy Smoak
>             Fix For: 1.1.5-SNAPSHOT
>
>         Attachments: patch-to-core.txt, patch-to-shared.txt
>
>
> Core and Shared project has dependency on myfaces:myfaces-api version 1.1.1.  Their are 2 problems here:
> 1) The dependency group is myfaces instead of org.apache.myfaces.core
> 2) The version number is wrong.
> In many places this problem is minimized by the fact that the depenency is marked as "provided".  I notices the problem why using eclipse.  Eclipse was trying to use the 1.1.1 version of the API even though I was working with the 1.1.5-SNAPSHOT .

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira