On 10/07/2013 12:36 PM, Nick Boldt wrote:
If you resolve the multiple target first, you can then use that to resolve the unified one, as per my instructions below and in the README.
I don't resolve anything, build is supposed to do that for me. If it is not, why all targets are in the same reactor?

Why turn on mirroring - which depends on your specific filesystem - when you can just pass in this?
Because it turned on by default and that what I wanted to test, to see that all location in multiple tp are actually published on download.jboss.org and available.

-DtargetRepositoryUrl=file://path/to/jbosstools-target-platforms/jbdevstudio/multiple/target/jbdevstudio-multiple.target.repo/

why this -DtargetRepository= is not set by default to local jbdevstudio/multiple/target/jbdevstudio-multiple.target.repo/  which has been built in the same reactor just couple seconds ago?

What I thought it was verified against the same locations presented in jbdevstudio-multiple.target.repo, because they should be available online to let jbdevstudio/multiple build to work and all metadata is downloaded into local maven repo.

BTW the same problem with jbosstools tp's after -DtargetRepositoryUrl is set as suggested above

[INFO] Building JBoss Tools Unified (Aggregate) Target Platform 4.40.0.Alpha1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- target-platform-utils:0.16.0-SNAPSHOT:flatten-target (create-target) @ jbosstools-unified ---
[INFO] 
[INFO] --- build-helper-maven-plugin:1.3:attach-artifact (attach-artifacts) @ jbosstools-unified ---
[INFO] 
[INFO] --- target-platform-validation-plugin:0.18.1:validate-target-platform (default) @ jbosstools-unified ---
[INFO] Validating /var/lib/jenkins/workspace/jbosstools-target-platform-luna/jbosstools/unified/target/jbosstools-unified.target...
[INFO] Failed, see Error log below
[ERROR] Validation found errors in 1 .target files:
Could not resolve content of jbosstools-unified.target
Could not find "org.eclipse.swtbot.eclipse.feature.group/2.1.1.201305311053" in the repositories of the current location

What works for me is:

mvn clean install -DtargetRepositoryUrl=file://location -f jbosstools/pom.xml
mvn clean install -DtargetRepositoryUrl=file://location -f jbdevstudio/pom.xml

I'll check modules build later.


Thanks
Denis


N

On 10/07/2013 03:08 PM, Denis Golovin wrote:
Go it, thanks.

It means verification for unified tp depends on unpublished multiple tp?
Could we use just mirred repo from local filesystem by default?

Would be good to have error with more details. Now it says

[ERROR] Validation found errors in 1 .target files: Could not resolve
content of jbdevstudio-unified.target Could not find
"org.eclipse.m2e.feature.feature.group/1.5.0.20131002-0330" in the
repositories of the current location

Could we add list of repositoriest it validates against?

Thanks
Denis

On 10/07/2013 11:36 AM, Nick Boldt wrote:
Denis:

When building the "unified" TPs from a feature branch which isn't
already built & published to download.jboss.org, you need to do this:

mvn install
-DtargetRepositoryUrl=file://path/to/jbosstools-target-platforms/jbdevstudio/multiple/target/jbdevstudio-multiple.target.repo/

Mickael:

Maybe you want to add this information to the email template you use
for TP change notifications? Or just tell people to RTFR [1] ?

[1]
https://github.com/jbosstools/jbosstools-target-platforms/tree/4.40.x#updating-versions-of-ius-in-target-files
(step three, validation)

On 10/07/2013 02:32 PM, Denis Golovin wrote:
I just did simple

mvn clean install

on target platform pom.xm from your branch.

Denis

On 10/07/2013 11:30 AM, Nick Boldt wrote:
I've added this info to the JIRA.

https://issues.jboss.org/browse/JBIDE-15374

On 10/07/2013 02:03 PM, Mickael Istria wrote:
On 10/07/2013 07:56 PM, Denis Golovin wrote:
[ERROR] Validation found errors in 1 .target files:
Could not resolve content of jbdevstudio-unified.target
Could not find
"org.eclipse.m2e.feature.feature.group/1.5.0.20131002-0330" in the
repositories of the current location

Can you please add this reports with the steps to reproduce to
JBIDE-15374 ?


--
Mickael Istria
Eclipse developer at JBoss, by Red Hat <http://www.jboss.org/tools>
My blog <http://mickaelistria.wordpress.com> - My Tweets
<http://twitter.com/mickaelistria>


_______________________________________________
jbosstools-dev mailing list
jbosstools-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosstools-dev