common-jawr

Provides web fragment and dependencies for jawr

License

License

GroupId

GroupId

nz.ac.auckland.common
ArtifactId

ArtifactId

common-jawr
Last Version

Last Version

2.2
Release Date

Release Date

Type

Type

jar
Description

Description

common-jawr
Provides web fragment and dependencies for jawr
Project URL

Project URL

https://github.com/uoa-group-applications/common-jawr
Source Code Management

Source Code Management

https://github.com/uoa-group-applications/common-jawr

Download common-jawr

How to add to project

<!-- https://jarcasting.com/artifacts/nz.ac.auckland.common/common-jawr/ -->
<dependency>
    <groupId>nz.ac.auckland.common</groupId>
    <artifactId>common-jawr</artifactId>
    <version>2.2</version>
</dependency>
// https://jarcasting.com/artifacts/nz.ac.auckland.common/common-jawr/
implementation 'nz.ac.auckland.common:common-jawr:2.2'
// https://jarcasting.com/artifacts/nz.ac.auckland.common/common-jawr/
implementation ("nz.ac.auckland.common:common-jawr:2.2")
'nz.ac.auckland.common:common-jawr:jar:2.2'
<dependency org="nz.ac.auckland.common" name="common-jawr" rev="2.2">
  <artifact name="common-jawr" type="jar" />
</dependency>
@Grapes(
@Grab(group='nz.ac.auckland.common', module='common-jawr', version='2.2')
)
libraryDependencies += "nz.ac.auckland.common" % "common-jawr" % "2.2"
[nz.ac.auckland.common/common-jawr "2.2"]

Dependencies

compile (4)

Group / Artifact Type Version
nz.ac.auckland.composite : composite-groovy jar [5,)
nz.ac.auckland.composite : composite-spring-web jar [5,)
net.jawr : jawr jar [3.3.3,4)
nz.ac.auckland.common : common-scanner jar [1,)

test (1)

Group / Artifact Type Version
nz.ac.auckland.composite : composite-unittest jar [2,)

Project Modules

There are no modules declared in this project.

common-jawr

The purpose of common-jawr is to provide a classpath scanner for configuration files for JAWR. The scanner will look for files that match the pattern

jawr-*.properties

When the file is in a jar or war, the file must be non-zero in size. When in a directory, it cane be zero size as the only time this happens is in dev mode. When in dev mode (indicated by the environment variable that is set by common-scanner), every time JAWR asks if files have changed it will check date stamps on files and reload all the properties if one of them has changed. It will not attempt to do this for files taken from WAR or JAR files.

It provides a web fragment, so simply including it will expose /css/* and /js/* to JAWR.

nz.ac.auckland.common

University of Auckland - Group Applications

MIT Licensed Java/Groovy libraries we use

Versions

Version
2.2
2.1
1.7