<?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: Ecmarchitect: Working with Custom content types in Alfresco - Part 3 in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/ecmarchitect-working-with-custom-content-types-in-alfresco-part/m-p/147729#M39089</link>
    <description>&lt;P&gt;Maven doesn't find the JAR including the compiled code.&lt;/P&gt;
&lt;P&gt;Probably you only need to build and package your project, try to execute the following before that command:&lt;/P&gt;
&lt;P&gt;mvn clean install&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jul 2021 09:10:45 GMT</pubDate>
    <dc:creator>openpj</dc:creator>
    <dc:date>2021-07-13T09:10:45Z</dc:date>
    <item>
      <title>Ecmarchitect: Working with Custom content types in Alfresco - Part 3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ecmarchitect-working-with-custom-content-types-in-alfresco-part/m-p/147728#M39088</link>
      <description>&lt;P&gt;Hello everybody!&lt;/P&gt;&lt;P&gt;I'm planning on completing the tutorials, but I can't get past this &lt;A href="https://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html#start-your-repository" target="_self" rel="nofollow noopener noreferrer"&gt;part&lt;/A&gt;. I also just picked up maven and I'm just a beginner. I'm working with the Alfresco SDK 4.1.0 allinone on ubuntu 18.04.&lt;/P&gt;&lt;P&gt;I don't understand what means a "sibling folder". Anyways, I created my content-tutorial-cmis&amp;nbsp; directory as follow:&lt;/P&gt;&lt;PRE&gt;Parent directory
├──&amp;nbsp;content-tutorial
└── content-tutorial-cmis&lt;/PRE&gt;&lt;P&gt;When running the command:&lt;/P&gt;&lt;PRE&gt;mvn exec:java \
-Dexec.mainClass="com.someco.cmis.examples.SomeCoCMISDataCreator" \
-Dexec.args="admin admin SomeCo whitepaper test"&lt;/PRE&gt;&lt;P&gt;I get the error:&lt;/P&gt;&lt;PRE&gt;[ERROR] Failed to execute goal on project content-tutorial-cmis: Could not resolve dependencies for project com.someco:content-tutorial-cmis:jar:1.0-SNAPSHOT: Could not find artifact com.someco:content-tutorial:jar:1.0-SNAPSHOT -&amp;gt; [Help 1]&lt;/PRE&gt;&lt;P&gt;I believe the cause is that content-tutorial-cmis pom.xml doesn't&amp;nbsp; properly define&amp;nbsp; the dependency to the sibling project, or that the project was created in the wrong directory.&lt;/P&gt;&lt;P&gt;Can you please help me fix this error?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 07:26:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ecmarchitect-working-with-custom-content-types-in-alfresco-part/m-p/147728#M39088</guid>
      <dc:creator>idebonis</dc:creator>
      <dc:date>2021-07-13T07:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Ecmarchitect: Working with Custom content types in Alfresco - Part 3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ecmarchitect-working-with-custom-content-types-in-alfresco-part/m-p/147729#M39089</link>
      <description>&lt;P&gt;Maven doesn't find the JAR including the compiled code.&lt;/P&gt;
&lt;P&gt;Probably you only need to build and package your project, try to execute the following before that command:&lt;/P&gt;
&lt;P&gt;mvn clean install&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 09:10:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ecmarchitect-working-with-custom-content-types-in-alfresco-part/m-p/147729#M39089</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2021-07-13T09:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Ecmarchitect: Working with Custom content types in Alfresco - Part 3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ecmarchitect-working-with-custom-content-types-in-alfresco-part/m-p/147730#M39090</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/86383"&gt;@idebonis&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A 'sibling folder' is two or more folders/directories on the same level that share the same parent. So they are brothers &amp;amp;/or sisters (siblings).&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; parent-folder&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;/P&gt;
&lt;P&gt;folderA&amp;nbsp; &amp;nbsp; folderB&lt;/P&gt;
&lt;P&gt;So the file path would look something like this:&lt;/P&gt;
&lt;P&gt;documentLibrary &amp;gt; parent-folder &amp;gt; folderA&lt;/P&gt;
&lt;P&gt;documentLibrary &amp;gt; parent-folder &amp;gt; folderB&lt;/P&gt;

