Tips: JSF Portlet Bridge in Maven Repository

We now have the JSF Portlet Bridge jars available on the java.net maven2 repository.

If you use Maven2 to build JSF Portlet webapplications, you can reference the JSF Portlet Bridge library in your pom.xml as shown below. After the war is built, it will contain jsf-portlet.jar

So insert the following into your pom.xml --

Under <repositories>
        <repository>
            <id>maven2-repository.dev.java.net</id>
            <name>Java.net Repository for Maven</name>
            <url>https://maven2-repository.dev.java.net/nonav/repository</url>
         </repository>       

Under <dependencies>
      <dependency>
            <groupId>com.sun.faces.portlet</groupId>
            <artifactId>jsf-portlet</artifactId>
            <version>1.2.1</version>
            <scope>compile</scope>
      </dependency> 

The current versions are 1.2.1 and 1.1.5

Whenever the new version materializes in the JSF Portlet Bridge Project, it will also be made available via maven2 repository
Comments:

Post a Comment:
Comments are closed for this entry.
About

atul

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today