deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Struberg <strub...@yahoo.de.INVALID>
Subject Re: problem in pom.xml for distributions-bom artifact version 1.8.1-SNAPSHOT
Date Wed, 21 Jun 2017 13:18:04 GMT
Hi Andrew!

Thanks for the report!
I'm not very much into the bom as I personally don't use it.
But it sounds pretty much wrong if we define any openwebbeans version or dependency in any
of our dependencies.
The container version and vendor should not be in the bom at all.

DeltaSpike runs with OWB-1.1.x, 1.2.x 1.7.x and should even run with the upcoming 2.0.0 .

What exactly from the bom do you use?
The versions of the deltaspike modules are the same anyway, so I usually only use

<properties>
  <deltaspike.version>1.8.0</deltaspike.version>
</properties>

+ <version>${deltaspike.version}</version> in the dependencies.

And the versions of the various javaee api jars (geronmo*spec) are depending on the EE version
you use, and not on the DeltaSpike version.

Would love to hear your use case!

txs and LieGrue,
strub

> Am 21.06.2017 um 14:42 schrieb Andrew Marinchuk <radist-hack@yandex.ru>:
> 
> Hi!
> 
> After switching to deltaspike verison 1.8.1-SNAPSHOT, we've obtained a warning message
in eclipse to the version in openwebbeans dependencies.
> Some investigations shows that pom.xml for groupId org.apache.deltaspike.distribution
and artifactId distributions-bom declares version 1.2.7 for openwebbeans. Looks like typing
error, should be 1.7.2. Previous deltaspike version (1.7.2) works with openwebbeans 1.7.2
and deltaspike 1.8.1-SNAPSHOT seems too.
> 
> Here is part of our pom.xml:
> 
> 	<properties>
> 		<!--deltaspike.version>1.7.2</deltaspike.version-->
> 		<deltaspike.version>1.8.1-SNAPSHOT</deltaspike.version>
> 		<owb.version>1.7.2</owb.version>
> 	</properties>
> 	<dependencyManagement>
> 		<dependencies>
> 			<dependency>
> 				<groupId>org.apache.deltaspike.distribution</groupId>
> 				<artifactId>distributions-bom</artifactId>
> 				<version>${deltaspike.version}</version>
> 				<type>pom</type>
> 				<scope>import</scope>
> 			</dependency>
> 		</dependencies>
> 	</dependencyManagement>
> 	<dependencies>
> 		<dependency>
> 			<groupId>org.apache.geronimo.specs</groupId>
> 			<artifactId>geronimo-atinject_1.0_spec</artifactId>
> 			<scope>compile</scope>
> 		</dependency>
> 		<dependency>
> 			<groupId>org.apache.geronimo.specs</groupId>
> 			<artifactId>geronimo-jcdi_1.1_spec</artifactId>
> 			<version>1.0</version>
> 			<scope>compile</scope>
> 		</dependency>
> 		<dependency>
> 			<groupId>org.apache.geronimo.specs</groupId>
> 			<artifactId>geronimo-interceptor_1.2_spec</artifactId>
> 			<version>1.0</version>
> 			<scope>compile</scope>
> 		</dependency>
> 		<dependency>
> 			<groupId>org.apache.geronimo.specs</groupId>
> 			<artifactId>geronimo-annotation_1.2_spec</artifactId>
> 			<version>1.0</version>
> 			<scope>compile</scope>
> 		</dependency>
> 		<dependency>
> 			<groupId>org.apache.openwebbeans</groupId>
> 			<artifactId>openwebbeans-spi</artifactId>
> 			<version>${owb.version}</version>  <!-- Warning at this line -->
> 			<scope>compile</scope>
> 		</dependency>
> 		<dependency>
> 			<groupId>org.apache.openwebbeans</groupId>
> 			<artifactId>openwebbeans-impl</artifactId>
> 			<version>${owb.version}</version>  <!-- Warning at this line -->
> 			<scope>runtime</scope>
> 		</dependency>
> 		<dependency>
> 			<groupId>org.apache.deltaspike.core</groupId>
> 			<artifactId>deltaspike-core-api</artifactId>
> 			<scope>compile</scope>
> 		</dependency>
> 		<dependency>
> 			<groupId>org.apache.deltaspike.core</groupId>
> 			<artifactId>deltaspike-core-impl</artifactId>
> 			<scope>runtime</scope>
> 		</dependency>
> 		<dependency>
> 			<groupId>org.apache.deltaspike.cdictrl</groupId>
> 			<artifactId>deltaspike-cdictrl-api</artifactId>
> 			<scope>compile</scope>
> 		</dependency>
> 		<dependency>
> 			<groupId>org.apache.deltaspike.cdictrl</groupId>
> 			<artifactId>deltaspike-cdictrl-owb</artifactId>
> 			<scope>runtime</scope>
> 			<exclusions>
> 				<exclusion>
> 					<groupId>org.apache.deltaspike.test</groupId>
> 					<artifactId>test-utils</artifactId>
> 				</exclusion>
> 			</exclusions>
> 		</dependency>
> 		<dependency>
> 			<groupId>com.google.code.findbugs</groupId>
> 			<artifactId>jsr305</artifactId>
> 			<version>2.0.1</version>
> 			<scope>compile</scope>
> 		</dependency>
> 	</dependencies>
> 
> 
> Best regards,
> Andrew Marinchuk
> 


Mime
View raw message