Integrate Spark using Maven

Asked

Viewed 596 times

3

Hello.

I bought the Theme+Spark layout of the primefaces.

In the community they wrote me that to use the layout. I would have to import the file spark-theme.1.0.war. Once imported, the full set of primeface Spark would appear.

I did exactly what was said, but I was told to copy the folders sources and source for META-INF and put in the pom.xml that instruction:

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

and update the project. This was done to appear the layout, but did not work.

Once again I asked the team for help and I was shown the build Maven.

By going to the Build Maven option and putting in Gol this instruction:

install:install-file -Dfile=D:\spark-1.0-theme.jar -DgroupId=org.primefaces.theme -DartifactId=spark -Dversion=1.0 -Dpackaging=jar -DlocalRepositoryPath= C:\Users\root\.m2\repository\internal -DgeneratePom=true

And run the run and get back on pom.xml and put the:

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

That would return me the Spark layout.

Well not long ago I use Maven and when doing all this, when downloading it returns me ERROR. A flaw when trying to perform this procedure.

Could you help me to continue my college project?

  • 1

    You have the spark-1.0-theme.jar in D: same, right? He is all you need? What error is it that is informed, that you quoted but did not put in the question?

1 answer

1

  • Giceu, can you gather information from this link here in the reply? that way if the link gets lost one day the answer keeps the content.

Browser other questions tagged

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