Hi Michiel,

We are really sorry for the inconvenience caused, this was a recent change
we did for moving cartridge docker image files to tools folder.

The problem has occurred due to the parent artifact name in
stratos-docker-images module being referred to stratos-parent. It should
refer stratos-tools. I have now fixed this.

Regarding the issue in Apache Jenkins build, it has failed due to a problem
in CLI integration tests. CLI integration tests have not been updated after
functional changes done for service grouping. Will fix this with the effort
we put in improving automated tests.

Thanks




On Thu, Jan 15, 2015 at 9:15 PM, Nirmal Fernando <nirmal070...@gmail.com>
wrote:

> Can you try changing relativePath at
> https://github.com/apache/stratos/blob/master/tools/docker-images/stratos-docker-images/pom.xml#L26
> to ../../../pom.xml
>
> AFAIS the relative path is incorrect. And in fact, IMO the parent pom
> should be https://github.com/apache/stratos/blob/master/tools/pom.xml
>
> On Thu, Jan 15, 2015 at 5:15 PM, Michiel Blokzijl (mblokzij) <
> mblok...@cisco.com> wrote:
>
>> Hi Lahiru,
>>
>> Yes, I tried both mvn clean install and mvn dependency:resolve, using 2
>> internet connections, neither worked.
>>
>> Cheers,
>>
>> Michiel
>>
>> On 14 Jan 2015, at 19:27, Lahiru Sandaruwan <lahi...@wso2.com> wrote:
>>
>> Hi Michiel,
>>
>> On Wed, Jan 14, 2015 at 9:03 PM, Michiel Blokzijl (mblokzij) <
>> mblok...@cisco.com> wrote:
>>
>>> Hey guys,
>>>
>>> Is this expected? I’m getting the following error while trying to build
>>> the latest master, in a fresh clone:
>>>
>>
>> Are you building the project online?(using mvn clean install)
>>
>>
>>>
>>> [ERROR]   The project
>>> org.apache.stratos:stratos-docker-images:4.1.0-SNAPSHOT
>>> (/Users/me/Code/stratos_ws/stratos-2/tools/docker-images/stratos-docker-images/pom.xml)
>>> has 1 error
>>> [ERROR]     Non-resolvable parent POM: Could not find artifact
>>> org.apache.stratos:stratos-parent:pom:4.1.0-SNAPSHOT
>>> and 'parent.relativePath' points at wrong local POM @ line 22, column 10 ->
>>> [Help 2]
>>>
>>> I went and looked at Jenkins @
>>> https://builds.apache.org/view/All/job/Stratos-Master-Nightly-Build/,
>>> and it looks like the master branch has been broken for a long time.
>>>
>>>
>> This was there for sometime but, it was an issue with Jenkin config as in
>> my understanding.
>>
>> Thanks.
>>
>>> Is this business as usual? :(
>>>
>>> I just fixed a bug on a branch, and wanted to contribute the fix to the
>>> upstream master branch..
>>>
>>> Best regards,
>>>
>>> Michiel
>>>
>>> Full log:
>>> me@mylaptop:~/Code/stratos_ws/stratos-2% mvn clean install >&
>>> build.log              (git)-[master]
>>> me@mylaptop:~/Code/stratos_ws/stratos-2 (1) % less build.log
>>>               (git)-[master]
>>> me@mylaptop:~/Code/stratos_ws/stratos-2% cat build.log
>>>               (git)-[master]
>>> [INFO] Scanning for projects...
>>> Downloading:
>>> http://repo.maven.apache.org/maven2/org/apache/jclouds/jclouds-project/1.8.1/jclouds-project-1.8.1.pom
>>> Downloaded:
>>> http://repo.maven.apache.org/maven2/org/apache/jclouds/jclouds-project/1.8.1/jclouds-project-1.8.1.pom
>>> (39 KB at 0.6 KB/sec)
>>> Downloading:
>>> http://repo.maven.apache.org/maven2/org/apache/jclouds/labs/jclouds-labs-google/1.8.1/jclouds-labs-google-1.8.1.pom
>>> Downloaded:
>>> http://repo.maven.apache.org/maven2/org/apache/jclouds/labs/jclouds-labs-google/1.8.1/jclouds-labs-google-1.8.1.pom
>>> (7 KB at 0.1 KB/sec)
>>> [ERROR] The build could not read 1 project -> [Help 1]
>>> [ERROR]
>>> [ERROR]   The project
>>> org.apache.stratos:stratos-docker-images:4.1.0-SNAPSHOT
>>> (/Users/me/Code/stratos_ws/stratos-2/tools/docker-images/stratos-docker-images/pom.xml)
>>> has 1 error
>>> [ERROR]     Non-resolvable parent POM: Could not find artifact
>>> org.apache.stratos:stratos-parent:pom:4.1.0-SNAPSHOT
>>> and 'parent.relativePath' points at wrong local POM @ line 22, column 10 ->
>>> [Help 2]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>>> -e switch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible solutions,
>>> please read the following articles:
>>> [ERROR] [Help 1]
>>> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
>>> [ERROR] [Help 2]
>>> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
>>> me@mylaptop:~/Code/stratos_ws/stratos-2% time mvn dependency:resolve
>>>               (git)-[master]
>>> [INFO] Scanning for projects...
>>> [ERROR] The build could not read 1 project -> [Help 1]
>>> [ERROR]
>>> [ERROR]   The project
>>> org.apache.stratos:stratos-docker-images:4.1.0-SNAPSHOT
>>> (/Users/me/Code/stratos_ws/stratos-2/tools/docker-images/stratos-docker-images/pom.xml)
>>> has 1 error
>>> [ERROR]     Non-resolvable parent POM: Could not find artifact
>>> org.apache.stratos:stratos-parent:pom:4.1.0-SNAPSHOT
>>> and 'parent.relativePath' points at wrong local POM @ line 22, column 10 ->
>>> [Help 2]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>>> -e switch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible solutions,
>>> please read the following articles:
>>> [ERROR] [Help 1]
>>> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
>>> [ERROR] [Help 2]
>>> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
>>> mvn dependency:resolve  9.60s user 0.44s system 151% cpu 6.633 total
>>> me@mylaptop:~/Code/stratos_ws/stratos-2 (1) %
>>>               (git)-[master]
>>>
>>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Committer and PMC member, Apache Stratos,
>> Senior Software Engineer,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Reply via email to