&lt;P&gt;HTH&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 15:37:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ecmarchitect-working-with-custom-content-types-in-alfresco-part/m-p/147730#M39090</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2021-07-13T15:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ecmarchitect: Working with Custom content types in Alfresco - Part 3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ecmarchitect-working-with-custom-content-types-in-alfresco-part/m-p/147731#M39091</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/76783"&gt;@EddieMay&lt;/A&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/86383"&gt;@idebonis&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A 'sibling folder' is two or more folders/directories on the same level that share the same parent. So they are brothers &amp;amp;/or sisters (siblings).&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thanks &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/76783"&gt;@EddieMay&lt;/A&gt;&amp;nbsp;, although the error still persist, it's much clear now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The tutorial indicates to start a project "content-tutorial" in &lt;A href="https://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html#implementing-and-deploying-the-model" target="_self" rel="nofollow noopener noreferrer"&gt;part 1&lt;/A&gt;, but in &lt;A href="https://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html#setup" target="_self" rel="nofollow noopener noreferrer"&gt;part 3&amp;nbsp;&lt;/A&gt;it says to make a sibling folder for the project "content-tutorial-cmis".&amp;nbsp; So, I need to setup a maven project&amp;nbsp; in the parent directory that links both of them? How could I do that?&lt;/P&gt;&lt;P&gt;Or do I need to put the "content-tutorial-cmis" project in the "content-tutorial" project directory?&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/43097"&gt;@openpj&lt;/A&gt;&amp;nbsp;for your reply, I already ran the comamnd several times, so I believe that the problem radicates in a poorly built maven project.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 22:20:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ecmarchitect-working-with-custom-content-types-in-alfresco-part/m-p/147731#M39091</guid>
      <dc:creator>idebonis</dc:creator>
      <dc:date>2021-07-13T22:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ecmarchitect: Working with Custom content types in Alfresco - Part 3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ecmarchitect-working-with-custom-content-types-in-alfresco-part/m-p/147732#M39092</link>
      <description>&lt;P&gt;First, make sure you've done a "mvn clean install" on the content-tutorial project so that its build artifacts are in your local maven repository.&lt;/P&gt;
&lt;P&gt;Next, change to the content-tutorial-cmis directory and run that build and it should complete without error.&lt;/P&gt;
&lt;P&gt;If it does not, please open an issue and include the output of your mvn clean install so myself or others can debug it.&lt;/P&gt;
&lt;P&gt;Thanks for reading the tutorial!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 17:43:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ecmarchitect-working-with-custom-content-types-in-alfresco-part/m-p/147732#M39092</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2021-07-14T17:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Ecmarchitect: Working with Custom content types in Alfresco - Part 3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ecmarchitect-working-with-custom-content-types-in-alfresco-part/m-p/147733#M39093</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/70191"&gt;@jpotts&lt;/A&gt;&amp;nbsp; for your answer.&lt;/P&gt;&lt;P&gt;Truth be told, up until now I've been running "&lt;SPAN&gt;mvn clean install -DskipTests", s&lt;/SPAN&gt;&lt;SPAN&gt;ince whenever I ran mvn clean install, I get the error:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;[INFO] --- maven-failsafe-plugin:3.0.0-M1:integration-test (integration-test) @ content-tutorial-integration-tests ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.someco.platformsample.CustomContentModelIT
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.695 s &amp;lt;&amp;lt;&amp;lt; FAILURE! - in com.someco.platformsample.CustomContentModelIT
[ERROR] testCustomContentModelPresence(com.someco.platformsample.CustomContentModelIT)  Time elapsed: 0.687 s  &amp;lt;&amp;lt;&amp;lt; ERROR!
org.apache.http.conn.HttpHostConnectException: Connect to localhost:8080 [localhost/127.0.0.1] failed: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

[ERROR] testCreateAcmeDocument(com.someco.platformsample.CustomContentModelIT)  Time elapsed: 0.002 s  &amp;lt;&amp;lt;&amp;lt; ERROR!
org.apache.http.conn.HttpHostConnectException: Connect to localhost:8080 [localhost/127.0.0.1] failed: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

[INFO] Running com.someco.platformsample.HelloWorldWebScriptIT
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 s &amp;lt;&amp;lt;&amp;lt; FAILURE! - in com.someco.platformsample.HelloWorldWebScriptIT
[ERROR] testWebScriptCall(com.someco.platformsample.HelloWorldWebScriptIT)  Time elapsed: 0 s  &amp;lt;&amp;lt;&amp;lt; ERROR!
org.apache.http.conn.HttpHostConnectException: Connect to localhost:8080 [localhost/127.0.0.1] failed: Connection refused (Connection refused)
	at com.someco.platformsample.HelloWorldWebScriptIT.testWebScriptCall(HelloWorldWebScriptIT.java:67)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at com.someco.platformsample.HelloWorldWebScriptIT.testWebScriptCall(HelloWorldWebScriptIT.java:67)

