Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [recommenders-dev] [SnipMatch] Building the Current Codebase

Hi Madhuranga,

> But the build failed again at
> the org.eclipse.recommenders.snipmatch.rcp.feature module. Following is
> the command-line output with the stack trace. When i searched i found
> that this is because of MANIFEST and POM versions for the bundle are not
> matching. But those version are same in the project (0.2.0.qualifier and
> 0.2.0-SNAPSHOT). 
> Please give me a help.

Tycho's error message is less than clear, but I think I have an idea
what happened...

> [INFO] org.eclipse.recommenders.snipmatch.rcp.tests ...... SUCCESS
> [3:39.220s]
> [INFO] org.eclipse.recommenders.templates.tests .......... SUCCESS
> [2:29.163s]
> [INFO] Features .......................................... SUCCESS [3.378s]
> [INFO] org.eclipse.recommenders.snipmatch.rcp.feature .... FAILURE [8.277s]
> [INFO] repositories ...................................... SKIPPED
> [INFO] Recommenders Incubator: Snipmatch ................. SKIPPED
> [INFO] aggregator ........................................ SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 11:16.520s
> [INFO] Finished at: Wed Feb 19 17:10:27 IST 2014
> [INFO] Final Memory: 84M/318M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.eclipse.tycho:tycho-packaging-plugin:0.19.0:build-qualifier-aggregator
> (default-build-qualifier-aggregator) on proj
> ect org.eclipse.recommenders.snipmatch.rcp.feature: Execution
> default-build-qualifier-aggregator of goal
> org.eclipse.tycho:tycho-packaging-plugin:0.19
> .0:build-qualifier-aggregator failed: Project
> org.eclipse.recommenders.snipmatch:org.eclipse.recommenders.templates:eclipse-plugin:0.2.0-SNAPSHOT
> does
>  not have expanded version -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute goal
> org.eclipse.tycho:tycho-packaging-plugin:0.19.0:build-qualifier-aggrega
> tor (default-build-qualifier-aggregator) on project
> org.eclipse.recommenders.snipmatch.rcp.feature: Execution
> default-build-qualifier-aggregator of go
> al
> org.eclipse.tycho:tycho-packaging-plugin:0.19.0:build-qualifier-aggregator
> failed: Project org.eclipse.recommenders.snipmatch:org.eclipse.recommend
> ers.templates:eclipse-plugin:0.2.0-SNAPSHOT does not have expanded version

When this happens for a feature project (packaging eclipse-feature) it
may be that you resumed the previous build with the "-rf" option. (Did you?)

AFAIK, this option works only for eclipse-plugin and eclipse-test-plugin
projects but not for eclipse-feature projects. So, just run a fresh "mvn
clean install".

Hope that helps.

Andreas

-- 
Codetrails UG (haftungsbeschränkt)
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Mobile: +49-170-811-3791
http://www.codetrails.com/

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940


Back to the top