Hi guys,
how did you promoted extensions project in maven central without declaring primefaces repository in pom.xml(as it is not allowed)? i also have a Primefaces dependent framework and i am trying to release it at central repo.
Ive read this thread (viewtopic.php?f=3&t=14980#p47951), did you uploaded PF as third party lib? if yes, should i do the same or i can use your uploaded artifact?
thanks in advance!
OFF-Topic Extensions in maven Central
- kwintesencja
- Posts: 316
- Joined: 08 Feb 2010, 20:33
- Location: Brazil
Att,
--
Rafael Mauricio Pestano
Primefaces 5.x + JavaEE7(Glassfish 4.x and Wildfly 8)
Conventions Framework
Blog
@realpestano
--
Rafael Mauricio Pestano
Primefaces 5.x + JavaEE7(Glassfish 4.x and Wildfly 8)
Conventions Framework
Blog
@realpestano
- kwintesencja
- Posts: 316
- Joined: 08 Feb 2010, 20:33
- Location: Brazil
as i see here you are declaring prime repo, Sonatype didnt complained about that?
Att,
--
Rafael Mauricio Pestano
Primefaces 5.x + JavaEE7(Glassfish 4.x and Wildfly 8)
Conventions Framework
Blog
@realpestano
--
Rafael Mauricio Pestano
Primefaces 5.x + JavaEE7(Glassfish 4.x and Wildfly 8)
Conventions Framework
Blog
@realpestano
Yes, PrimeFaces repo is declared in the pom.xml. PrimeFaces is not in the Maven central like other JSF libs (RichFaces 4.2.2, ICEFaces 3.0.1 or even OmniFaces 1.1 ), but Sonatype doesn't complain about that.
We described the current approach in Getting Started: "Dependency to the PrimeFaces is defined as a transitive dependency, so that there isn't need to include it explicitly. But make sure that you have the PrimeFaces repository in your pom.xml as described here (link to PF download section). This is necessary because PrimeFaces' JAR file is not available in the Maven central repository. It is also possible to exclude the transitive dependency to the PrimeFaces core project and use another version than version defined by this transitive dependency. This can be done with dependencyManagement tag. Example: ..."
We described the current approach in Getting Started: "Dependency to the PrimeFaces is defined as a transitive dependency, so that there isn't need to include it explicitly. But make sure that you have the PrimeFaces repository in your pom.xml as described here (link to PF download section). This is necessary because PrimeFaces' JAR file is not available in the Maven central repository. It is also possible to exclude the transitive dependency to the PrimeFaces core project and use another version than version defined by this transitive dependency. This can be done with dependencyManagement tag. Example: ..."
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Hopefully starting from 3.4, PF will be in maven central.
- kwintesencja
- Posts: 316
- Joined: 08 Feb 2010, 20:33
- Location: Brazil
@Oleg i see, my concern was to release my own artifacts having PF repo in its pom but i see that the repository declaration isnt a problem.
About the dependencyManagement i think i can use extensions PrimeFaces version as both projects walks almost together, ill only use the management if i need some new PrimeFaces feature. Thanks for the information!
@Cagatay good news!
About the dependencyManagement i think i can use extensions PrimeFaces version as both projects walks almost together, ill only use the management if i need some new PrimeFaces feature. Thanks for the information!
@Cagatay good news!
Att,
--
Rafael Mauricio Pestano
Primefaces 5.x + JavaEE7(Glassfish 4.x and Wildfly 8)
Conventions Framework
Blog
@realpestano
--
Rafael Mauricio Pestano
Primefaces 5.x + JavaEE7(Glassfish 4.x and Wildfly 8)
Conventions Framework
Blog
@realpestano
Exactly.About the dependencyManagement i think i can use extensions PrimeFaces version as both projects walks almost together, ill only use the management if i need some new PrimeFaces feature.
dependencyManagement tells Maven to take care of version conflicts.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
-
- Information
-
Who is online
Users browsing this forum: No registered users and 4 guests