HST Page Diagnostics Extension

This is a plugin for Hippo (Hippo CMS) Site Toolkit that enable users to profile their code via annotations.

Лицензия

Лицензия

apache license, version 2.0
Группа

Группа

nl.openweb.hippo
Идентификатор

Идентификатор

hst-diagnostics-extension
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

HST Page Diagnostics Extension
This is a plugin for Hippo (Hippo CMS) Site Toolkit that enable users to profile their code via annotations.
Ссылка на сайт

Ссылка на сайт

https://github.com/openweb-nl/hst-diagnostics-extension
Система контроля версий

Система контроля версий

https://github.com/openweb-nl/hst-diagnostics-extension

Скачать hst-diagnostics-extension

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/nl.openweb.hippo/hst-diagnostics-extension/ -->
<dependency>
    <groupId>nl.openweb.hippo</groupId>
    <artifactId>hst-diagnostics-extension</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/nl.openweb.hippo/hst-diagnostics-extension/
implementation 'nl.openweb.hippo:hst-diagnostics-extension:1.0.0'
// https://jarcasting.com/artifacts/nl.openweb.hippo/hst-diagnostics-extension/
implementation ("nl.openweb.hippo:hst-diagnostics-extension:1.0.0")
'nl.openweb.hippo:hst-diagnostics-extension:jar:1.0.0'
<dependency org="nl.openweb.hippo" name="hst-diagnostics-extension" rev="1.0.0">
  <artifact name="hst-diagnostics-extension" type="jar" />
</dependency>
@Grapes(
@Grab(group='nl.openweb.hippo', module='hst-diagnostics-extension', version='1.0.0')
)
libraryDependencies += "nl.openweb.hippo" % "hst-diagnostics-extension" % "1.0.0"
[nl.openweb.hippo/hst-diagnostics-extension "1.0.0"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.onehippo.cms7.hst.dependencies » hst-spring-dependencies pom

Модули Проекта

Данный проект не имеет модулей.

Hippo Diagnostics Extension

Introduction

This is a plugin for Hippo (Hippo CMS) Site Toolkit that enable users to profile their code via annotations.

USAGE

Step 1: Add the following dependency to your project /site/pom.xml file (Or a dependency of your project's site)

<dependency>
  <groupId>nl.openweb.hippo</groupId>
  <artifactId>hst-diagnostics-extension</artifactId>
  <version>1.0.0</version>
</dependency>

Step 2: Add the following profile to your project /site/pom.xml file

<profile>
  <id>profile</id>
  <dependencies>
    <dependency>
      <groupId>org.aspectj</groupId>
      <artifactId>aspectjrt</artifactId>
      <version>${aspectjweaver.version}</version>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>aspectj-maven-plugin</artifactId>
        <version>1.10</version>
        <configuration>
          <weaveDependencies>
            <weaveDependency>
              <groupId>nl.openweb.hippo</groupId>
              <artifactId>hst-diagnostics-extension</artifactId>
            </weaveDependency>
          </weaveDependencies>
          <complianceLevel>1.8</complianceLevel>
          <source>1.8</source>
          <target>1.8</target>
          <showWeaveInfo>true</showWeaveInfo>
          <verbose>true</verbose>
          <Xlint>ignore</Xlint>
          <encoding>UTF-8</encoding>
        </configuration>
        <executions>
          <execution>
            <goals>
              <goal>compile</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</profile>

Step 3: Add @Timed annotations to some methods in your project.

@Timed
public List<NewsDocuments> getRelatedNews() {
	// ...
}

Step 4: Build your project via profile "profile"

mvn clean install -Pprofile
nl.openweb.hippo

Open Web

Software development and open source is in our DNA. Development, contracting, maintenance and management. Discover what Open Web professionals can do for you.

Версии библиотеки

Версия
1.0.0