Integrate Spark using maven

3

Hello.

I bought the theme + spark layout of primefaces.

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

I did exactly what I was told, but I was instructed to copy the sources and source folders to META-INF and put pom.xml into that statement:

    <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 it did not work.

Once again I asked the team for help and they gave me the maven build.

By going to the Build Maven option and putting this instruction into action:

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 go back on pom.xml and re-start:

    <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 I do it, when I download it, it returns me ERROR. A failure attempting to perform this procedure.

Could you help me to continue my college project?

    
asked by anonymous 14.04.2015 / 23:01

1 answer

1

< pom.xml or settings.xml of .m2 is missing that its .m2 is also a repository.

But the best thing to do, considering that your application can be installed on a machine other than the one you're going to do, is to create a remote repository for the manually acquired libraries.

link

    
06.08.2015 / 07:08