pom instalation error

Locked
tvortsa
Posts: 2
Joined: 16 Jul 2015, 13:35
Contact:

23 Oct 2015, 12:02

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!

User avatar
aragorn
Posts: 3610
Joined: 29 Jun 2013, 12:38

26 Oct 2015, 14:39

I think you have only theme.jar and want to add it in your project(not Modena Layout). Right?

tvortsa
Posts: 2
Joined: 16 Jul 2015, 13:35
Contact:

28 Oct 2015, 14:27

i have modena layout (not only theme), but what i must do?

User avatar
aragorn
Posts: 3610
Joined: 29 Jun 2013, 12:38

28 Oct 2015, 14:50

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

jwenting
Posts: 14
Joined: 02 Jul 2015, 18:56

30 Oct 2015, 10:20

might be a good idea to add those instructions to the distribution zip.
server: Glassfish 4.1, Weblogic 12.1
primefaces: 5.3, extensions 4.0.0

User avatar
aragorn
Posts: 3610
Joined: 29 Jun 2013, 12:38

02 Nov 2015, 08:55

Thanks for the suggestion, I will talk about it with other team members.

Locked

Return to “Modena”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest