'The following patterns were never triggered in this artifact inclusion filter

I am working on on a maven project, and it has an assembly file in which specifies certain files/jars to include. The project was working fine, until I made some changes, where I added my project under another project as a module. this is from assembly file:

<dependencySets>
        <dependencySet>
            <outputDirectory>.</outputDirectory>
            <unpack>false</unpack>
            <useTransitiveDependencies>false</useTransitiveDependencies>
            <includes>
                <include>*:xyz:*</include>
                <include>*:mytestjar:*</include>
            </includes>
            <scope>runtime</scope>
        </dependencySet>

before I did the changes, when downoading the artifacts, the version of xyz was 1 so it was xyz-v1, however now after the changes I've done, the version is being get from the parent pom, so the same jar now has different version, so it is xyz-v1teamabranch12345.jar. Could the version change be the cause?

not that before the local repository was in same place of the project, however after the changes, the local repository is outside the project workspace.

Regards,



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source