Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317898

Summary: Failure of validation build not propated to Maven from headless build
Product: [Technology] Tigerstripe Reporter: Steve Jerman <sjerman>
Component: HeadlessAssignee: Yuri Strot <yuri>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: erdillon
Version: 0.5   
Target Milestone: 0.5M0   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Steve Jerman CLA 2010-06-24 20:05:56 EDT
[INFO] Command line:
	/bin/sh -c cd /EclipseWorkspaces/new-build-proper/xmp-im-logical-resource-module && /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java -Xmx800m -XX:MaxPermSize=256m -Dosgi.os=macosx -Dosgi.ws=cocoa -Dosgi.arch=x86_64 -jar /Users/steve/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.launcher/1.0.201.R35x_v20090715/org.eclipse.equinox.launcher-1.0.201.R35x_v20090715.jar -noSplash -os=macosx -ws=cocoa -arch=x86_64 -clean=true -data /EclipseWorkspaces/new-build-proper/xmp-im-logical-resource-module/target/work/data -install /EclipseWorkspaces/new-build-proper/xmp-im-logical-resource-module/target/work -configuration /EclipseWorkspaces/new-build-proper/xmp-im-logical-resource-module/target/work/configuration -application org.eclipse.tigerstripe.workbench.headless.tigerstripe GENERATION_PROJECT=/EclipseWorkspaces/new-build-proper/xmp-im-logical-resource-module PROJECT_IMPORT=xmp-im-logical-resource-module
Tigerstripe Workbench Base Plug-in (Incubation) (v0.5.0.201006200249)
Active Profile: XMP-IM Model Profile 1.43
Imported xmp-im-logical-resource-module into workspace.
Generation project: /EclipseWorkspaces/new-build-proper/xmp-im-logical-resource-module
[Project: xmp-im-logical-resource-module, Plugin: xmp-validation(0.0.1.qualifier), Facet: default]
Error: Validation Failed: 
Stereotype BusinessKey References
	BusinessKey Stereotypes have values that need to refer to valid attributes.
Check any violations and fix the reference names.
		 Entity	 ResourceClassification	 com.cisco.xmp.model.foundation.abstractCore.ResourceClassification	 BusinessKey	 attributes	 classificationType classificationValue classificationScheme 
	 Entity	 PhysicalConnector	 com.cisco.xmp.model.managed.standardTechnologies.equipment.PhysicalConnector	 BusinessKey	 attributes	 entPhysicalContainedIn name owningEntityId 
	 Entity	 Equipment	 com.cisco.xmp.model.managed.standardTechnologies.equipment.Equipment	 BusinessKey	 attributes	 owningEntityId entPhysicalIndex 
	 Entity	 GeographicSubaddress	 com.cisco.xmp.model.supportFacilities.location.GeographicSubaddress	 BusinessKey	 attributes	 owningEntityId buildingName levelNr subUnitNr 
	 Entity	 InterfaceProtocolEndpoint	 com.cisco.xmp.model.foundation.connectivity.InterfaceProtocolEndpoint	 BusinessKey	 attributes	 owningEntityId ifIndex 
	 Entity	 InterfaceProtocolEndpointStatistics	 com.cisco.xmp.model.foundation.connectivity.InterfaceProtocolEndpointStatistics	 BusinessKey	 attributes	 owningEntityId ipepIndex 
	 Entity	 IpProtocolEndpoint	 com.cisco.xmp.model.foundation.connectivity.ip.IpProtocolEndpoint	 BusinessKey	 attributes	 owningEntityId address ifIndex 

	Stereotype DisplayName References
	DisplayName Stereotypes have values that need to refer to valid attributes.
Check any violations and fix the reference names.
		 Entity	 ResourceClassification	 com.cisco.xmp.model.foundation.abstractCore.ResourceClassification	 DisplayName	 attributes	 classificationType classificationValue classificationScheme 
	 Entity	 PhysicalConnector	 com.cisco.xmp.model.managed.standardTechnologies.equipment.PhysicalConnector	 DisplayName	 attributes	 name 
	 Entity	 Equipment	 com.cisco.xmp.model.managed.standardTechnologies.equipment.Equipment	 DisplayName	 attributes	 name 

	Join Checks
	Check that the Join steroetypes are valid.
		 com.cisco.xmp.model.managed.standardTechnologies.equipment.Equipment	 n/a	 Invalid attr:entPhysicalContainedIn EquipmentHasEquipment/containedEquipment{AlternateKey1}:owningEntityId
	 com.cisco.xmp.model.foundation.connectivity.InterfaceProtocolEndpoint	 n/a	 Invalid attr:owningEntityId InterfaceProtocolEndpointHasStatistics:owningEntityId

	


Generation complete. Took 7470 milliseconds.
[INFO] Generation passed!
[INFO]
Comment 1 Eric Dillon CLA 2010-06-28 18:55:24 EDT
Yuri? It looks like it should be a quick fix to return some error code to Maven?
Comment 2 Yuri Strot CLA 2010-06-29 06:56:32 EDT
Yes, now we return error code if validation failed.
Comment 3 Eric Dillon CLA 2010-06-30 13:58:53 EDT
*** Bug 318503 has been marked as a duplicate of this bug. ***