Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
book-of-vaadin.pdf
Скачиваний:
88
Добавлен:
24.03.2015
Размер:
13.43 Mб
Скачать

Using Vaadin Add-ons

Figure 17.3. Maven POM Definitions

4.Copy the dependency declaration to the pom.xml file in your project, under the dependencies element.

...

<dependencies>

...

<dependency> <groupId>com.vaadin.addon</groupId> <artifactId>vaadin-charts</artifactId> <version>1.0.0</version>

</dependency>

</dependencies>

You can use an exact version number, as is done in the example above, or LATEST to always use the latest version of the add-on.

The POM excerpt given in Directory includes also a repository definition, but if you have used the vaadin-archetype-application to create your project, it already includes the definition.

5.Compile the widget set as described in the following section.

17.4.2.Compiling the Project Widget Set

If you have used the vaadin-archetype-application to create the project, the pom.xml includes all necessary declarations to compile the widget set. The widget set compilation occurs in standard Maven build phase, such as with package or install goal.

$ mvn package

Compiling the Project Widget Set

389

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]