-
Notifications
You must be signed in to change notification settings - Fork 17
/
pom-devportal.xml
executable file
·67 lines (61 loc) · 2.55 KB
/
pom-devportal.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>apigee</groupId>
<artifactId>DeveloperPortal</artifactId>
<version>-</version>
<name>currency-v1</name>
<packaging>pom</packaging>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Maven Plugin Repository</name>
<url>https://repo1.maven.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
</pluginRepository>
</pluginRepositories>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<org.slf4j.simpleLogger.defaultLogLevel>info</org.slf4j.simpleLogger.defaultLogLevel>
<project.root.dir>${basedir}</project.root.dir>
<target.root.dir>${basedir}/target</target.root.dir>
</properties>
<profiles>
<profile>
<id>devportal</id>
<properties>
<portal.url>http://dev-sai-demo.pantheonsite.io</portal.url><!-- URL of the developer portal. -->
<portal.username>${username}</portal.username><!-- Username for the developer portal. -->
<portal.password>${password}</portal.password><!-- Password for the developer portal. -->
<portal.format>yaml</portal.format><!-- Format of the OpenAPI specs. json|yaml -->
<portal.api.doc.format>basic_html</portal.api.doc.format><!-- Format in the portal. Values: basic_html, restricted_html, full_html -->
<portal.directory>./openapi</portal.directory> <!-- Directory where OpenAPI specs are accessible. Using ./specs for sample -->
</properties>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>com.apigee.smartdocs.config</groupId>
<artifactId>apigee-smartdocs-maven-plugin</artifactId>
<version>2.0.0</version>
<executions>
<execution>
<id>smartdocs-deploy</id>
<phase>install</phase>
<goals>
<goal>apidoc</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>