soteria icon indicating copy to clipboard operation
soteria copied to clipboard

POM Breaks WildFly 14 Feature Pack

Open gesker opened this issue 7 years ago • 4 comments

https://issues.jboss.org/browse/WFLY-11265

[snip]

The org.glassfish.soteria:parent:1.0 pom has this unfortunate business:

-- ...   01 1.1-b01-SNAPSHOT   ${spec_impl_version}   ...     release 01 1.0

So when they build their stuff using the 'release' profile they depend on the non-snapshot but anyone whose tooling is following their dependency tree but not declaring a 'release' profile is going to see a SNAPSHOT version. And of course people are quite likely not going to specify a 'release' profile if they are not doing a release of their own stuff. [snip]

gesker avatar Nov 05 '18 23:11 gesker

Very, very unfortunate that happened indeed. See #193

arjantijms avatar Nov 05 '18 23:11 arjantijms

You can define the version explicitly

<dependency>
    <groupId>javax.security.enterprise</groupId>
    <artifactId>javax.security.enterprise-api</artifactId>
    <version>1.0</version>
</dependency>

There is more info about possible workarounds in the issue.

rdebusscher avatar Nov 06 '18 16:11 rdebusscher

Could the snapshot jar just be published on maven?

<properties>

    ...



    <!--

        <spec_build> and <spec_impl_version> are overridden

        below for the "release" profile, and must be updated

        in both places when the release or build number of

        the dependency changes.

    -->

    <spec_build>01</spec_build>

    <spec_impl_version>1.1-b01-SNAPSHOT</spec_impl_version>



    <api_dependency_version>${spec_impl_version}</api_dependency_version>



    ...



</properties>



<profiles>

    <profile>

        <id>release</id>

        <properties>

            <spec_build>01</spec_build>

            <spec_impl_version>1.0</spec_impl_version>

        </properties>

    </profile>

</profiles>

On Tue, Nov 6, 2018 at 9:02 AM Rudy De Busscher [email protected] wrote:

You can define the version explicitly

javax.security.enterprise javax.security.enterprise-api 1.0

There is more info about possible workarounds in the issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://mailtrack.io/trace/link/0d79cb65056a23541625130f78d10e128b82e72c?url=https%3A%2F%2Fgithub.com%2Feclipse-ee4j%2Fsoteria%2Fissues%2F236%23issuecomment-436306407&userId=3240016&signature=a4132f6409591b54, or mute the thread https://mailtrack.io/trace/link/601a7f3a895cfecffb180c7560572a44b85fdd4c?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGhrnk2a2c1ILUHev9g7iijHaekmy-zUks5usbKQgaJpZM4YPcwF&userId=3240016&signature=84eba43096ba61f3 .

--

Dennis R. Gesker [image: LinkedIn] https://mailtrack.io/trace/link/6897ec13610a0db54cd68cbb1c69fa943e67c22b?url=http%3A%2F%2Fwww.linkedin.com%2Fin%2Fgesker%2F&userId=3240016&signature=aed4addd1aed7ea0[image: WordPress] https://mailtrack.io/trace/link/7915811c0929fddb9e6538c36881f787a05ce6dc?url=https%3A%2F%2Fdennis.gesker.com&userId=3240016&signature=a7fd36300f5cba40[image: Gesker] https://mailtrack.io/trace/link/1d7ce7750b4bf07e8dca782a11bed48eefe7459e?url=http%3A%2F%2Fwww.gesker.com%2F&userId=3240016&signature=6436bc6df4e33d7f[image: GPG_PGP] https://mailtrack.io/trace/link/0539d8bd17bfafcad6d548f113203e5262fc2063?url=http%3A%2F%2Fwww.gesker.com%2Fhome%2Fdennis-gpg-key&userId=3240016&signature=4ea8b6a05c65e489[image: [email protected]] [email protected] “Be without fear in the face of your enemies. Be brave and upright that God may love thee. Speak the truth always, even if it leads to your death. Safeguard the helpless and do no wrong – that is your oath.”* -The Knight’s Oath (Kingdom of Heaven)*

gesker avatar Nov 06 '18 19:11 gesker