ICEfaces 2.0.0-alpha2 Maven Issues
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
ICEfaces 2.0.0-alpha2 Maven Issues  XML
Forum Index -> Development Build Feedback
Author Message
ken.fyten

Joined: 26/10/2004 00:00:00
Messages: 811
Offline


Hi,

It has been determined that the maven2 .poms, etc. included in the ICEfaces 2.0.0-Alpha2 bundles are not correct.

In response, we have published corrected versions of the maven2 resources for ICEfaces 2.0.0-Alpha2 under the following svn repository:

http://anonsvn.icefaces.org/repo/maven2/snapshots/

Sorry for any inconvenience this may have caused.

Regards,
Ken

Ken Fyten
VP Product Development
ICEsoft Technologies, Inc.
uweklosa

Joined: 09/09/2007 00:00:00
Messages: 26
Offline


There seems to be still an error in the pom.xml.

Shouldn't

<jsf.version>2.0.2.FCS</jsf.version>

be

<jsf.version>2.0.2-FCS</jsf.version>
?

Uwe
mckeeh3

Joined: 17/09/2009 00:00:00
Messages: 1
Offline


This worked for me. I had to modify the icefaces-2.0-A2.pom in my local repository to this:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.icefaces</groupId>
<artifactId>icefaces</artifactId>
<version>2.0-A2</version>
<packaging>jar</packaging>
<name>ICEfaces Core</name>
<url>http://www.icefaces.org</url>
<description>ICEfaces is an Ajax extension for JavaServer Faces.</description>

<properties>
<jsf.version>2.0.2</jsf.version>
</properties>

<dependencies>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-api</artifactId>
<version>${jsf.version}</version>
</dependency>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-impl</artifactId>
<version>${jsf.version}</version>
</dependency>
</dependencies>

</project>

Changed the JSF version to 2.0.2 and changed the group ID to com.sun.faces in both jsf-api and jsf-impl dependencies.

In my project pom.xml I added the following repository settings:

<repositories>
<repository>
<id>maven2-repository.org.icefaces</id>
<name>ICEfaces Repository for Maven</name>
<url>http://anonsvn.icefaces.org/repo/maven2/snapshots/</url>
</repository>
<repository>
<id>maven2-repository.dev.java.net</id>
<name>Java.net Repository for Maven</name>
<url>http://download.java.net/maven/2</url>
</repository>
</repositories>
ken.fyten

Joined: 26/10/2004 00:00:00
Messages: 811
Offline


Hi,

ICEfaces 2.0 Alpha3 is out, and the included Maven2 .poms are corrected.

Regards,
Ken

Ken Fyten
VP Product Development
ICEsoft Technologies, Inc.
uweklosa

Joined: 09/09/2007 00:00:00
Messages: 26
Offline


Hi Ken

Congrats for the new release.

I'm afraid that the pom still is not fixed. It uses the same version for jsf-impl as alpha2.

Regards,
Uwe
judy.guglielmin

Joined: 20/02/2007 00:00:00
Messages: 1196
Offline


If you look at the version of jsf that is distributed with ICEfaces2.0-A2 and A3, you will see that it is jsf-2.0.2.FCS.
Both of these releases have been tested against this version of jsf. If you have the jars installed in your local repository as 2.0, then that is probably why you are having difficulties. jsf-2.0.2.FCS is available in the central maven repository, so perhaps you might want to try that with your builds? (or perhaps you are building the jsf jars and installing them locally as that version number?).
Nonetheless, we will keep reference in the poms to the version of jsf that we are testing against.
nickarls

Joined: 14/11/2006 00:00:00
Messages: 262
Offline


judy.guglielmin wrote:
If you look at the version of jsf that is distributed with ICEfaces2.0-A2 and A3, you will see that it is jsf-2.0.2.FCS.
Both of these releases have been tested against this version of jsf. If you have the jars installed in your local repository as 2.0, then that is probably why you are having difficulties. jsf-2.0.2.FCS is available in the central maven repository, so perhaps you might want to try that with your builds? (or perhaps you are building the jsf jars and installing them locally as that version number?).
Nonetheless, we will keep reference in the poms to the version of jsf that we are testing against. 


Or is the user referring to the version naming 2.0.2.FCS vs 2.0.2-FCS?
uweklosa

Joined: 09/09/2007 00:00:00
Messages: 26
Offline


Hi Judy

I'm aware of that I can do what you describe.

But as nickaris writes am I referring to 2.0.2-FCS which is the version you already can find in public maven repositories.

Thanks for your answer.
Uwe
judy.guglielmin

Joined: 20/02/2007 00:00:00
Messages: 1196
Offline


Sorry guys...I just looked at this:-
Code:
<properties> 
 <jsf.version>2.0.2</jsf.version> 
 </properties> 
 

from that single post. I will look at the actual jsf version and ensure it's what is posted on maven central repo for 2.0-Beta. I'm sure you just changed it to match what you were using in your build apps (for now).
judy.guglielmin

Joined: 20/02/2007 00:00:00
Messages: 1196
Offline


It looks like the jsf version that we test against (most recent general release) and distribute in our bundle, is not available on the central maven repository (2.0.2-FCS). Instead it is available in the default Maven Repository from Apache.

To use this version of the artifact in your project you need to add a repository to your POM. It will take a day or so to put the reference to the apache maven2 repo in the icefaces-2.0.A3 pom, and then have it ported over to our snapshots repo. Until then, you can install this version in your local maven2 repository. I work from source (jsf2) and install the built jars to my local repository, so never caught this. Thanks for doing so.
judy.guglielmin

Joined: 20/02/2007 00:00:00
Messages: 1196
Offline


I mistyped---it's not available on the Apache maven2 repo.
 
Forum Index -> Development Build Feedback
Go to:   
Powered by JForum 2.1.7ice © JForum Team