maven - How to import Primefaces's into Eclipse as source code -
recently primefaces moved google code github, theoretically it's possible fork repository, make changes , submit pull requests. i'd tried i'm stuck.
as understand should import primefaces eclipse separate java project , define in jsf project dependency rather primefaces.jar.
i have tried download github zip file , import maven project eclipse error requires maven-jsf-plugin plugin.
could not calculate build plan: plugin org.primefaces:maven-jsf-plugin:1.3.2 or 1 of dependencies not resolved: failure find org.primefaces:maven-jsf-plugin:jar:1.3.2 in http://maven.repository.redhat.com/techpreview/all/ cached in local repository, resolution not reattempted until update interval of redhat-techpreview-all-repository has elapsed or updates forced
ok, can import manually , add dependency later, continued installation , downloaded dependency bunch of errors:
for example class dialogactionlistener
located @ path src.main.java.org.primefaces.application
according source code should located @ package org.primefaces.application;
in *.xml files there's error the markup in document following root element must well-formed.
i suspect i'm on wrong direction can't find out right direction.
i've found question , solution when facing same problem, hope helps else (it might little late you): adding following snippet pom.xml solves issue.
<pluginrepositories> <pluginrepository> <id>primefaces_repository</id> <url>http://repository.primefaces.org/</url> </pluginrepository> </pluginrepositories>
Comments
Post a Comment