[INFO] Running com.someco.platformsample.DemoComponentIT
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0 s &amp;lt;&amp;lt;&amp;lt; FAILURE! - in com.someco.platformsample.DemoComponentIT
[ERROR] testChildNodesCount(com.someco.platformsample.DemoComponentIT)  Time elapsed: 0 s  &amp;lt;&amp;lt;&amp;lt; ERROR!
org.apache.http.conn.HttpHostConnectException: Connect to localhost:8080 [localhost/127.0.0.1] failed: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

[ERROR] testGetCompanyHome(com.someco.platformsample.DemoComponentIT)  Time elapsed: 0 s  &amp;lt;&amp;lt;&amp;lt; ERROR!
org.apache.http.conn.HttpHostConnectException: Connect to localhost:8080 [localhost/127.0.0.1] failed: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Errors: 
[ERROR]   CustomContentModelIT.testCreateAcmeDocument » HttpHostConnect Connect to local...
[ERROR]   CustomContentModelIT.testCustomContentModelPresence » HttpHostConnect Connect ...
[ERROR]   DemoComponentIT.testChildNodesCount » HttpHostConnect Connect to localhost:808...
[ERROR]   DemoComponentIT.testGetCompanyHome » HttpHostConnect Connect to localhost:8080...
[ERROR]   HelloWorldWebScriptIT.testWebScriptCall:67 » HttpHostConnect Connect to localh...
[INFO] 
[ERROR] Tests run: 5, Failures: 0, Errors: 5, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- maven-failsafe-plugin:3.0.0-M1:verify (verify-test) @ content-tutorial-integration-tests ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for AIO - SDK 4.0 1.0-SNAPSHOT:
[INFO] 
[INFO] AIO - SDK 4.0 ...................................... SUCCESS [  1.073 s]
[INFO] Alfresco Platform/Repository JAR Module ............ SUCCESS [ 12.933 s]
[INFO] Alfresco Share JAR Module .......................... SUCCESS [  1.503 s]
[INFO] Integration Tests Module ........................... FAILURE [  4.434 s]
[INFO] Alfresco Platform/Repository Docker Module ......... SKIPPED
[INFO] Alfresco Share Docker Module ....................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  20.055 s
[INFO] Finished at: 2021-07-15T19:12:29-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M1:verify (verify-test) on project content-tutorial-integration-tests: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/idebonis/Documents/Alfresco/2_Custom_Content_Types_Backup/content-tutorial/content-tutorial-integration-tests/target/failsafe-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -&amp;gt; [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn &amp;lt;args&amp;gt; -rf :content-tutorial-integration-tests&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ignacio De Bonis&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 23:19:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ecmarchitect-working-with-custom-content-types-in-alfresco-part/m-p/147733#M39093</guid>
      <dc:creator>idebonis</dc:creator>
      <dc:date>2021-07-15T23:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Ecmarchitect: Working with Custom content types in Alfresco - Part 3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ecmarchitect-working-with-custom-content-types-in-alfresco-part/m-p/147734#M39094</link>
      <description>&lt;P&gt;Hi &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/86383"&gt;@idebonis&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;Check &lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/alfresco-sdk4-integration-tests-module-possible-to-run-tests/td-p/292093" target="_self" rel="nofollow noopener noreferrer"&gt;this post&lt;/A&gt;, I think you have there your solution.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Cristina.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 07:29:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ecmarchitect-working-with-custom-content-types-in-alfresco-part/m-p/147734#M39094</guid>
      <dc:creator>cristinamr</dc:creator>
      <dc:date>2021-07-16T07:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Ecmarchitect: Working with Custom content types in Alfresco - Part 3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ecmarchitect-working-with-custom-content-types-in-alfresco-part/m-p/147735#M39095</link>
      <description>&lt;P&gt;Thanks everybody for your attention. The issue was finally solved thanks to&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/70191"&gt;@jpotts&lt;/A&gt;&amp;nbsp;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The dependency issue is solved when replacing the content-tutorial dependency in content-tutorial-cmis pom.xml with this one:&lt;/P&gt;&lt;PRE&gt;&amp;lt;dependency&amp;gt;
   &amp;lt;groupId&amp;gt;com.someco&amp;lt;/groupId&amp;gt;
   &amp;lt;artifactId&amp;gt;content-tutorial-platform&amp;lt;/artifactId&amp;gt;
   &amp;lt;version&amp;gt;1.0-SNAPSHOT&amp;lt;/version&amp;gt;
   &amp;lt;type&amp;gt;jar&amp;lt;/type&amp;gt;
&amp;lt;/dependency&amp;gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ignacio&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 03:17:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ecmarchitect-working-with-custom-content-types-in-alfresco-part/m-p/147735#M39095</guid>
      <dc:creator>idebonis</dc:creator>
      <dc:date>2021-07-20T03:17:52Z</dc:date>
    </item>
  </channel>
</rss>

