Java Maven assembly pugin创建程序集归档时出错

Java Maven assembly pugin创建程序集归档时出错,java,maven,jenkins,maven-assembly-plugin,Java,Maven,Jenkins,Maven Assembly Plugin,我有一个作为“家长”的家长项目。我在这方面有很多模块。我关心的一个模块是使用maven汇编插件,称之为“确认”。现在,当我从除“确认”之外的所有其他模块中删除时,生成会成功,但当我将所有模块与模块确认一起作为一个整体生成父模块时,生成会在分发程序集中失败,并出现以下错误: 在此工件包含筛选器中从未触发以下模式: o'com.parent.child:' 未能在项目分发上执行目标org.apache.maven.plugins:maven程序集插件:2.6:single(二进制文件):未能创建程序

我有一个作为“家长”的家长项目。我在这方面有很多模块。我关心的一个模块是使用maven汇编插件,称之为“确认”。现在,当我从除“确认”之外的所有其他模块中删除时,生成会成功,但当我将所有模块与模块确认一起作为一个整体生成父模块时,生成会在分发程序集中失败,并出现以下错误:

在此工件包含筛选器中从未触发以下模式: o'com.parent.child:'

未能在项目分发上执行目标org.apache.maven.plugins:maven程序集插件:2.6:single(二进制文件):未能创建程序集:创建程序集存档时出错确认:必须至少设置一个文件

这是我的分发程序集xml

<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd">
<id>affirm</id>

<formats>
    <format>zip</format>
</formats>

<includeBaseDirectory>false</includeBaseDirectory>

<moduleSets>
    <moduleSet>
        <useAllReactorProjects>true</useAllReactorProjects>
        <includes>
            <include>com.parent.child*</include>
        </includes>
        <binaries>
            <includeDependencies>false</includeDependencies>
            <unpack>false</unpack>
        </binaries>
    </moduleSet>
</moduleSets>

断言
拉链
假的
真的
com.parent.child*
假的
假的

该构建在本地运行时工作正常,但在jenkins上仅与所有其他模块一起运行时失败。我读到了一些与此相关的其他答案,其中一个说包含dependecyset,但在这种情况下,即使是我的本地构建也无法给出未识别标记的错误

请原谅我没有给出完整的代码,这违反了我公司的政策。如果还需要别的东西,请告诉我