How to integrate Spark Theme - primefaces with Maven

Asked

Viewed 1,298 times

1

Can anyone help me with my problem? I’m trying to integrate Spark Theme with Maven to move up the theme. Meanwhile, I’m having a hard time.

http://www.primefaces.org/spark/

I looked at the documentation and have no instructions teaching how to perform the Theme installation procedure.

thank you

  • 1

    What problem? What difficulties? See if this helps: http://answall.com/questions/58450/integrar-spark-utilizandomaven

2 answers

1

Because it is a Premium theme it will not be open to the public unless you pay.

Probably when you buy they pass you the instructions to use it or you can contact their support.

1

good afternoon.

I solved my problem the following way:

The files coming in Theme premium are:

1. .Jar 
2. A pasta resources com o CSS, Images, Fonts e JS. 

To perform the integration via Maven is necessary:

  1. Download Maven manually and configure to the machine.
  2. Via cmd I navigated to the folder that was saved to Theme, ie the . jar
  3. After installing and configuring the Maven I executed the following command via cmd:

    mvn install:install-file -Dfile=spark-theme-1.0.jar -DgroupId=org.primefaces.themes -DartifactId=spark -Dversion=1.0 -Dpackaging=jar

And then I ran this dependency on pom.xml

<dependency>
            <groupId>org.primefaces.themes</groupId>
            <artifactId>spark</artifactId>
            <version>1.0</version>
</dependency>

It worked that only a beauty! I hope to help other people.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.