[ 
https://issues.apache.org/jira/browse/TOBAGO-1924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16604041#comment-16604041
 ] 

Hudson commented on TOBAGO-1924:
--------------------------------

SUCCESS: Integrated in Jenkins build Tobago Trunk #1510 (See 
[https://builds.apache.org/job/Tobago%20Trunk/1510/])
TOBAGO-1924: Using jars instead of repackaging, when possible * fix (lofwyr: 
rev 1e336cb15531de1ee04e6585f9e7289a19b5c87f)
* (edit) 
tobago-theme/tobago-theme-standard/src/main/resources/META-INF/tobago-config.xml


> Using jars instead of repackaging, when possible
> ------------------------------------------------
>
>                 Key: TOBAGO-1924
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1924
>             Project: MyFaces Tobago
>          Issue Type: Improvement
>          Components: Themes
>            Reporter: Udo Schnurpfeil
>            Assignee: Udo Schnurpfeil
>            Priority: Minor
>             Fix For: 4.3.0
>
>
> Since Servelt 3.0, resources may lay inside a JAR in META-INF/resources.
> This might the packaging and updating a bit easier.
> A theme which dependes on an other, may exclude some resources. With this 
> change, it can also exclude the content (by Maven), not only the references.
> There are some JS packages in the Maven repository now.  See also 
> [webjars|https://www.webjars.org/all]
>  * jquery (/)
>  * jquery-ui (we only use "widget" with 8kB (minified), the full JAR is 
> 254kB, so we build our own jar, the artifactId you can find below) (/)
>  * tether (/)
>  * popper (/)
>  * momentjs (/)
>  * typeahead (there is no current release, we are using a pached version, so 
> we build our own jar, the artivactId you can find below) (/)
>  * bootstrap (?) - we need to change the build process...
> Here are the Maven dependencies to use. Ususally nothing is to do for the 
> developer which uses Tobago, because the Standard-Theme has this dependencies.
> {code:java}
> <dependency>
>   <groupId>org.webjars</groupId>
>   <artifactId>jquery</artifactId>
>   <version>3.3.1-1</version>
> </dependency>
> <dependency>
>   <groupId>org.webjars</groupId>
>     <artifactId>tether</artifactId>
>   <version>1.4.0</version>
> </dependency>
> <dependency>
>   <groupId>org.webjars</groupId>
>     <artifactId>font-awesome</artifactId>
>   <version>4.7.0</version>
> </dependency>
> <dependency>
>   <groupId>org.webjars</groupId>
>     <artifactId>popper.js</artifactId>
>   <version>1.14.3</version>
> </dependency>
> <dependency>
>   <groupId>org.webjars</groupId>
>     <artifactId>momentjs</artifactId>
>   <version>2.22.2</version>
> </dependency>
> <dependency>
>   <groupId>org.apache.myfaces.tobago</groupId>
>     <artifactId>tobago-pack-jquery-ui-widget</artifactId>
>   <version>${project.version}</version>
> </dependency>
> <dependency>
>   <groupId>org.apache.myfaces.tobago</groupId>
>     <artifactId>tobago-pack-typeahead</artifactId>
>   <version>${project.version}</version>
> </dependency>
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to