Please update vtn-verify and vtn-merge to support Release Vehicles


Hideyuki Tai <h-tai@...>
 

Hi Ed,

The problem has been fixed by the patch pushed by Shigeru.
https://git.opendaylight.org/gerrit/#/c/1592/

Now, all files of VTN Project needed for building Virtulization Edition are
deployed.

Regards,
Hideyuki Tai

-----Original Message-----
From: integration-dev-bounces@...
[mailto:integration-dev-bounces@...] On Behalf Of
Hideyuki Tai
Sent: Wednesday, October 02, 2013 8:49 AM
To: 'Ed Warnicke (eaw)'; vtn-dev@...;
integration-dev@...
Subject: Re: [integration-dev] Please update vtn-verify and vtn-merge to
support Release Vehicles

Hi Ed,

Sorry for the inconvenience.
We will look into vtn-verify job and vtn-merge job to support Release
Vehicles,
and also review the use of check style config.

Thanks,
Hideyuki Tai

-----Original Message-----
From: integration-dev-bounces@...
[mailto:integration-dev-bounces@...] On Behalf Of
Ed Warnicke (eaw)
Sent: Wednesday, October 02, 2013 5:48 AM
To: vtn-dev@...;
integration-dev@...
Subject: Re: [integration-dev] Please update vtn-verify and vtn-merge
to support Release Vehicles

I realized when trying to build your manager/commons that it suffers
from
an
issue around the use of

<configLocation>
${project.parent.basedir}/checkstyle.xml
</configLocation>

for check style, that causes a build error. We solved that in
controller
by
pulling the check style config into its own maven project (see
opendaylight/commons/checkstyle, it's quite simple) and including it
as a dependency for the check style plugin (see
opendaylight/commons/opendaylight :

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${checkstyle.version}</version>
<dependencies>
<dependency>
<groupId>org.opendaylight.controller</groupId>
<artifactId>checkstyle</artifactId>
<version>0.0.2-SNAPSHOT</version>
</dependency>
</dependencies>
<executions>
<execution>
<phase>process-sources</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<failsOnError>true</failsOnError>

<configLocation>controller/space_and_tabs_checks.xml</configLocation>
<consoleOutput>true</consoleOutput>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<sourceDirectory>${project.basedir}</sourceDirectory>

<includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat</includes>
<excludes>target\/</excludes>
</configuration>
</plugin>


).

Ed
On Oct 1, 2013, at 3:33 PM, Ed Warnicke (eaw) <eaw@...> wrote:

As part of putting together the release vehicles for ODL (Base,
Virtualization, Service Provider) I am constructing distribution
directories
for each flavor in the integration project.

When I attempt to pull in

<dependency>
<groupId>org.opendaylight.vtn</groupId>
<artifactId>manager</artifactId>
<version>0.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.opendaylight.vtn</groupId>
<artifactId>manager.implementation</artifactId>
<version>0.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.opendaylight.vtn</groupId>
<artifactId>manager.northbound</artifactId>
<version>0.1.0-SNAPSHOT</version>
</dependency>


To include the vtn pieces, I encounter an error:

[ERROR] Failed to execute goal on project
distributions-virtualization: Could not resolve dependencies for
project
org.opendaylight.integration:distributions-virtualization:pom:0.1.0-
SN
APSHOT: Failed to collect dependencies for
[org.opendaylight.integration:distributions-base:zip:osgipackage:0.1
.0 -SNAPSHOT (provided),
org.opendaylight.ovsdb:ovsdb:jar:0.4.0-SNAPSHOT
(compile), org.opendaylight.vtn:manager:jar:0.1.0-SNAPSHOT
(compile),
org.opendaylight.vtn:manager.implementation:jar:0.1.0-SNAPSHOT
(compile),
org.opendaylight.vtn:manager.northbound:jar:0.1.0-SNAPSHOT
(compile)]: Failed to read artifact descriptor for
org.opendaylight.vtn:manager:jar:0.1.0-SNAPSHOT: Failure to find
org.opendaylight.vtn:manager.common:pom:0.1.0-SNAPSHOT in
http://nexus.opendaylight.org/content/repositories/jsonrpc4j-webdav-
ma ven-repo/ was cached in the local repository, resolution will not
be reattempted until the update interval of
jsonrpc4j-webdav-maven-repo has elapsed or updates are forced -
> [Help 1]


This error is occurring because the
org.opendaylight.vtn:manager.common is not being built by your merge
job, and thus its artifact is not being pushed to Nexus. Since the
other vtn manager artifacts depend on it, I am unsuccessful in
pulling them into the virtualization edition via maven/nexus. You
can resolve this if you will insert a Post Build Step into your
vtn-verify and vtn-merge jobs that build

commons/
manager/commons/

So that their pom.xml files get deployed. Your prompt assistance
with
this
would be very much appreciated,
as it is blocking getting the Release Vehicles going :)

Ed

_______________________________________________
integration-dev mailing list
integration-dev@...
https://lists.opendaylight.org/mailman/listinfo/integration-dev
_______________________________________________
integration-dev mailing list
integration-dev@...
https://lists.opendaylight.org/mailman/listinfo/integration-dev


