You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kristian Waagan (JIRA)" <ji...@apache.org> on 2012/04/25 16:08:21 UTC

[jira] [Created] (DERBY-5727) Update POMs to deploy Maven artifacts to repository.apache.org and use ASF parent POM

Kristian Waagan created DERBY-5727:
--------------------------------------

             Summary: Update POMs to deploy Maven artifacts to repository.apache.org and use ASF parent POM
                 Key: DERBY-5727
                 URL: https://issues.apache.org/jira/browse/DERBY-5727
             Project: Derby
          Issue Type: Task
          Components: Build tools
    Affects Versions: 10.9.0.0
            Reporter: Kristian Waagan
            Assignee: Kristian Waagan


As per Apache infra's request Maven artifacts should be deployed to repository.apache.org.
Derby is currently deploying to people.apache.org, for which Maven deployment will be disabled in Jan 2013.

Additionally, the Derby POMs should refer to the ASF top-level POM as the parent. There are several advantages to doing this, see [1] for details.

[1] http://www.apache.org/dev/publishing-maven-artifacts.html#inherit-parent

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (DERBY-5727) Update POMs to deploy Maven artifacts to repository.apache.org and use ASF parent POM

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Waagan resolved DERBY-5727.
------------------------------------

          Resolution: Fixed
       Fix Version/s: 10.9.0.0
    Issue & fix info:   (was: Patch Available)

Thanks, Rick!

If you found the instructions sufficient, I think I have what I need from you. 
Just noting that this is a mandated change. It's a bonus that the deploy step seems to have been made less brittle by the change.

I'll do a quick scan of the release intrstructions on the wiki to see if they need an update.
Committed patch 1b to trunk with revision 1334874.
                
> Update POMs to deploy Maven artifacts to repository.apache.org and use ASF parent POM
> -------------------------------------------------------------------------------------
>
>                 Key: DERBY-5727
>                 URL: https://issues.apache.org/jira/browse/DERBY-5727
>             Project: Derby
>          Issue Type: Task
>          Components: Build tools
>    Affects Versions: 10.9.0.0
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>             Fix For: 10.9.0.0
>
>         Attachments: derby-5727-1a-inherit_asf_pom.diff, derby-5727-1b-inherit_asf_pom.diff
>
>
> As per Apache infra's request Maven artifacts should be deployed to repository.apache.org.
> Derby is currently deploying to people.apache.org, for which Maven deployment will be disabled in Jan 2013.
> Additionally, the Derby POMs should refer to the ASF top-level POM as the parent. There are several advantages to doing this, see [1] for details.
> [1] http://www.apache.org/dev/publishing-maven-artifacts.html#inherit-parent

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DERBY-5727) Update POMs to deploy Maven artifacts to repository.apache.org and use ASF parent POM

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Waagan updated DERBY-5727:
-----------------------------------

    Attachment: derby-5727-1a-inherit_asf_pom.diff

Attaching patch 1a, which makes the derby-project POM inherit the ASF top-level POM. This makes Maven deploy to repository.apache.org. In addition I've updated the readme file.

I've tested this once on Solaris 11 with Maven 3.
It would be nice if PMC members on different platforms could test it too. You can safely test it with a 10.9.0.0_alpha build (trunk), just don't release the temporary repository in Nexus :)

Nexus lives at repository.apache.org, log in with your LDAP credentials.
Patch ready for review.
                
> Update POMs to deploy Maven artifacts to repository.apache.org and use ASF parent POM
> -------------------------------------------------------------------------------------
>
>                 Key: DERBY-5727
>                 URL: https://issues.apache.org/jira/browse/DERBY-5727
>             Project: Derby
>          Issue Type: Task
>          Components: Build tools
>    Affects Versions: 10.9.0.0
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>         Attachments: derby-5727-1a-inherit_asf_pom.diff
>
>
> As per Apache infra's request Maven artifacts should be deployed to repository.apache.org.
> Derby is currently deploying to people.apache.org, for which Maven deployment will be disabled in Jan 2013.
> Additionally, the Derby POMs should refer to the ASF top-level POM as the parent. There are several advantages to doing this, see [1] for details.
> [1] http://www.apache.org/dev/publishing-maven-artifacts.html#inherit-parent

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DERBY-5727) Update POMs to deploy Maven artifacts to repository.apache.org and use ASF parent POM

Posted by "Rick Hillegas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13268410#comment-13268410 ] 

Rick Hillegas commented on DERBY-5727:
--------------------------------------

