Thanks again guys, I've been able to update the MyFaces website with JSF 2.3: https://myfaces.apache.org/
I still have one more/final question hopefully. How do we get the jars into maven central? For example: https://mvnrepository.com/artifact/org.apache.myfaces.core/myfaces-api https://mvnrepository.com/artifact/org.apache.myfaces.core/myfaces-impl I only see the beta jars. Thanks, Eduardo On Wed, Mar 7, 2018 at 1:58 PM, Leonardo Uribe <[email protected]> wrote: > Hi > > It is the same process as in Tobago. Please take a look at myfaces-site > pom.xml there are some predefined paths: > > <properties> > <site.mainDirectory>${user.home}/myfaces-site/checkout</ > site.mainDirectory> > <siteContent.path>${user.home}/myfaces-site/site</siteContent.path> > <!-- it's a default location for performance reason (not checkout the > content all the time) > you can override this value in your settings. --> > <scmCheckout.path>\${site.mainDirectory}</scmCheckout.path> > <siteDeploy.url>file://${user.home}/myfaces-site/site</siteDeploy.url> > </properties> > > In my case there was a folder called /home/lu4242/myfaces-site/checkout > and other /home/lu4242/myfaces-site/site. site:stage create some files in > "site" folder, then I just override in checkout and commit. > > regards, > > Leonardo Uribe > > 2018-03-07 12:40 GMT-05:00 Udo Schnurpfeil <[email protected]>: > >> Hi Eduardo, >> >> I've never done this for the core (only Tobago), so I'm not sure about >> that... >> >> The site you can see here: https://myfaces.apache.org/ is synced by some >> automatic job from this repo: >> >> https://svn.apache.org/repos/asf/myfaces/site/publish/ >> >> So, you need to >> >> 1. checkout the relevant parts from that URL >> >> 2. building the site (it seems that you have done it already) >> >> 3. syncing this site (from 2.) locally to the checkout (from 1.) using >> "mvn site:stage" >> >> 4. commit it >> >> It seems, there is no many entry and no subfolder for 2.3 currently. I >> assume this must be created. >> >> >> For Tobago these steps are described here: >> >> https://myfaces.apache.org/tobago/release-checklist.html (look for >> "Building the site") >> >> >> Hope that helps >> >> Udo >> Am 06.03.18 um 22:33 schrieb Eduardo B: >> >> I went ahead and checked out src from https://svn.apache.org/re >> pos/asf/myfaces/site/trunk/ >> >> I have modified some files with new download links, reference to MyFaces >> 2.3.0, etc. When I tried to do mvn site:deploy I'm getting a connection >> refused error. >> >> Caused by: org.apache.maven.plugin.MojoExecutionException: Error >> uploading site >> >> at org.apache.maven.plugins.site.deploy.AbstractDeployMojo.push >> (AbstractDeployMojo.java:478) >> >> at org.apache.maven.plugins.site.deploy.AbstractDeployMojo.depl >> oy(AbstractDeployMojo.java:332) >> >> at org.apache.maven.plugins.site.deploy.AbstractDeployMojo.depl >> oyTo(AbstractDeployMojo.java:293) >> >> at org.apache.maven.plugins.site.deploy.AbstractDeployMojo.exec >> ute(AbstractDeployMojo.java:172) >> >> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMoj >> o(DefaultBuildPluginManager.java:134) >> >> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(Moj >> oExecutor.java:207) >> >> ... 20 more >> >> Caused by: org.apache.maven.wagon.authentication.AuthenticationException: >> Cannot connect. Reason: java.net.ConnectException: Connection refused >> (Connection refused) >> >> at org.apache.maven.wagon.providers.ssh.jsch.AbstractJschWagon. >> openConnectionInternal(AbstractJschWagon.java:264) >> >> at org.apache.maven.wagon.AbstractWagon.openConnection(Abstract >> Wagon.java:115) >> >> at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:216) >> >> at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:152) >> >> at org.apache.maven.plugins.site.deploy.AbstractDeployMojo.push >> (AbstractDeployMojo.java:428) >> >> ... 25 more >> >> >> Maybe I'm missing some kind of permission in the server? >> >> Regards, >> Eduardo >> >> On Tue, Mar 6, 2018 at 2:23 PM, Eduardo B <[email protected]> wrote: >> >>> Thanks a lot for all the help so far. >>> >>> I have distributed the assembly files already. I'm in the final step >>> which is the site deployment. >>> >>> I know I have to run mvn site:site and mvn site:deploy but where do I >>> run those commands from? >>> >>> Is it from >>> 1) https://svn.apache.org/repos/asf/myfaces/site/trunk/ >>> >>> or >>> 2) https://svn.apache.org/repos/asf/myfaces/core/tags/myface >>> s-core-module-2.3.0/ >>> >>> Also I know I have to do some modifications like the download links, >>> etc. But how do I create de core23 site? Is it automatically created when >>> the commands mentioned about are executed? >>> >>> Thanks again, >>> Eduardo >>> >>> On Mon, Mar 5, 2018 at 5:50 PM, Udo Schnurpfeil <[email protected]> >>> wrote: >>> >>>> Hi Eduardo, >>>> >>>> I'm using this description for the releases of Tobago, which might be >>>> quite similar: >>>> >>>> http://myfaces.apache.org/tobago/release-checklist.html >>>> >>>> For the distribution I use this Script (which is linked on the page >>>> obove). It loads the artefacts from the maven repo (you may also want to >>>> use your local artifacts, alliteratively. Than it checks the hashes and >>>> load the stuff up to SVN. >>>> >>>> http://myfaces.apache.org/tobago/scripts/release-artifacts.sh >>>> >>>> You may modify and use it. >>>> >>>> By the way, MD5 hashes shouldn't distributed any longer (the Tobago >>>> script is not up-to-date, here). >>>> >>>> Regards, >>>> >>>> Udo >>>> >>>> Am 05.03.18 um 23:21 schrieb Eduardo B: >>>> >>>> I found this link with good information: http://www.apache >>>> .org/legal/release-policy.html#upload-ci >>>> >>>> I think we need to upload the assembly files via SVN to >>>> https://dist.apache.org/repos/dist/release/myfaces/ >>>> >>>> Please correct me if I'm wrong. >>>> >>>> Eduardo >>>> >>>> On Mon, Mar 5, 2018 at 5:04 PM, Eduardo B <[email protected]> wrote: >>>> >>>>> Does anyone know how to upload the assembly files to any of these >>>>> pages to start distributing MyFaces Core 2.3.0? >>>>> >>>>> https://www.apache.org/dist/myfaces/ >>>>> https://dist.apache.org/repos/dist/release/myfaces/ >>>>> >>>>> >>>>> I tried via sftp but I was not able to connect. Once I figure that, I >>>>> should be able to also distribute it to maven central repository and also >>>>> deploy the myfaces core23 site. >>>>> >>>>> Regards, >>>>> Eduardo M. Breijo >>>>> >>>>> On Sat, Feb 24, 2018 at 8:33 PM, Leonardo Uribe <[email protected]> >>>>> wrote: >>>>> >>>>>> Hi >>>>>> >>>>>> Forget to say, you should "close repo" in nexus. If the artifacts >>>>>> has some bug you can click "drop" on nexus, if the artifacts are approved >>>>>> you can click on "release". >>>>>> >>>>>> regards, >>>>>> >>>>>> Leonardo Uribe >>>>>> >>>>>> 2018-02-24 20:31 GMT-05:00 Leonardo Uribe <[email protected]>: >>>>>> >>>>>>> Hi >>>>>>> >>>>>>> I can see the artifacts in nexus. >>>>>>> >>>>>>> Please log in >>>>>>> >>>>>>> https://repository.apache.org >>>>>>> >>>>>>> Click on staging repositories >>>>>>> >>>>>>> The path of the artifacts is there: >>>>>>> >>>>>>> https://repository.apache.org/content/repositories/orgapache >>>>>>> myfaces-1130/org/apache/myfaces/core/myfaces-core-assembly/ >>>>>>> >>>>>>> But you need to close the repo so the artifacts can be downloaded. >>>>>>> >>>>>>> regards, >>>>>>> >>>>>>> Leonardo Uribe >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> 2018-02-24 20:13 GMT-05:00 Thomas Andraschko < >>>>>>> [email protected]>: >>>>>>> >>>>>>>> I thougt there are available in the root but cant find it: >>>>>>>> https://repository.apache.org/content/repositories/ >>>>>>>> >>>>>>>> Am Freitag, 23. Februar 2018 schrieb Eduardo B : >>>>>>>> >>>>>>>>> Can you send me the link to that orgapachemyfaces-1130 repo? I >>>>>>>>> tried looking https://repository.apache.org/content/repositories/s >>>>>>>>> taging/org/apache/myfaces/ but I could not find it. >>>>>>>>> >>>>>>>>> On Fri, Feb 23, 2018 at 12:21 PM, Dennis Kieselhorst < >>>>>>>>> [email protected]> wrote: >>>>>>>>> >>>>>>>>>> > On nexus repository I only see the snapshot of 2.3.1-SNAPSHOT: >>>>>>>>>> > https://repository.apache.org/content/repositories/snapshots >>>>>>>>>> /org/apache/myfaces/core/myfaces-core-module/2.3.1-SNAPSHOT/ >>>>>>>>>> >>>>>>>>>> As far as I can see a staging repo on nexus has been created: >>>>>>>>>> Repository orgapachemyfaces-1130 (org.apache.myfaces) >>>>>>>>>> Created Thursday, February 22, 2018 20:42:43 GMT (GMT+0100) >>>>>>>>>> Updated Thursday, February 22, 2018 20:42:43 GMT (GMT+0100) >>>>>>>>>> Activity >>>>>>>>>> Last operation completed successfully >>>>>>>>>> Owner embreijo (129.42.208.179) >>>>>>>>>> User-Agent Apache-Maven/3.3.9 (Java 1.8.0_121; Mac OS X >>>>>>>>>> 10.13.3) >>>>>>>>>> >>>>>>>>>> So looks like you can continue with it... >>>>>>>>>> >>>>>>>>>> Regards >>>>>>>>>> Dennis >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>>> >>> >> >> >
