soteria
soteria copied to clipboard
POM Breaks WildFly 14 Feature Pack
https://issues.jboss.org/browse/WFLY-11265
[snip]
The org.glassfish.soteria:parent:1.0 pom has this unfortunate business:
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]
Very, very unfortunate that happened indeed. See #193
So, is this something that can be updated/adjusted so it "just works?"
--drg
On Mon, Nov 5, 2018, 16:31 Arjan Tijms <[email protected] wrote:
Very, very unfortunate that happened indeed. See #193 https://github.com/eclipse-ee4j/soteria/issues/193
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://mailtrack.io/trace/link/88ff0460800466e0c0e10c59f881450a63513446?url=https%3A%2F%2Fgithub.com%2Feclipse-ee4j%2Fsoteria%2Fissues%2F236%23issuecomment-436075452&userId=3240016&signature=676fd958b18ad5d6, or mute the thread https://mailtrack.io/trace/link/f114edd3d52840214647347facd48b7b9ea55d44?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGhrnuGQZWgfQjp0YCjJjd4B6zbVxth1ks5usMptgaJpZM4YPcwF&userId=3240016&signature=074fd2e91f7207a7 .
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.
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)*