Sentinel and Maven

Locked
User avatar
brunohorta
Posts: 31
Joined: 19 Mar 2015, 14:32
Contact:

21 Mar 2015, 11:45

Hello, how can i use sentinel.jar on Maven pom.xml?

User avatar
brunohorta
Posts: 31
Joined: 19 Mar 2015, 14:32
Contact:

21 Mar 2015, 15:02

Done :)

I Create a new folder repo inside the Project Folder

Code: Select all

 <dependencies>
        <dependency>
            <groupId>groupId</groupId>
            <artifactId>artifactId</artifactId>
            <version>1.0</version>
            <scope>system</scope>
            <systemPath>${basedir}/repo/sentinel-theme-1.1.jar</systemPath>
        </dependency>
</dependencies>

User avatar
brunohorta
Posts: 31
Joined: 19 Mar 2015, 14:32
Contact:

21 Mar 2015, 16:35

Error loading theme, cannot find "theme.css" resource of "primefaces-sentinel" library

Why?

User avatar
brunohorta
Posts: 31
Joined: 19 Mar 2015, 14:32
Contact:

21 Mar 2015, 17:53

done finaly

mvn install:install-file -Dfile=/v01/sentinel-theme-1.1.jar -DgroupId=pt.brunohorta.sentinel -DartifactId=primefaces-sentinel -Dversion=1.1 -Dpackaging=jar

pom.xml


<dependency>
<groupId>pt.brunohorta.sentinel</groupId>
<artifactId>primefaces-sentinel</artifactId>
<version>1.1</version>
</dependency>


groupID and artefactID can be anything :)

note: this dependency will be installed on yours local maven repository

Optimus Prime go go Theme Sentinel maven project please :)

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

22 Mar 2015, 15:53

Yes, you need to install the theme via mvn install:install-file and add it as a dependency to your pom.

gkowalski
Posts: 4
Joined: 03 May 2013, 17:01

30 Mar 2015, 23:10

Shouldn't this be in the documentation ?
PrimeFaces 5.1.12 | Sentinel 1.1 | Glassfish 4.1

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

02 Apr 2015, 21:39

I'm not sure, if we had similar questions we'll add it to docs of Sentinel.

rhelcris
Posts: 3
Joined: 04 Jul 2013, 18:39

08 Apr 2015, 19:36

I don't know how to configure marven in my project.
Do you have some steps to I do it?
Or a tutorial?

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

09 Apr 2015, 15:46

Usually ides do it, for example NetBeans has special wizards for maven, also see;

http://maven.apache.org/guides/getting- ... nutes.html

Locked

Return to “Sentinel”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests