bw-maven-plugin/src/main/java/fr/fastconnect/factory/tibco/bw/maven/packaging/ApplicationManagement.java
private Bw getBw(String name) {
		List<Bw> services = getBWServices();
		
		if (services != null) {
			for (Bw service : services) {
				if (service.getName().equals(name)) {
					return service;
				}
			}
		}
		
		Bw result = new Bw();
		result.setName(name);
		services.add(result);
		
		QName qName = new QName(APPLICATION_MANAGEMENT_NAMESPACE, "bw");
		JAXBElement<Bw> j = new JAXBElement<Bw>(qName, Bw.class, result);
		application.getServices().getBaseService().add(j);
		
		return result;
	}
private Bw getBw(String name) {
		List<Bw> services = getBWServices();
		
		if (services != null) {
			for (Bw service : services) {
				if (service.getName().equals(name)) {
					return service;
				}
			}
		}
		
		Bw result = new Bw();
		result.setName(name);
		services.add(result);
		
		QName qName = new QName(APPLICATION_MANAGEMENT_NAMESPACE, "bw");
		JAXBElement<Bw> j = new JAXBElement<Bw>(qName, Bw.class, result);
		application.getServices().getBaseService().add(j);
		
		return result;
	}
private Bw getBw ( String name ) { List < Bw > services = getBWServices ( ) ; if ( services != null ) { for ( Bw service : services ) { if ( service . getName ( ) . equals ( name ) ) { return service ; } } } Bw result = new Bw ( ) ; result . setName ( name ) ; services . add ( result ) ; QName qName = new QName ( APPLICATION_MANAGEMENT_NAMESPACE , "bw" ) ; JAXBElement < Bw > j = new JAXBElement < Bw > ( qName , Bw . class , result ) ; application . getServices ( ) . getBaseService ( ) . add ( j ) ; return result ; }
/application/services/bw
/ application / services / bw