Skip to content

Commit ac34db1

Browse files
committed
reficio#149 add test to try reproducing the bug
1 parent fb73000 commit ac34db1

File tree

2 files changed

+90
-0
lines changed

2 files changed

+90
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#
2+
# Copyright (c) 2012 Reficio (TM) - Reestablish your software! All Rights Reserved.
3+
#
4+
# Licensed to the Apache Software Foundation (ASF) under one or more
5+
# contributor license agreements. See the NOTICE file distributed with
6+
# this work for additional information regarding copyright ownership.
7+
# The ASF licenses this file to You under the Apache License, Version 2.0
8+
# (the "License"); you may not use this file except in compliance with
9+
# the License. You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#
19+
20+
invoker.goals=p2:site
21+
invoker.buildResult = failure
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
Copyright (C) 2006-2007 the original author or authors.
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
-->
17+
18+
<!-- $Id$ -->
19+
20+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
22+
23+
<modelVersion>4.0.0</modelVersion>
24+
25+
<parent>
26+
<groupId>org.reficio</groupId>
27+
<artifactId>integration</artifactId>
28+
<version>@project.version@</version>
29+
<relativePath>../integration.xml</relativePath>
30+
</parent>
31+
32+
<artifactId>notExistingArtifacts</artifactId>
33+
34+
<properties>
35+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
36+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
37+
</properties>
38+
39+
<description>
40+
Test skipNotExistingArtifacts option default value
41+
</description>
42+
43+
<build>
44+
<plugins>
45+
<plugin>
46+
<groupId>org.reficio</groupId>
47+
<artifactId>p2-maven-plugin</artifactId>
48+
<version>@project.version@</version>
49+
<executions>
50+
<execution>
51+
<id>default-cli</id>
52+
53+
<configuration>
54+
<artifacts>
55+
<artifact>
56+
<id>org.acme:doesnotexist:1.0.0</id>
57+
<source>false</source>
58+
<transitive>false</transitive>
59+
</artifact>
60+
</artifacts>
61+
</configuration>
62+
63+
</execution>
64+
</executions>
65+
</plugin>
66+
</plugins>
67+
</build>
68+
</project>
69+

0 commit comments

Comments
 (0)