Thanks for the detailed instructions, Kristian. I have successfully followed steps (a-f) in README.txt. I did not follow step (g) because that seemed to be appropriate only after a release has been vetted. Instead, I dropped the alpha artifacts which I had staged at Nexus. I can confirm that the following is possible from my Mac OSX laptop:

1) I successfully deployed Maven artifacts to my local repository. The artifacts contained the new <parent> element linking them to the top-level POM.

2) I successfully staged the artifacts on Nexus. Then I dropped them.

Let me know if there is additional feedback which I can provide on this patch. Thanks.
                
> Update POMs to deploy Maven artifacts to repository.apache.org and use ASF parent POM
> -------------------------------------------------------------------------------------
>
>                 Key: DERBY-5727
>                 URL: https://issues.apache.org/jira/browse/DERBY-5727
>             Project: Derby
>          Issue Type: Task
>          Components: Build tools
>    Affects Versions: 10.9.0.0
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>         Attachments: derby-5727-1a-inherit_asf_pom.diff, derby-5727-1b-inherit_asf_pom.diff
>
>
> As per Apache infra's request Maven artifacts should be deployed to repository.apache.org.
> Derby is currently deploying to people.apache.org, for which Maven deployment will be disabled in Jan 2013.
> Additionally, the Derby POMs should refer to the ASF top-level POM as the parent. There are several advantages to doing this, see [1] for details.
> [1] http://www.apache.org/dev/publishing-maven-artifacts.html#inherit-parent

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (DERBY-5727) Update POMs to deploy Maven artifacts to repository.apache.org and use ASF parent POM

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Waagan closed DERBY-5727.
----------------------------------


Closing issue.
The procedure has been tested on two platforms, and it worked on both of them.
Bugs or improvements can be logged as separate JIRA issues.
                
> Update POMs to deploy Maven artifacts to repository.apache.org and use ASF parent POM
> -------------------------------------------------------------------------------------
>
>                 Key: DERBY-5727
>                 URL: https://issues.apache.org/jira/browse/DERBY-5727
>             Project: Derby
>          Issue Type: Task
>          Components: Build tools
>    Affects Versions: 10.9.0.0
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>             Fix For: 10.9.0.0
>
>         Attachments: derby-5727-1a-inherit_asf_pom.diff, derby-5727-1b-inherit_asf_pom.diff
>
>
> As per Apache infra's request Maven artifacts should be deployed to repository.apache.org.
> Derby is currently deploying to people.apache.org, for which Maven deployment will be disabled in Jan 2013.
> Additionally, the Derby POMs should refer to the ASF top-level POM as the parent. There are several advantages to doing this, see [1] for details.
> [1] http://www.apache.org/dev/publishing-maven-artifacts.html#inherit-parent

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DERBY-5727) Update POMs to deploy Maven artifacts to repository.apache.org and use ASF parent POM

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Waagan updated DERBY-5727:
-----------------------------------

    Issue & fix info: Patch Available
    
> Update POMs to deploy Maven artifacts to repository.apache.org and use ASF parent POM
> -------------------------------------------------------------------------------------
>
>                 Key: DERBY-5727
>                 URL: https://issues.apache.org/jira/browse/DERBY-5727
>             Project: Derby
>          Issue Type: Task
>          Components: Build tools
>    Affects Versions: 10.9.0.0
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>         Attachments: derby-5727-1a-inherit_asf_pom.diff
>
>
> As per Apache infra's request Maven artifacts should be deployed to repository.apache.org.
> Derby is currently deploying to people.apache.org, for which Maven deployment will be disabled in Jan 2013.
> Additionally, the Derby POMs should refer to the ASF top-level POM as the parent. There are several advantages to doing this, see [1] for details.
> [1] http://www.apache.org/dev/publishing-maven-artifacts.html#inherit-parent

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (DERBY-5727) Update POMs to deploy Maven artifacts to repository.apache.org and use ASF parent POM

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Waagan closed DERBY-5727.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 10.8.2.3
                   10.7.1.4

Closing again.
                
> Update POMs to deploy Maven artifacts to repository.apache.org and use ASF parent POM
> -------------------------------------------------------------------------------------
>
>                 Key: DERBY-5727
>                 URL: https://issues.apache.org/jira/browse/DERBY-5727
>             Project: Derby
>          Issue Type: Task
>          Components: Build tools
>    Affects Versions: 10.9.0.0
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>             Fix For: 10.7.1.4, 10.8.2.3, 10.9.0.0
>
>         Attachments: derby-5727-1a-inherit_asf_pom.diff, derby-5727-1b-inherit_asf_pom.diff
>
>
> As per Apache infra's request Maven artifacts should be deployed to repository.apache.org.
> Derby is currently deploying to people.apache.org, for which Maven deployment will be disabled in Jan 2013.
> Additionally, the Derby POMs should refer to the ASF top-level POM as the parent. There are several advantages to doing this, see [1] for details.
> [1] http://www.apache.org/dev/publishing-maven-artifacts.html#inherit-parent

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DERBY-5727) Update POMs to deploy Maven artifacts to repository.apache.org and use ASF parent POM

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269376#comment-13269376 ] 