Hideyuki Tai <h-tai@...>
 

Hi Ed,

Sorry for the inconvenience.
We will look into vtn-verify job and vtn-merge job to support Release
Vehicles, and also review the use of check style config.

Thanks,
Hideyuki Tai

-----Original Message-----
From: integration-dev-bounces@...
[mailto:integration-dev-bounces@...] On Behalf Of Ed
Warnicke (eaw)
Sent: Wednesday, October 02, 2013 5:48 AM
To: vtn-dev@...; integration-dev@...
Subject: Re: [integration-dev] Please update vtn-verify and vtn-merge to
support Release Vehicles

I realized when trying to build your manager/commons that it suffers from
an
issue around the use of

<configLocation>
${project.parent.basedir}/checkstyle.xml
</configLocation>

for check style, that causes a build error. We solved that in controller
by
pulling the check style config into its own maven project (see
opendaylight/commons/checkstyle, it's quite simple) and including it as a
dependency for the check style plugin (see
opendaylight/commons/opendaylight :

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${checkstyle.version}</version>
<dependencies>
<dependency>
<groupId>org.opendaylight.controller</groupId>
<artifactId>checkstyle</artifactId>
<version>0.0.2-SNAPSHOT</version>
</dependency>
</dependencies>
<executions>
<execution>
<phase>process-sources</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<failsOnError>true</failsOnError>

<configLocation>controller/space_and_tabs_checks.xml</configLocation>
<consoleOutput>true</consoleOutput>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<sourceDirectory>${project.basedir}</sourceDirectory>

<includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat</includes>
<excludes>target\/</excludes>
</configuration>
</plugin>


).

Ed
On Oct 1, 2013, at 3:33 PM, Ed Warnicke (eaw) <eaw@...> wrote:

As part of putting together the release vehicles for ODL (Base,
Virtualization, Service Provider) I am constructing distribution
directories
for each flavor in the integration project.

When I attempt to pull in

<dependency>
<groupId>org.opendaylight.vtn</groupId>
<artifactId>manager</artifactId>
<version>0.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.opendaylight.vtn</groupId>
<artifactId>manager.implementation</artifactId>
<version>0.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.opendaylight.vtn</groupId>
<artifactId>manager.northbound</artifactId>
<version>0.1.0-SNAPSHOT</version>
</dependency>


To include the vtn pieces, I encounter an error:

[ERROR] Failed to execute goal on project
distributions-virtualization: Could not resolve dependencies for
project
org.opendaylight.integration:distributions-virtualization:pom:0.1.0-SN
APSHOT: Failed to collect dependencies for
[org.opendaylight.integration:distributions-base:zip:osgipackage:0.1.0
-SNAPSHOT (provided), org.opendaylight.ovsdb:ovsdb:jar:0.4.0-SNAPSHOT
(compile), org.opendaylight.vtn:manager:jar:0.1.0-SNAPSHOT (compile),
org.opendaylight.vtn:manager.implementation:jar:0.1.0-SNAPSHOT
(compile), org.opendaylight.vtn:manager.northbound:jar:0.1.0-SNAPSHOT
(compile)]: Failed to read artifact descriptor for
org.opendaylight.vtn:manager:jar:0.1.0-SNAPSHOT: Failure to find
org.opendaylight.vtn:manager.common:pom:0.1.0-SNAPSHOT in
http://nexus.opendaylight.org/content/repositories/jsonrpc4j-webdav-ma
ven-repo/ was cached in the local repository, resolution will not be
reattempted until the update interval of jsonrpc4j-webdav-maven-repo
has elapsed or updates are forced -
> [Help 1]


This error is occurring because the
org.opendaylight.vtn:manager.common is not being built by your merge
job, and thus its artifact is not being pushed to Nexus. Since the
other vtn manager artifacts depend on it, I am unsuccessful in pulling
them into the virtualization edition via maven/nexus. You can resolve
this if you will insert a Post Build Step into your vtn-verify and
vtn-merge jobs that build

commons/
manager/commons/

So that their pom.xml files get deployed. Your prompt assistance with
this
would be very much appreciated,
as it is blocking getting the Release Vehicles going :)

Ed

_______________________________________________
integration-dev mailing list
integration-dev@...
https://lists.opendaylight.org/mailman/listinfo/integration-dev


Ed Warnicke (eaw) <eaw@...>
 

I realized when trying to build your manager/commons that it suffers from an issue around the use of

<configLocation>
${project.parent.basedir}/checkstyle.xml
</configLocation>

