Alfresco Maven-简单模块Jar

Alfresco Maven-简单模块Jar,maven,alfresco,Maven,Alfresco,我正在尝试创建一个alfresco扩展jar模块,如中所述 并使用上提供的示例简单模块 但是,当我将SDK从2.1.0更改为2.2.0时,项目不会构建 原因:org.apache.ibatis.builder.BuilderException:未能获取资源:alfresco/ibatis/#resource.dialogue#/activities-insert-SqlMap.xml 非常感谢您的建议 问候,, Kavi尝试以下pom.xml更改: 更改Alfresco SDK版本: <

我正在尝试创建一个alfresco扩展jar模块,如中所述 并使用上提供的示例简单模块 但是,当我将SDK从2.1.0更改为2.2.0时,项目不会构建

原因:org.apache.ibatis.builder.BuilderException:未能获取资源:alfresco/ibatis/#resource.dialogue#/activities-insert-SqlMap.xml

非常感谢您的建议

问候,,
Kavi

尝试以下
pom.xml
更改:

  • 更改Alfresco SDK版本:

    <parent>
        <groupId>org.alfresco.maven</groupId>
        <artifactId>alfresco-sdk-parent</artifactId>
        <version>2.2.0</version>
    </parent>
    
。。。或者只是克隆:)

现在,删除文件夹
alf_data\u dev
target
,然后运行:

 mvn clean package

@想象一下,在提起这个案子之前,我确实检查了你指出的链接。提到的链接指的是使用ALL-IN-ONE项目,但我使用的是Alfresco扩展jar模块项目,我还尝试在我的pom中添加建议的依赖项,但它不起作用。当SDK版本保持不变时,它能起作用吗?通常,SDK版本更改需要的不仅仅是更改版本。
<dependencies>
    <dependency>
        <groupId>${alfresco.groupId}</groupId>
        <artifactId>alfresco-repository</artifactId>
    </dependency>

    <!-- Bring in the H2 Database scripts -->
    <dependency>
        <groupId>${alfresco.groupId}</groupId>
        <artifactId>alfresco-repository</artifactId>
        <version>${alfresco.version}</version>
        <classifier>h2scripts</classifier>
        <scope>test</scope>
        <exclusions>
            <exclusion>
                <groupId>*</groupId>
                <artifactId>*</artifactId>
            </exclusion>
        </exclusions>
    </dependency>

</dependencies>
    <dependency>
        <groupId>org.alfresco.maven</groupId>
        <artifactId>alfresco-rad</artifactId>
        <version>${maven.alfresco.version}</version>
    </dependency>
 mvn clean package