<?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 TaskService in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/taskservice/m-p/325827#M12828</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;I want to use TaskService for one of operation, but not able to import &lt;STRONG&gt;org.nuxeo.ecm.platform.task&lt;/STRONG&gt; package and as a result &lt;STRONG&gt;TaskService&lt;/STRONG&gt; also not found.&lt;/P&gt;
&lt;P&gt;Which maven dependency I need to include to solve this problem ?&lt;/P&gt;
&lt;P&gt;Appreciating your help. Thank you.&lt;/P&gt;
&lt;P&gt;Note*: we are using Nuxeo LTS 2021.1.19 version.&lt;/P&gt;
&lt;P&gt;Regards,
Vinit Shah&lt;/P&gt;</description>
    <pubDate>Tue, 01 Nov 2022 07:24:20 GMT</pubDate>
    <dc:creator>Vinit_Shah</dc:creator>
    <dc:date>2022-11-01T07:24:20Z</dc:date>
    <item>
      <title>TaskService</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/taskservice/m-p/325827#M12828</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;I want to use TaskService for one of operation, but not able to import &lt;STRONG&gt;org.nuxeo.ecm.platform.task&lt;/STRONG&gt; package and as a result &lt;STRONG&gt;TaskService&lt;/STRONG&gt; also not found.&lt;/P&gt;
&lt;P&gt;Which maven dependency I need to include to solve this problem ?&lt;/P&gt;
&lt;P&gt;Appreciating your help. Thank you.&lt;/P&gt;
&lt;P&gt;Note*: we are using Nuxeo LTS 2021.1.19 version.&lt;/P&gt;
&lt;P&gt;Regards,
Vinit Shah&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 07:24:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/taskservice/m-p/325827#M12828</guid>
      <dc:creator>Vinit_Shah</dc:creator>
      <dc:date>2022-11-01T07:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: TaskService</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/taskservice/m-p/325828#M12829</link>
      <description>&lt;P&gt;I hope there is some better way of doing it, or better tooling, because I also struggle with this and it makes the development tedious.
For now what I am doing is:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Note: You need the complete sources including the addons. Also I am doing this for LTS2019 but the process should be the same.&lt;/EM&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Find the corresponding java file in the sources
i.e. &lt;CODE&gt;./nuxeo-features/nuxeo-platform-task/nuxeo-platform-task-api/src/main/java/org/nuxeo/ecm/platform/task/TaskService.java&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;open the the associated &lt;CODE&gt;pom.xml&lt;/CODE&gt;
i.e. &lt;CODE&gt;./nuxeo-features/nuxeo-platform-task/nuxeo-platform-task-api/pom.xml&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;note the parent group id &lt;CODE&gt;org.nuxeo.ecm.platform&lt;/CODE&gt; and the artificatId (not the parent one) &lt;CODE&gt;nuxeo-platform-task-api&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Add these as a dependency in your &lt;CODE&gt;pom.xml&lt;/CODE&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;dependency&amp;gt;
      &amp;lt;groupId&amp;gt;org.nuxeo.ecm.platform&amp;lt;/groupId&amp;gt;
      &amp;lt;artifactId&amp;gt;nuxeo-platform-task-api&amp;lt;/artifactId&amp;gt;
    &amp;lt;/dependency&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you specifiy nuxeo (e.g. &lt;CODE&gt;nuxeo-addons-parent&lt;/CODE&gt;) as your parent you should not need a version tag (e.g. &lt;CODE&gt;&amp;lt;version&amp;gt;10.10&amp;lt;/version&amp;gt;&lt;/CODE&gt;).&lt;/P&gt;
&lt;P&gt;But: More often this is not enough and you keep doing these steps again and again for different missing dependencies. Sometimes there is a parent artificat that is more appropirate to use instead of listing all the single dependencies.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 08:29:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/taskservice/m-p/325828#M12829</guid>
      <dc:creator>Konrad_Krenzlin</dc:creator>
      <dc:date>2022-11-01T08:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: TaskService</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/taskservice/m-p/325829#M12830</link>
      <description>&lt;P&gt;Thanks [Konrad Krenzlin](https&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 09:56:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/taskservice/m-p/325829#M12830</guid>
      <dc:creator>Vinit_Shah</dc:creator>
      <dc:date>2022-11-01T09:56:34Z</dc:date>
    </item>
  </channel>
</rss>

