<?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: Building SomeCo Example Code with Maven SDK in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/building-someco-example-code-with-maven-sdk/m-p/284592#M237722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Post starting lines from&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;src/main/config/module-context.xml&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And as a side-note: stay away from "AMP using the Maven Alfresco SDK".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Sep 2013 08:44:20 GMT</pubDate>
    <dc:creator>mibesis</dc:creator>
    <dc:date>2013-09-12T08:44:20Z</dc:date>
    <item>
      <title>Building SomeCo Example Code with Maven SDK</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/building-someco-example-code-with-maven-sdk/m-p/284591#M237721</link>
      <description>Hi All,I'm attempting to port the SomeCo example application to an AMP using the Maven Alfresco SDK:https://artifacts.alfresco.com/nexus/content/repositories/alfresco-docs/alfresco-lifecycle-aggregator/latest/archetypes/alfresco-amp-archetype/index.htmlI've hit a problem to do with the build of the</description>
      <pubDate>Wed, 04 Sep 2013 08:52:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/building-someco-example-code-with-maven-sdk/m-p/284591#M237721</guid>
      <dc:creator>rjoinson</dc:creator>
      <dc:date>2013-09-04T08:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Building SomeCo Example Code with Maven SDK</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/building-someco-example-code-with-maven-sdk/m-p/284592#M237722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Post starting lines from&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;src/main/config/module-context.xml&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And as a side-note: stay away from "AMP using the Maven Alfresco SDK".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 08:44:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/building-someco-example-code-with-maven-sdk/m-p/284592#M237722</guid>
      <dc:creator>mibesis</dc:creator>
      <dc:date>2013-09-12T08:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Building SomeCo Example Code with Maven SDK</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/building-someco-example-code-with-maven-sdk/m-p/284593#M237723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #000000; background: #fafafa; border: 0px; font-size: 14px; margin: 0px 10px 1rem 0px;"&gt;Thanks for your reply, Maribor. Sorry about the delay in coming back.&lt;/P&gt;&lt;P style="color: #000000; background: #fafafa; border: 0px; font-size: 14px; margin: 0px 10px 1rem 0px;"&gt;Here's post you requested (1) and also the file it references (2).&lt;/P&gt;&lt;P style="color: #000000; background: #fafafa; border: 0px; font-size: 14px; margin: 0px 10px 1rem 0px;"&gt;Either of the commented out beans in (2) causes the error to be thrown when uncommented.&lt;/P&gt;&lt;P style="color: #000000; background: #fafafa; border: 0px; font-size: 14px; margin: 0px 10px 1rem 0px;"&gt;Best Regards,&lt;BR /&gt;-- Robin&lt;/P&gt;&lt;P style="color: #000000; background: #fafafa; border: 0px; font-size: 14px; margin: 0px 10px 1rem 0px;"&gt;(1)&lt;BR /&gt;&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;&lt;BR /&gt;&amp;lt;!--&lt;BR /&gt;Licensed to the Apache Software Foundation (ASF) under one or more&lt;BR /&gt;contributor license agreements. &lt;BR /&gt;The ASF licenses this file to You under the Apache License, Version 2.0&lt;BR /&gt;(the "License"); you may not use this file except in compliance with&lt;BR /&gt;the License. You may obtain a copy of the License at&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.apache.org/licenses/LICENSE-2.0" rel="nofollow noopener noreferrer" style="color: #56a3d9; background: transparent; border: 0px; font-weight: bold; font-size: 14px;"&gt;http://www.apache.org/licenses/LICENSE-2.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unless required by applicable law or agreed to in writing, software&lt;BR /&gt;distributed under the License is distributed on an "AS IS" BASIS,&lt;BR /&gt;WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&lt;BR /&gt;See the License for the specific language governing permissions and&lt;BR /&gt;limitations under the License.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/dtd/spring-beans.dtd" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/dtd/spring-beans.dtd&lt;/A&gt;&lt;SPAN&gt;'&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; background: #fafafa; border: 0px; font-size: 14px; margin: 0px 10px 1rem 0px;"&gt;&amp;lt;beans&amp;gt;&lt;BR /&gt;&amp;lt;!-- This is filtered by Maven at build time, so that module name is single sourced. --&amp;gt;&lt;BR /&gt;&amp;lt;import resource="classpath:alfresco/module/${project.artifactId}/context/service-context.xml" /&amp;gt;&lt;BR /&gt;&amp;lt;/beans&amp;gt;&lt;/P&gt;&lt;P style="color: #000000; background: #fafafa; border: 0px; font-size: 14px; margin: 0px 10px 1rem 0px;"&gt;(2)&lt;/P&gt;&lt;P style="color: #000000; background: #fafafa; border: 0px; font-size: 14px; margin: 0px 10px 1rem 0px;"&gt;&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/dtd/spring-beans.dtd" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/dtd/spring-beans.dtd&lt;/A&gt;&lt;SPAN&gt;'&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;lt;!--&lt;BR /&gt;Licensed to the Apache Software Foundation (ASF) under one or more&lt;BR /&gt;contributor license agreements. See the NOTICE file distributed with&lt;BR /&gt;this work for additional information regarding copyright ownership.&lt;BR /&gt;The ASF licenses this file to You under the Apache License, Version 2.0&lt;BR /&gt;(the "License"); you may not use this file except in compliance with&lt;BR /&gt;the License. You may obtain a copy of the License at&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.apache.org/licenses/LICENSE-2.0" rel="nofollow noopener noreferrer" style="color: #56a3d9; background: transparent; border: 0px; font-weight: bold; font-size: 14px;"&gt;http://www.apache.org/licenses/LICENSE-2.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unless required by applicable law or agreed to in writing, software&lt;BR /&gt;distributed under the License is distributed on an "AS IS" BASIS,&lt;BR /&gt;WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&lt;BR /&gt;See the License for the specific language governing permissions and&lt;BR /&gt;limitations under the License.&lt;BR /&gt;--&amp;gt;&lt;BR /&gt;&amp;lt;beans&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- A simple class that is initialized by Spring --&amp;gt;&lt;BR /&gt;&amp;lt;bean id="changeme.exampleBean" class="org.alfresco.demoamp.Demo" init-method="init" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- A simple module component that will be executed once --&amp;gt;&lt;BR /&gt;&amp;lt;bean id="changeme.exampleComponent" class="org.alfresco.demoamp.DemoComponent" parent="module.baseComponent" &amp;gt;&lt;BR /&gt;&amp;lt;property name="moduleId" value="${project.artifactId}" /&amp;gt; &amp;lt;!-- See module.properties --&amp;gt;&lt;BR /&gt;&amp;lt;property name="name" value="exampleComponent" /&amp;gt;&lt;BR /&gt;&amp;lt;property name="description" value="A demonstration component" /&amp;gt;&lt;BR /&gt;&amp;lt;property name="sinceVersion" value="2.0" /&amp;gt;&lt;BR /&gt;&amp;lt;property name="appliesFromVersion" value="2.0" /&amp;gt;&lt;BR /&gt;&amp;lt;property name="nodeService" ref="NodeService" /&amp;gt;&lt;BR /&gt;&amp;lt;property name="nodeLocatorService" ref="nodeLocatorService" /&amp;gt;&lt;BR /&gt;&amp;lt;/bean&amp;gt;&lt;BR /&gt;&amp;lt;bean id="com.someco.someco-repo.dictionaryBootstrap"&lt;BR /&gt;parent="dictionaryModelBootstrap"&lt;BR /&gt;depends-on="dictionaryBootstrap"&amp;gt;&lt;BR /&gt;&amp;amp;ltproperty name="models"&amp;gt;&lt;BR /&gt;&amp;lt;list&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;alfresco/module/${artifactId}/model/scModel.xml&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/list&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="labels"&amp;gt;&lt;BR /&gt;&amp;lt;list&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;alfresco/module/${artifactId}/messages/scModel&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/list&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;/bean&amp;gt;&lt;BR /&gt;&amp;lt;!-- bean id="com.someco.someco-repo.bootstrapConfigBootstrap"&lt;BR /&gt;class="org.alfresco.web.config.WebClientConfigBootstrap"&lt;BR /&gt;init-method="init"&amp;gt;&lt;BR /&gt;&amp;lt;property name="configs"&amp;gt;&lt;BR /&gt;&amp;lt;list&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;classpath:alfresco/module/${artifactId}/ui/web-client-config.xml&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/list&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;/bean --&amp;gt;&lt;BR /&gt;&amp;lt;!--bean id="com.someco.someco-repo.bootstrapMyAmpBundlesBean"&lt;BR /&gt;class="org.alfresco.web.app.ResourceBundleBootstrap"&amp;gt;&lt;BR /&gt;&amp;lt;property name="resourceBundles"&amp;gt;&lt;BR /&gt;&amp;lt;list&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;alfresco.module.${artifactId}.messages.webclient&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/list&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;/bean --&amp;gt;&lt;BR /&gt;&amp;lt;/beans&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Sep 2013 20:08:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/building-someco-example-code-with-maven-sdk/m-p/284593#M237723</guid>
      <dc:creator>rjoinson</dc:creator>
      <dc:date>2013-09-28T20:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Building SomeCo Example Code with Maven SDK</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/building-someco-example-code-with-maven-sdk/m-p/284594#M237724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am going to convert the Alfresco Developer Series content tutorial to leverage Maven to build an AMP. If you've already done it, I'd rather just merge in your pull request than duplicate your work. Let me know if that's the case, otherwise, I'll get started and I'll update this thread when it is done and checked in to github.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 18:26:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/building-someco-example-code-with-maven-sdk/m-p/284594#M237724</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2013-10-18T18:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Building SomeCo Example Code with Maven SDK</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/building-someco-example-code-with-maven-sdk/m-p/284595#M237725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've migrated the custom content types tutorial to use Maven and AMPs. Take a look:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/jpotts/alfresco-developer-series/tree/master/content" rel="nofollow noopener noreferrer"&gt;https://github.com/jpotts/alfresco-developer-series/tree/master/content&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You might compare it to your pom.xml and see if it helps you figure out what the problem with your version is.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Oct 2013 23:24:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/building-someco-example-code-with-maven-sdk/m-p/284595#M237725</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2013-10-20T23:24:10Z</dc:date>
    </item>
  </channel>
</rss>

