Sentinel and Maven
- brunohorta
- Posts: 31
- Joined: 19 Mar 2015, 14:32
- Contact:
Hello, how can i use sentinel.jar on Maven pom.xml?
- brunohorta
- Posts: 31
- Joined: 19 Mar 2015, 14:32
- Contact:
Done
I Create a new folder repo inside the Project Folder
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>
- brunohorta
- Posts: 31
- Joined: 19 Mar 2015, 14:32
- Contact:
Error loading theme, cannot find "theme.css" resource of "primefaces-sentinel" library
Why?
Why?
- brunohorta
- Posts: 31
- Joined: 19 Mar 2015, 14:32
- Contact:
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
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
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Yes, you need to install the theme via mvn install:install-file and add it as a dependency to your pom.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
I'm not sure, if we had similar questions we'll add it to docs of Sentinel.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Usually ides do it, for example NetBeans has special wizards for maven, also see;
http://maven.apache.org/guides/getting- ... nutes.html
http://maven.apache.org/guides/getting- ... nutes.html
-
- Information
-
Who is online
Users browsing this forum: No registered users and 18 guests