<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Any available link for alfresco-remote-api in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/any-available-link-for-alfresco-remote-api/m-p/124949#M34129</link>
    <description>&lt;P&gt;Use this repository:&amp;nbsp;&lt;A href="https://github.com/Alfresco/alfresco-community-repo" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/Alfresco/alfresco-community-repo&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Alfresco/alfresco-community-repo/tree/master/remote-api" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/Alfresco/alfresco-community-repo/tree/master/remote-api&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The one you are using is archived.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make sure you have installed Java11 on your machine, default source version is 11 and you should not change it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Oracle jdk-11.0.1 or later/Open JDK 11.0.1 or later is required to build the master branch.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1- Install java11, open command prompt/shell and check the "java -version". It should indicate the java 11 version.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2- Open command prompt/shell and navigate to the folder "alfresco-community-repo" containing parent pom.xml&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3- execute mvn clean package&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;mvn clean package -P&lt;A href="https://github.com/Alfresco/alfresco-community-repo/blob/master/packaging/pom.xml#L26" target="_self" rel="nofollow noopener noreferrer"&gt;community&lt;/A&gt; -DskipTests=true -Dversion.edition=Community&lt;/PRE&gt;</description>
    <pubDate>Thu, 17 Dec 2020 16:03:59 GMT</pubDate>
    <dc:creator>abhinavmishra14</dc:creator>
    <dc:date>2020-12-17T16:03:59Z</dc:date>
    <item>
      <title>Any available link for alfresco-remote-api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/any-available-link-for-alfresco-remote-api/m-p/124948#M34128</link>
      <description>&lt;P&gt;Any available link for alfresco-remote-api that can be compiled and build on jdk 8.&lt;/P&gt;&lt;P&gt;I have a link&amp;nbsp;&lt;A href="https://github.com/Alfresco/alfresco-remote-api" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-remote-api&lt;/A&gt; for which i am trying to build the project but getting error :-&lt;/P&gt;&lt;P&gt;bad class file: C:\Users\infoadmin\.m2\repository\org\alfresco\alfresco-data-model\8.158\alfresco-data-model-8.158.jar(org/alfresco/model/ContentModel.class)&lt;BR /&gt;class file has wrong version 55.0, should be 52.0&lt;BR /&gt;Please remove or make sure it appears in the correct subdirectory of the classpath.&lt;/P&gt;&lt;P&gt;Before building this project i have changed&amp;nbsp; &amp;lt;maven.build.sourceVersion&amp;gt;11&amp;lt;/maven.build.sourceVersion&amp;gt; to&amp;nbsp; &amp;lt;maven.build.sourceVersion&amp;gt;8&amp;lt;/maven.build.sourceVersion&amp;gt; in pom.xml .. then also error is coming..&lt;/P&gt;&lt;P&gt;1- Is there any link or project is there that can be compiled using jdk 8..&lt;/P&gt;&lt;P&gt;2-Or any changes i should do in the pom file of the link above.&lt;/P&gt;&lt;P&gt;Please suggest as i am trying very hard.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 09:49:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/any-available-link-for-alfresco-remote-api/m-p/124948#M34128</guid>
      <dc:creator>akash251998</dc:creator>
      <dc:date>2020-12-17T09:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Any available link for alfresco-remote-api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/any-available-link-for-alfresco-remote-api/m-p/124949#M34129</link>
      <description>&lt;P&gt;Use this repository:&amp;nbsp;&lt;A href="https://github.com/Alfresco/alfresco-community-repo" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/Alfresco/alfresco-community-repo&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Alfresco/alfresco-community-repo/tree/master/remote-api" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/Alfresco/alfresco-community-repo/tree/master/remote-api&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The one you are using is archived.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make sure you have installed Java11 on your machine, default source version is 11 and you should not change it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Oracle jdk-11.0.1 or later/Open JDK 11.0.1 or later is required to build the master branch.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1- Install java11, open command prompt/shell and check the "java -version". It should indicate the java 11 version.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2- Open command prompt/shell and navigate to the folder "alfresco-community-repo" containing parent pom.xml&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3- execute mvn clean package&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;mvn clean package -P&lt;A href="https://github.com/Alfresco/alfresco-community-repo/blob/master/packaging/pom.xml#L26" target="_self" rel="nofollow noopener noreferrer"&gt;community&lt;/A&gt; -DskipTests=true -Dversion.edition=Community&lt;/PRE&gt;</description>
      <pubDate>Thu, 17 Dec 2020 16:03:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/any-available-link-for-alfresco-remote-api/m-p/124949#M34129</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-12-17T16:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Any available link for alfresco-remote-api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/any-available-link-for-alfresco-remote-api/m-p/124950#M34130</link>
      <description>&lt;P&gt;I am using alfresco 5.2 and if I use JDK 11 to build then it is giving error compiled from higher version 55 need 52.&lt;/P&gt;&lt;P&gt;Now what we should do. My requirement is to sort workflow by start date for that we need to override the web script TaksInstancesGet&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 16:16:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/any-available-link-for-alfresco-remote-api/m-p/124950#M34130</guid>
      <dc:creator>akash251998</dc:creator>
      <dc:date>2020-12-17T16:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Any available link for alfresco-remote-api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/any-available-link-for-alfresco-remote-api/m-p/124951#M34131</link>
      <description>&lt;P&gt;You have tagged the post with ACS6x too. For 5.2 version you need to use the same repo and find the tag specific to 5.2.x.&amp;nbsp; Source of the 5.2.x tag can be found here as well, if you want to take a reference:&amp;nbsp;&lt;A href="https://artifacts.alfresco.com/nexus/service/local/repositories/releases/content/org/alfresco/alfresco-remote-api/5.2.g/alfresco-remote-api-5.2.g-sources.jar" target="_blank" rel="noopener nofollow noreferrer"&gt;https://artifacts.alfresco.com/nexus/service/local/repositories/releases/content/org/alfresco/alfresco-remote-api/5.2.g/alfresco-remote-api-5.2.g-sources.jar&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;However, the right way to extend the webscript is to use the extension, it is not required to build the alfresco source project unless you are building your own version of acs with something that can't be done without building your custom build. Check support to make sure this type of version is supported or not if you are using enterprise version.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here you can find example of extending an out of the box webscript:&amp;nbsp;&lt;A href="https://javaworld-abhinav.blogspot.com/2020/06/change-type-of-custom-content-types.html&amp;nbsp;" target="_blank" rel="noopener nofollow noreferrer"&gt;https://javaworld-abhinav.blogspot.com/2020/06/change-type-of-custom-content-types.html&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This the webscript you want to extend:&amp;nbsp;&lt;A href="https://github.com/Alfresco/alfresco-community-repo/blob/master/remote-api/src/main/resources/alfresco/templates/webscripts/org/alfresco/repository/workflow/task-instances.get.desc.xml" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/Alfresco/alfresco-community-repo/blob/master/remote-api/src/main/resources/alfresco/templates/webscripts/org/alfresco/repository/workflow/task-instances.get.desc.xml&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You can take the reference of above post and extend the webscript if that solves your issue. You can also create your custom webscript and use &lt;A href="https://github.com/Alfresco/alfresco-community-repo/blob/master/repository/src/main/java/org/alfresco/repo/workflow/WorkflowServiceImpl.java" target="_self" rel="nofollow noopener noreferrer"&gt;WorkflowService&lt;/A&gt;&amp;nbsp;, This requries UI component to use your custom webscript instead of ootb webscript.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 16:32:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/any-available-link-for-alfresco-remote-api/m-p/124951#M34131</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-12-17T16:32:27Z</dc:date>
    </item>
  </channel>
</rss>

