You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2006/11/29 00:33:22 UTC

[jira] Created: (GERONIMO-2603) Building 1.2 if there are 2.0 artifacts in the repo results in mostly 2.0 artifacts in the server.

Building 1.2 if there are 2.0 artifacts in the repo results in mostly 2.0 artifacts in the server.
--------------------------------------------------------------------------------------------------

                 Key: GERONIMO-2603
                 URL: http://issues.apache.org/jira/browse/GERONIMO-2603
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: buildsystem
    Affects Versions: 1.2, 2.0
            Reporter: David Jencks
         Assigned To: David Jencks
             Fix For: 1.2, 2.0


PackageMojo basically uses the local maven repo to run geronimo off of.  This only really works if only the versions of geronimo stuff you want are in the repo, otherwise you keep picking up later versions.

Solution seems to be to make the repository adapter only let you see the transitive dependencies of the stuff in your pom.

-- 
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: (GERONIMO-2603) Building 1.2 if there are 2.0 artifacts in the repo results in mostly 2.0 artifacts in the server.

Posted by "Jason Dillon (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-2603?page=comments#action_12454416 ] 
            
Jason Dillon commented on GERONIMO-2603:
----------------------------------------

I certainly hope not... if so... mvn is more annoying and lame than I had thought.

When are we going to come to our senses are drop it...

> Building 1.2 if there are 2.0 artifacts in the repo results in mostly 2.0 artifacts in the server.
> --------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-2603
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2603
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: buildsystem
>    Affects Versions: 1.2, 2.0
>            Reporter: David Jencks
>         Assigned To: David Jencks
>             Fix For: 1.2, 2.0
>
>
> PackageMojo basically uses the local maven repo to run geronimo off of.  This only really works if only the versions of geronimo stuff you want are in the repo, otherwise you keep picking up later versions.
> Solution seems to be to make the repository adapter only let you see the transitive dependencies of the stuff in your pom.

-- 
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: (GERONIMO-2603) Building 1.2 if there are 2.0 artifacts in the repo results in mostly 2.0 artifacts in the server.

Posted by "Anita Kulshreshtha (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-2603?page=comments#action_12454301 ] 
            
Anita Kulshreshtha commented on GERONIMO-2603:
----------------------------------------------

David, That is exactly where I looked for the car-maven-plugin version. After I wrote this comemnt I found it in configs pom.
   I was glad to see that  geronimoVersion property has been  reincarnated into a property named 'version':
<version>2.0-SNAPSHOT</version>
    AFAIK, maven allows 'pom.version' and 'version' to be used interchangeably.  We are using the above line twice, once in the version declaration and once in properties.
Will it cause problems?

> Building 1.2 if there are 2.0 artifacts in the repo results in mostly 2.0 artifacts in the server.
> --------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-2603
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2603
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: buildsystem
>    Affects Versions: 1.2, 2.0
>            Reporter: David Jencks
>         Assigned To: David Jencks
>             Fix For: 1.2, 2.0
>
>
> PackageMojo basically uses the local maven repo to run geronimo off of.  This only really works if only the versions of geronimo stuff you want are in the repo, otherwise you keep picking up later versions.
> Solution seems to be to make the repository adapter only let you see the transitive dependencies of the stuff in your pom.

-- 
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: (GERONIMO-2603) Building 1.2 if there are 2.0 artifacts in the repo results in mostly 2.0 artifacts in the server.

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-2603?page=comments#action_12454179 ] 
            
David Jencks commented on GERONIMO-2603:
----------------------------------------

fixed in 1.2 rev 480281

> Building 1.2 if there are 2.0 artifacts in the repo results in mostly 2.0 artifacts in the server.
> --------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-2603
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2603
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: buildsystem
>    Affects Versions: 1.2, 2.0
>            Reporter: David Jencks
>         Assigned To: David Jencks
>             Fix For: 1.2, 2.0
>
>
> PackageMojo basically uses the local maven repo to run geronimo off of.  This only really works if only the versions of geronimo stuff you want are in the repo, otherwise you keep picking up later versions.
> Solution seems to be to make the repository adapter only let you see the transitive dependencies of the stuff in your pom.

-- 
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: (GERONIMO-2603) Building 1.2 if there are 2.0 artifacts in the repo results in mostly 2.0 artifacts in the server.

Posted by "Anita Kulshreshtha (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-2603?page=comments#action_12454188 ] 
            
Anita Kulshreshtha commented on GERONIMO-2603:
----------------------------------------------

We have two jars claiming to be car-maven-plugin. IIUC, maven will pick the latest version ( a higher number and latest ?) to deal with "car" packaging. How do you make sure that 
1.2 version of car-maven-plugin is being used?

> Building 1.2 if there are 2.0 artifacts in the repo results in mostly 2.0 artifacts in the server.
> --------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-2603
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2603
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: buildsystem
>    Affects Versions: 1.2, 2.0
>            Reporter: David Jencks
>         Assigned To: David Jencks
>             Fix For: 1.2, 2.0
>
>
> PackageMojo basically uses the local maven repo to run geronimo off of.  This only really works if only the versions of geronimo stuff you want are in the repo, otherwise you keep picking up later versions.
> Solution seems to be to make the repository adapter only let you see the transitive dependencies of the stuff in your pom.

-- 
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] Closed: (GERONIMO-2603) Building 1.2 if there are 2.0 artifacts in the repo results in mostly 2.0 artifacts in the server.

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-2603?page=all ]

David Jencks closed GERONIMO-2603.
----------------------------------

    Resolution: Fixed

Fixed in trunk rev 480326.

Anita, IIUC Jason has explicitly specified all the maven plugin versions in the root pom pluginManagement section.  This will override any "look for the latest" behavior maven may otherwise use.

> Building 1.2 if there are 2.0 artifacts in the repo results in mostly 2.0 artifacts in the server.
> --------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-2603
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2603
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: buildsystem
>    Affects Versions: 1.2, 2.0
>            Reporter: David Jencks
>         Assigned To: David Jencks
>             Fix For: 1.2, 2.0
>
>
> PackageMojo basically uses the local maven repo to run geronimo off of.  This only really works if only the versions of geronimo stuff you want are in the repo, otherwise you keep picking up later versions.
> Solution seems to be to make the repository adapter only let you see the transitive dependencies of the stuff in your pom.

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