for check style, that causes a build error. We solved that in controller by pulling the check style config into its own
maven project (see opendaylight/commons/checkstyle, it's quite simple) and including it as a
dependency for the check style plugin (see opendaylight/commons/opendaylight :

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${checkstyle.version}</version>
<dependencies>
<dependency>
<groupId>org.opendaylight.controller</groupId>
<artifactId>checkstyle</artifactId>
<version>0.0.2-SNAPSHOT</version>
</dependency>
</dependencies>
<executions>
<execution>
<phase>process-sources</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<failsOnError>true</failsOnError>
<configLocation>controller/space_and_tabs_checks.xml</configLocation>
<consoleOutput>true</consoleOutput>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<sourceDirectory>${project.basedir}</sourceDirectory>
<includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat</includes>
<excludes>target\/</excludes>
</configuration>
</plugin>


).

Ed

On Oct 1, 2013, at 3:33 PM, Ed Warnicke (eaw) <eaw@...> wrote:

As part of putting together the release vehicles for ODL (Base, Virtualization, Service Provider) I am
constructing distribution directories for each flavor in the integration project.

When I attempt to pull in

<dependency>
<groupId>org.opendaylight.vtn</groupId>
<artifactId>manager</artifactId>
<version>0.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.opendaylight.vtn</groupId>
<artifactId>manager.implementation</artifactId>
<version>0.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.opendaylight.vtn</groupId>
<artifactId>manager.northbound</artifactId>
<version>0.1.0-SNAPSHOT</version>
</dependency>


To include the vtn pieces, I encounter an error:

[ERROR] Failed to execute goal on project distributions-virtualization: Could not resolve dependencies for project org.opendaylight.integration:distributions-virtualization:pom:0.1.0-SNAPSHOT: Failed to collect dependencies for [org.opendaylight.integration:distributions-base:zip:osgipackage:0.1.0-SNAPSHOT (provided), org.opendaylight.ovsdb:ovsdb:jar:0.4.0-SNAPSHOT (compile), org.opendaylight.vtn:manager:jar:0.1.0-SNAPSHOT (compile), org.opendaylight.vtn:manager.implementation:jar:0.1.0-SNAPSHOT (compile), org.opendaylight.vtn:manager.northbound:jar:0.1.0-SNAPSHOT (compile)]: Failed to read artifact descriptor for org.opendaylight.vtn:manager:jar:0.1.0-SNAPSHOT: Failure to find org.opendaylight.vtn:manager.common:pom:0.1.0-SNAPSHOT in http://nexus.opendaylight.org/content/repositories/jsonrpc4j-webdav-maven-repo/ was cached in the local repository, resolution will not be reattempted until the update interval of jsonrpc4j-webdav-maven-repo has elapsed or updates are forced -> [Help 1]


This error is occurring because the org.opendaylight.vtn:manager.common is not being built by your
merge job, and thus its artifact is not being pushed to Nexus. Since the other vtn manager artifacts depend on it,
I am unsuccessful in pulling them into the virtualization edition via maven/nexus. You can resolve this if you will insert
a Post Build Step into your vtn-verify and vtn-merge jobs that build

commons/
manager/commons/

So that their pom.xml files get deployed. Your prompt assistance with this would be very much appreciated,
as it is blocking getting the Release Vehicles going :)

Ed


Ed Warnicke (eaw) <eaw@...>
 

As part of putting together the release vehicles for ODL (Base, Virtualization, Service Provider) I am
constructing distribution directories for each flavor in the integration project.

When I attempt to pull in

<dependency>
<groupId>org.opendaylight.vtn</groupId>
<artifactId>manager</artifactId>
<version>0.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.opendaylight.vtn</groupId>
<artifactId>manager.implementation</artifactId>
<version>0.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.opendaylight.vtn</groupId>
<artifactId>manager.northbound</artifactId>
<version>0.1.0-SNAPSHOT</version>
</dependency>


To include the vtn pieces, I encounter an error:

[ERROR] Failed to execute goal on project distributions-virtualization: Could not resolve dependencies for project org.opendaylight.integration:distributions-virtualization:pom:0.1.0-SNAPSHOT: Failed to collect dependencies for [org.opendaylight.integration:distributions-base:zip:osgipackage:0.1.0-SNAPSHOT (provided), org.opendaylight.ovsdb:ovsdb:jar:0.4.0-SNAPSHOT (compile), org.opendaylight.vtn:manager:jar:0.1.0-SNAPSHOT (compile), org.opendaylight.vtn:manager.implementation:jar:0.1.0-SNAPSHOT (compile), org.opendaylight.vtn:manager.northbound:jar:0.1.0-SNAPSHOT (compile)]: Failed to read artifact descriptor for org.opendaylight.vtn:manager:jar:0.1.0-SNAPSHOT: Failure to find org.opendaylight.vtn:manager.common:pom:0.1.0-SNAPSHOT in http://nexus.opendaylight.org/content/repositories/jsonrpc4j-webdav-maven-repo/ was cached in the local repository, resolution will not be reattempted until the update interval of jsonrpc4j-webdav-maven-repo has elapsed or updates are forced -> [Help 1]


This error is occurring because the org.opendaylight.vtn:manager.common is not being built by your
merge job, and thus its artifact is not being pushed to Nexus. Since the other vtn manager artifacts depend on it,
I am unsuccessful in pulling them into the virtualization edition via maven/nexus. You can resolve this if you will insert
a Post Build Step into your vtn-verify and vtn-merge jobs that build

commons/
manager/commons/

So that their pom.xml files get deployed. Your prompt assistance with this would be very much appreciated,
as it is blocking getting the Release Vehicles going :)

Ed