Themes to Maven Central?

UI Components for JSF
rikup
Posts: 459
Joined: 29 Jan 2013, 14:27

10 Jan 2014, 12:15

Hi, now when Primefaces is available from Maven Central repo, it would be good if themes would also be available from there. Any plans to release themes in Maven Central?
PrimeNG 2.0.0
Angular 2.4.5

rubus
Posts: 517
Joined: 01 Oct 2010, 09:41
Location: Belgium

17 Mar 2014, 16:58

Hi,

I agree. I had today the issue that I needed to include the PrimeFaces repository to have access to the themes jar. Should also be on maven central.

regards
Rudy
PrimeFaces version 3.5, Tomcat 7, Mojarra 2.1.13
PrimeFaces version 4.0, Glassfish 4.0
PrimeFaces version 5.0, WLS 12.1.2
If you haven't read the forum rules read them now : viewtopic.php?f=3&t=1194

User avatar
andyba
Expert Member
Posts: 2473
Joined: 31 Mar 2011, 16:27
Location: Steinfeld, near Bremen/Osnabrück, DE
Contact:

14 Jul 2014, 18:05

You can add individual PF Themes as a dependency or you can add all-themes as a dependency that loads all PF Theme jars into your project.
No idea how long this has been available on the MCR but it worked like a dream for me last night.
PF 4.x (Elite versions), PF 5, Pf 5.1, PF 6.0
Glassfish 4.1, Mojarra 2.x, Java 8, Payara 4.1.1.
If you haven't read the forum rules read them now

User avatar
sudheer
PrimeFaces Core Developer
Posts: 4345
Joined: 16 Oct 2011, 19:19
Location: Singapore

15 Jul 2014, 16:00

andyba wrote:You can add individual PF Themes as a dependency or you can add all-themes as a dependency that loads all PF Theme jars into your project.
No idea how long this has been available on the MCR but it worked like a dream for me last night.
Andy,Could you please clarify what do you mean by "add individual PF Themes as a dependency"? Do you mean manual dowload for local repo? Currently PF Themes available only in PF private repository but not MCR.
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/

___________________
Sudheer Jonna

User avatar
andyba
Expert Member
Posts: 2473
Joined: 31 Mar 2011, 16:27
Location: Steinfeld, near Bremen/Osnabrück, DE
Contact:

18 Jul 2014, 12:51

sudheer wrote:
andyba wrote:You can add individual PF Themes as a dependency or you can add all-themes as a dependency that loads all PF Theme jars into your project.
No idea how long this has been available on the MCR but it worked like a dream for me last night.
Andy,Could you please clarify what do you mean by "add individual PF Themes as a dependency"? Do you mean manual dowload for local repo? Currently PF Themes available only in PF private repository but not MCR.
I have to check back at home but I am pretty sure that all OSS 1.0.8 themes are available on the Maven repository. The themes-all dependency certainly is, this could load the individual ones into the local rep and make them available there however I don't see how themes-all would work without each theme being publicly available.

Edit: if you look here http://primefaces.org/themes you will see that 1.0.10 themes are available indivdually and as an themes-all dependency. I assume that 1.0.8 is also available.
PF 4.x (Elite versions), PF 5, Pf 5.1, PF 6.0
Glassfish 4.1, Mojarra 2.x, Java 8, Payara 4.1.1.
If you haven't read the forum rules read them now

User avatar
andyba
Expert Member
Posts: 2473
Joined: 31 Mar 2011, 16:27
Location: Steinfeld, near Bremen/Osnabrück, DE
Contact:

21 Jul 2014, 09:58

I checked this at the weekend, theme versions 1.0.9 and below are available on the maven central repo, you need to access the primefaces repo to get the latest version. Instructions on how to do this are available on the main PrimeFaces web site.
PF 4.x (Elite versions), PF 5, Pf 5.1, PF 6.0
Glassfish 4.1, Mojarra 2.x, Java 8, Payara 4.1.1.
If you haven't read the forum rules read them now

User avatar
sudheer
PrimeFaces Core Developer
Posts: 4345
Joined: 16 Oct 2011, 19:19
Location: Singapore

21 Jul 2014, 14:16

I understand what do you mean by individual themes. Themes-all dependency is available from long time.Theme dependencies such as either individual or all-theme jars available only through primefaces maven repository but not maven central repository.

There are theme depedencies from extensions side but not from Core side.

Code: Select all

<groupId>org.primefaces.extensions</groupId>
<artifactId>all-themes</artifactId>
<packaging>pom</packaging>
<version>1.0.8</version>
<name>all-themes</name>
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/

___________________
Sudheer Jonna

User avatar
andyba
Expert Member
Posts: 2473
Joined: 31 Mar 2011, 16:27
Location: Steinfeld, near Bremen/Osnabrück, DE
Contact:

22 Jul 2014, 15:02

Ok, I checked what I was doing at home and was loading the PF Extensions all-themes dependency.
You can access the latest public versions by adding the PrimeFaces repository to your pom.xml file.

Code: Select all

<repository>  
    <id>prime-repo</id>  
    <name>PrimeFaces Maven Repository</name>  
    <url>http://repository.primefaces.org</url>  
    <layout>default</layout>  
</repository>  
PF 4.x (Elite versions), PF 5, Pf 5.1, PF 6.0
Glassfish 4.1, Mojarra 2.x, Java 8, Payara 4.1.1.
If you haven't read the forum rules read them now

rikup
Posts: 459
Joined: 29 Jan 2013, 14:27

22 Jul 2014, 15:06

andyba wrote:Ok, I checked what I was doing at home and was loading the PF Extensions all-themes dependency.
You can access the latest public versions by adding the PrimeFaces repository to your pom.xml file.

Code: Select all

<repository>  
    <id>prime-repo</id>  
    <name>PrimeFaces Maven Repository</name>  
    <url>http://repository.primefaces.org</url>  
    <layout>default</layout>  
</repository>  
Yeah, that works nicely but I find it somewhat inconvenient as PF core is already available from central. As themes are not available from central it kind of defeats the purpose of putting the core into central.
PrimeNG 2.0.0
Angular 2.4.5

User avatar
sudheer
PrimeFaces Core Developer
Posts: 4345
Joined: 16 Oct 2011, 19:19
Location: Singapore

22 Jul 2014, 16:06

@Andy, Thanks for the clarification.So you have been used primefaces extensions MCR co-oridnates.
rikup wrote:Yeah, that works nicely but I find it somewhat inconvenient as PF core is already available from central. As themes are not available from central it kind of defeats the purpose of putting the core into central.
Exactly.I'am not sure whether there is any plan to add them in MCR or not.
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/

___________________
Sudheer Jonna

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 35 guests