Kristian Waagan commented on DERBY-5727:
----------------------------------------

I updated the wiki page at [1].
Note that the new POMs haven't been tested on Windows yet. While I expect that they will work, it would be good to get confirmation on that if anyone performs a dry-run on Windows.

[1] http://wiki.apache.org/db-derby/ReleasePublication
                
> Update POMs to deploy Maven artifacts to repository.apache.org and use ASF parent POM
> -------------------------------------------------------------------------------------
>
>                 Key: DERBY-5727
>                 URL: https://issues.apache.org/jira/browse/DERBY-5727
>             Project: Derby
>          Issue Type: Task
>          Components: Build tools
>    Affects Versions: 10.9.0.0
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>             Fix For: 10.9.0.0
>
>         Attachments: derby-5727-1a-inherit_asf_pom.diff, derby-5727-1b-inherit_asf_pom.diff
>
>
> As per Apache infra's request Maven artifacts should be deployed to repository.apache.org.
> Derby is currently deploying to people.apache.org, for which Maven deployment will be disabled in Jan 2013.
> Additionally, the Derby POMs should refer to the ASF top-level POM as the parent. There are several advantages to doing this, see [1] for details.
> [1] http://www.apache.org/dev/publishing-maven-artifacts.html#inherit-parent

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DERBY-5727) Update POMs to deploy Maven artifacts to repository.apache.org and use ASF parent POM

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Waagan updated DERBY-5727:
-----------------------------------

    Attachment: derby-5727-1b-inherit_asf_pom.diff

Attaching patch 1b, which fixes a type and includes some minor changes to the README.
The patch is now based off the source tree root, and not relative to 'maven2/' (sorry!).
                
> Update POMs to deploy Maven artifacts to repository.apache.org and use ASF parent POM
> -------------------------------------------------------------------------------------
>
>                 Key: DERBY-5727
>                 URL: https://issues.apache.org/jira/browse/DERBY-5727
>             Project: Derby
>          Issue Type: Task
>          Components: Build tools
>    Affects Versions: 10.9.0.0
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>         Attachments: derby-5727-1a-inherit_asf_pom.diff, derby-5727-1b-inherit_asf_pom.diff
>
>
> As per Apache infra's request Maven artifacts should be deployed to repository.apache.org.
> Derby is currently deploying to people.apache.org, for which Maven deployment will be disabled in Jan 2013.
> Additionally, the Derby POMs should refer to the ASF top-level POM as the parent. There are several advantages to doing this, see [1] for details.
> [1] http://www.apache.org/dev/publishing-maven-artifacts.html#inherit-parent

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (DERBY-5727) Update POMs to deploy Maven artifacts to repository.apache.org and use ASF parent POM

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Waagan reopened DERBY-5727:
------------------------------------


I looked into creating artifacts on the older branches. You can do this by copying the built jars from the branch in question, and then build the Maven artifacts from maven2 in trunk. However, since this was such an easy backport, I backported the change to 10.8 (r1336063) and 10.7 (r1336066). It is unlikely that we ever need to publish older builds to Maven, but if the need arise we can do that by running the Maven process from trunk.
                
> Update POMs to deploy Maven artifacts to repository.apache.org and use ASF parent POM
> -------------------------------------------------------------------------------------
>
>                 Key: DERBY-5727
>                 URL: https://issues.apache.org/jira/browse/DERBY-5727
>             Project: Derby
>          Issue Type: Task
>          Components: Build tools
>    Affects Versions: 10.9.0.0
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>             Fix For: 10.7.1.4, 10.8.2.3, 10.9.0.0
>
>         Attachments: derby-5727-1a-inherit_asf_pom.diff, derby-5727-1b-inherit_asf_pom.diff
>
>
> As per Apache infra's request Maven artifacts should be deployed to repository.apache.org.
> Derby is currently deploying to people.apache.org, for which Maven deployment will be disabled in Jan 2013.
> Additionally, the Derby POMs should refer to the ASF top-level POM as the parent. There are several advantages to doing this, see [1] for details.
> [1] http://www.apache.org/dev/publishing-maven-artifacts.html#inherit-parent

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira