jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ignasi Barrera (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-1252) labs snapshots not updating
Date Fri, 03 Mar 2017 10:19:49 GMT

    [ https://issues.apache.org/jira/browse/JCLOUDS-1252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15894083#comment-15894083
] 

Ignasi Barrera commented on JCLOUDS-1252:
-----------------------------------------

This happens every time we create a new release. The problem is the pom.xml structure:

The "aggregate javadoc" goal is configured in the "doc" profile in the root pom.xml, and all
projects inherit from it. Being in the root pom, is making it resolve all the dependencies
to generate the aggregate docs, but just after the release, there is no still a version of
the new snapshot in the local Maven repo, and the resolution fails. This happens if the first
build is made using the {{-Pdoc}} parameter (which our jenkins builds do).

One fix is to run the very first build after a release without the doc profile. Another possible
(and better) fix, would be to create a pom.xml structure similar to the one in the main repo
where we have a "project" pom to be used as a parent pom (defining the plugins, etc), and
the root pom.xml used just as an aggregator pom to define the modules.

I'll run the build without the doc profile once and then restore the Jenkins builds to get
the snapshtos published so we can mark this issue as fixed. The project structure should be
tracked in JCLOUDS-104.


> labs snapshots not updating
> ---------------------------
>
>                 Key: JCLOUDS-1252
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1252
>             Project: jclouds
>          Issue Type: Task
>          Components: jclouds-labs
>    Affects Versions: 2.0.2
>            Reporter: Andrew Gaul
>            Assignee: Ignasi Barrera
>
> I see the following error when using 2.0.2-SNAPSHOT in my application:
> {code}
> [ERROR] Failed to execute goal on project s3proxy: Could not resolve dependencies for
project org.gaul:s3proxy:jar:1.6.0-SNAPSHOT: The following artifacts could not be resolved:
org.apache.jclouds.labs:b2:jar:2.0.2-SNAPSHOT, org.apache.jclouds.labs:google-cloud-storage:jar:2.0.2-SNAPSHOT:
Could not find artifact org.apache.jclouds.labs:b2:jar:2.0.2-SNAPSHOT in apache-snapshots
(https://repository.apache.org/content/repositories/snapshots) -> [Help 1]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message