Page 1 of 1

pom instalation error

Posted: 23 Oct 2015, 12:02
by tvortsa
hi!

when i try add modena dependency

Code: Select all

<dependency>  
		  <groupId>org.primefaces.themes</groupId>  
		  <artifactId>modena</artifactId>  
		  <version>1.0.2</version>  
   </dependency> 
and compile the project> i have the error message:

"The POM for org.primefaces.themes:modena:jar:1.0.2 is missing, no dependency information available"

Image

(and Netbeans say what dont see any CSS classes of modena)

thank you!

Re: pom instalation error

Posted: 26 Oct 2015, 14:39
by mert.sincan
I think you have only theme.jar and want to add it in your project(not Modena Layout). Right?

Re: pom instalation error

Posted: 28 Oct 2015, 14:27
by tvortsa
i have modena layout (not only theme), but what i must do?

Re: pom instalation error

Posted: 28 Oct 2015, 14:50
by mert.sincan
Please try;
1) to use modena-theme.jar in your project
(Windows PC)
-Please open Command Prompt in your pc
(If no maven in your pc, https://www.youtube.com/watch?v=Jtj-0yhox5s)
-To install theme.jar in the local repository;

Code: Select all

mvn install:install-file -Dfile=<path-to-file> -DgroupId=org.primefaces.themes -DartifactId=modena -Dversion=1.0.2 -Dpackaging=jar
<path-to-file> -> where is the jar?
- please add this dependency in pom.xml of your project

Code: Select all

<dependency>
   <groupId>org.primefaces.themes</groupId>
   <artifactId>modena</artifactId>
   <version>1.0.2</version>
</dependency>
- please add this context-param in web.xml of your project

Code: Select all

<context-param>
   <param-name>primefaces.THEME</param-name>
   <param-value>modena</param-value>
</context-param>
2) to use our sample maven project
- Please add war file in an IDE such as Netbeans
You can execute the sample with mvn jetty:run command

Re: pom instalation error

Posted: 30 Oct 2015, 10:20
by jwenting
might be a good idea to add those instructions to the distribution zip.

Re: pom instalation error

Posted: 02 Nov 2015, 08:55
by mert.sincan
Thanks for the suggestion, I will talk about it with other team members.