This repository has been archived by the owner on Aug 11, 2020. It is now read-only.
/
pom.xml
152 lines (142 loc) · 6.59 KB
/
pom.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!--
Copyright (c) 2008-2011 Sonatype, Inc.
All rights reserved. Includes the third-party code listed at http://www.sonatype.com/products/nexus/attributions.
This program is free software: you can redistribute it and/or modify it only under the terms of the GNU Affero General
Public License Version 3 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License Version 3
for more details.
You should have received a copy of the GNU Affero General Public License Version 3 along with this program. If not, see
http://www.gnu.org/licenses.
Sonatype Nexus (TM) Open Source Version is available from Sonatype, Inc. Sonatype and Sonatype Nexus are trademarks of
Sonatype, Inc. Apache Maven is a trademark of the Apache Foundation. M2Eclipse is a trademark of the Eclipse Foundation.
All other trademarks are the property of their respective owners.
-->
<!-- Copyright (c) 2008-2011 Sonatype, Inc. All rights reserved. Includes the third-party code listed at http://www.sonatype.com/products/nexus/attributions. This program is free software: you can redistribute it and/or modify it only under the terms of the
GNU Affero General Public License Version 3 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU Affero General Public License Version 3 for more details. You should have received a copy of the GNU Affero General Public License Version 3 along with this program. If not, see http://www.gnu.org/licenses. Sonatype Nexus (TM) Open Source
Version is available from Sonatype, Inc. Sonatype and Sonatype Nexus are trademarks of Sonatype, Inc. Apache Maven is a trademark of the Apache Foundation. M2Eclipse is a trademark of the Eclipse Foundation. All other trademarks are the property of their respective
owners. -->
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.sonatype.nexus.plugins</groupId>
<artifactId>nexus-core-plugins</artifactId>
<version>1.9.2.4</version>
</parent>
<artifactId>nexus-lvo-plugin</artifactId>
<name>Nexus : Core Plugins : LVO Plugin</name>
<description>Nexus LVO Plugin (Extension).</description>
<dependencies>
<dependency>
<groupId>org.sonatype.nexus</groupId>
<artifactId>nexus-rest-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.maven.indexer</groupId>
<artifactId>indexer-artifact</artifactId>
</dependency>
<dependency>
<groupId>org.sonatype.spice</groupId>
<artifactId>spice-utils</artifactId>
</dependency>
<!-- Note: this extension lives in Nexus Core, while one of it's strategies (IndexingContextDiscoveryStrategy) depends on IndxerManager to be found in nexus-indexer-lucene-plugin. Hence, we are providing the dependency as "provided" scope, but this means
that this strategy will be workable ONLY if you have that plugin installed -->
<dependency>
<groupId>org.sonatype.nexus.plugins</groupId>
<artifactId>nexus-indexer-lucene-plugin</artifactId>
<scope>provided</scope>
<type>nexus-plugin</type>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit-dep</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.sonatype.nexus</groupId>
<artifactId>nexus-test-common</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<!-- Needed to make Maven "know" nexus-plugin packaging -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>app-lifecycle-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-component-metadata</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.modello</groupId>
<artifactId>modello-maven-plugin</artifactId>
<executions>
<execution>
<id>lvo-config.xml</id>
<goals>
<goal>java</goal>
<goal>xpp3-reader</goal>
<goal>xpp3-writer</goal>
</goals>
<configuration>
<version>1.0.1</version>
<models>
<model>src/main/mdo/lvo-config.xml</model>
</models>
<packagedVersions>
<packagedVersion>1.0.0</packagedVersion>
</packagedVersions>
</configuration>
</execution>
</executions>
<configuration>
<packageWithVersion>false</packageWithVersion>
</configuration>
</plugin>
<plugin>
<groupId>net.sf.alchim</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId>
<version>0.7.1</version>
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>2.0.1</version>
</dependency>
</dependencies>
<executions>
<execution>
<goals>
<goal>compress</goal>
</goals>
<configuration>
<aggregations>
<aggregation>
<output>${project.build.directory}/classes/static/js/nexus-lvo-plugin-all.js</output>
<!-- files to include, path relative to output's directory or absolute path -->
<includes>
<include>${project.build.directory}/classes/static/js/repoServer.NexusUpgradeChecker.js</include>
</includes>
</aggregation>
</aggregations>
</configuration>
</execution>
</executions>
<configuration>
<nosuffix>true</nosuffix>
<nomunge>true</nomunge>
<jswarn>false</jswarn>
<aggregations>
<aggregation>
<!-- insert new line after each concatenation (default: false) -->
<insertNewLine>true</insertNewLine>
</aggregation>
</aggregations>
</configuration>
</plugin>
</plugins>
</build>
</project>