brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From neykov <...@git.apache.org>
Subject [GitHub] brooklyn-server pull request #489: BROOKLYN-409: add test
Date Fri, 16 Dec 2016 15:31:33 GMT
Github user neykov commented on a diff in the pull request:

    https://github.com/apache/brooklyn-server/pull/489#discussion_r92830375
  
    --- Diff: utils/common/dependencies/osgi/com-example-entities/pom.xml ---
    @@ -0,0 +1,89 @@
    +<?xml version="1.0" encoding="UTF-8"?>
    +<!--
    +    Licensed to the Apache Software Foundation (ASF) under one
    +    or more contributor license agreements.  See the NOTICE file
    +    distributed with this work for additional information
    +    regarding copyright ownership.  The ASF licenses this file
    +    to you under the Apache License, Version 2.0 (the
    +    "License"); you may not use this file except in compliance
    +    with the License.  You may obtain a copy of the License at
    +    
    +     http://www.apache.org/licenses/LICENSE-2.0
    +    
    +    Unless required by applicable law or agreed to in writing,
    +    software distributed under the License is distributed on an
    +    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    +    KIND, either express or implied.  See the License for the
    +    specific language governing permissions and limitations
    +    under the License.
    +-->
    +<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>
    +    <packaging>jar</packaging>
    +
    +    <!--
    +    Deliberately not using "org.apache.brooklyn", because those are white-listed for

    +    class-loading purposes. This is *only* used for testing, and is not released to
    +    maven-central etc, so it's ok to use a groupId that we don't actually own!
    +    -->
    +    <groupId>com.example.brooklyn.test.resources.osgi</groupId>
    +    <artifactId>brooklyn-test-osgi-com-example-entities</artifactId>
    +    <version>0.1.0</version>
    +
    +    <name>OSGi bundled test entities</name>
    +
    +    <description>
    +        Simple entities for testing the OSGi functionality
    +    </description>
    +
    +    <parent>
    +        <groupId>org.apache.brooklyn</groupId>
    +        <artifactId>brooklyn-parent</artifactId>
    +        <version>0.11.0-SNAPSHOT</version><!-- BROOKLYN_VERSION -->
    +        <relativePath>../../../../../../../parent/pom.xml</relativePath>
    +    </parent>
    +    <dependencies>
    +        <dependency>
    +            <groupId>org.apache.brooklyn</groupId>
    +            <artifactId>brooklyn-core</artifactId>
    +            <version>${brooklyn.version}</version>
    +        </dependency>
    +        <dependency>
    +            <groupId>org.apache.brooklyn</groupId>
    +            <artifactId>brooklyn-api</artifactId>
    +            <version>${brooklyn.version}</version>
    +        </dependency>
    +        <dependency>
    +            <groupId>org.apache.brooklyn</groupId>
    +            <artifactId>brooklyn-utils-common</artifactId>
    +            <version>${brooklyn.version}</version>
    +        </dependency>
    +    </dependencies>
    +    
    +    <build>
    +        <plugins>
    +            <plugin>
    +                <groupId>org.apache.maven.plugins</groupId>
    +                <artifactId>maven-jar-plugin</artifactId>
    +                <version>2.3.2</version>
    --- End diff --
    
    The version is already defined (albeit a different one) in parent pom, remove from there.
    Same for below.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message