Daniel Hinojosa | 13 Apr 2012 02:19
Gravatar

Java EE6 BOM for seam 2.3

Is that still installed? I seem to remember that it was at one time because most tests would pass on some of the examples that I am working on, now it has no referral to any dependency management in the parent poms.  


        <dependency>
            <groupId>org.hibernate.javax.persistence</groupId>
        <artifactId>hibernate-jpa-2.0-api</artifactId>        
        </dependency>
        <dependency>
            <groupId>org.jboss.spec.javax.el</groupId>
            <artifactId>jboss-el-api_2.2_spec</artifactId>
        </dependency>

--
Daniel Hinojosa
Programmer, Instructor, and Consultant
dhinojosa-sRlC7LJHFRkitjMjQMKR8gC/G2K4zDHf@public.gmane.org
http://www.evolutionnext.com
http://www.abqjug.org

<div>
<p>Is that still installed? I seem to remember that it was at one time because most tests would pass on some of the examples that I am working on, now it has no referral to any dependency management in the parent poms. &nbsp;</p>
<div>
<div><br></div>
<div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;dependency&gt;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;groupId&gt;org.hibernate.javax.persistence&lt;/groupId&gt;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; <span class="Apple-tab-span">	</span>&lt;artifactId&gt;hibernate-jpa-2.0-api&lt;/artifactId&gt; &nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-tab-span">	</span>
</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/dependency&gt;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;dependency&gt;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;groupId&gt;org.jboss.spec.javax.el&lt;/groupId&gt;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;artifactId&gt;jboss-el-api_2.2_spec&lt;/artifactId&gt;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/dependency&gt;</div>
<div><br></div>-- <br>Daniel Hinojosa<br>Programmer, Instructor, and Consultant<br><a href="mailto:dhinojosa@..." target="_blank">dhinojosa@...</a><br><a href="http://www.evolutionnext.com" target="_blank">http://www.evolutionnext.com</a><br><a href="http://www.abqjug.org" target="_blank">http://www.abqjug.org</a><br><br>
</div>
</div>
</div>
Marek Novotny | 13 Apr 2012 10:09
Picon
Favicon

Re: Java EE6 BOM for seam 2.3


Daniel,

 it should work, even I am in the middle of re-factoring of seam parent.
Current Seam parent is here
https://anonsvn.jboss.org/repos/seam/branches/community/Seam_2_3/pom.xml
and it imports org.jboss.bom:jboss-javaee-6.0-with-hibernate:1.0.0.M6.
Final solution will be like all dependencies, which are used in any
Seam2 Applications (e.g. our examples), will be moved to
https://anonsvn.jboss.org/repos/seam/branches/community/Seam_2_3/bom/pom.xml
and this Seam2 BOM will be imported in Seam parent.

So users can import Seam 2 BOM file with dependency management and use
them in their applications without checking/updating all seam module
versions.

This is simple standard how to say Maven user what dependencies are
verified and used in Seam2 build.

As an example of usage is the following snippet from any Seam 2
application:

<dependencyManagement>
	<dependencies>
		<dependency>
		  <groupId>org.jboss.seam</groupId>
		  <artifactId>bom</artifactId>
		  <version>2.3.0.Beta2-SNAPSHOT</version>
		  <type>pom</type>
		  <scope>import</scope>
		</dependency>
	</dependencies>
</dependencyManagement>

	<dependencies>
		<dependency>
		  <groupId>org.jboss.seam</groupId>
		  <artifactId>jboss-seam</artifactId>
		  <type>ejb</type>
		</dependency>

		<dependency>
		  <groupId>org.jboss.seam</groupId>
		  <artifactId>jboss-seam-ui</artifactId>
		  <type>ejb</type>
		</dependency>

		...
	</dependencies>

On 04/13/2012 02:19 AM, Daniel Hinojosa wrote:
> Is that still installed? I seem to remember that it was at one time
> because most tests would pass on some of the examples that I am working
> on, now it has no referral to any dependency management in the parent
> poms.  
> 
>         <dependency>
>             <groupId>org.hibernate.javax.persistence</groupId>
>         <artifactId>hibernate-jpa-2.0-api</artifactId>        
>         </dependency>
>         <dependency>
>             <groupId>org.jboss.spec.javax.el</groupId>
>             <artifactId>jboss-el-api_2.2_spec</artifactId>
>         </dependency>
> 
> -- 
> Daniel Hinojosa
> Programmer, Instructor, and Consultant
> dhinojosa@... <mailto:dhinojosa@...>
> http://www.evolutionnext.com
> http://www.abqjug.org
> 
> 
> 
> _______________________________________________
> seam-dev mailing list
> seam-dev@...
> https://lists.jboss.org/mailman/listinfo/seam-dev

--

-- 
Marek Novotny
--
WFK and Seam Product Lead

Red Hat Czech s.r.o.
Purkynova 99
612 45 Brno

Gmane