Overlord SVN: r54 - trunk/tools/plugins.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-06-23 04:29:42 -0400 (Mon, 23 Jun 2008)
New Revision: 54
Added:
trunk/tools/plugins/org.jboss.tools.overlord.jbossesb/
Removed:
trunk/tools/plugins/jbossesb/
Log:
Rename folder to reflect plugin name.
Copied: trunk/tools/plugins/org.jboss.tools.overlord.jbossesb (from rev 52, trunk/tools/plugins/jbossesb)
15 years, 10 months
Overlord SVN: r53 - trunk/tools.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-06-23 04:28:15 -0400 (Mon, 23 Jun 2008)
New Revision: 53
Removed:
trunk/tools/eclipse/
Log:
15 years, 10 months
Overlord SVN: r52 - in trunk/tools: eclipse and 1 other directory.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-06-23 04:06:26 -0400 (Mon, 23 Jun 2008)
New Revision: 52
Added:
trunk/tools/plugins/
Removed:
trunk/tools/eclipse/plugins/
Log:
Copied: trunk/tools/plugins (from rev 51, trunk/tools/eclipse/plugins)
15 years, 10 months
Overlord SVN: r51 - in trunk/samples/jbossesb/broker: src/main/resources and 1 other directories.
by overlord-commits@lists.jboss.org
Author: jeff.yuchang
Date: 2008-06-23 02:58:46 -0400 (Mon, 23 Jun 2008)
New Revision: 51
Added:
trunk/samples/jbossesb/broker/src/main/resources/META-INF/deployment.xml
trunk/samples/jbossesb/broker/src/main/resources/META-INF/jboss-esb.xml
trunk/samples/jbossesb/broker/src/main/resources/hibernate.cfg.xml
trunk/samples/jbossesb/broker/src/main/resources/jbmq-queue-service.xml
trunk/samples/jbossesb/broker/src/main/resources/log4j.xml
Removed:
trunk/samples/jbossesb/broker/.classpath
trunk/samples/jbossesb/broker/conf/
Log:
[SOAG-12] Continuing..
Deleted: trunk/samples/jbossesb/broker/.classpath
===================================================================
--- trunk/samples/jbossesb/broker/.classpath 2008-06-23 06:48:16 UTC (rev 50)
+++ trunk/samples/jbossesb/broker/.classpath 2008-06-23 06:58:46 UTC (rev 51)
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
Added: trunk/samples/jbossesb/broker/src/main/resources/META-INF/deployment.xml
===================================================================
--- trunk/samples/jbossesb/broker/src/main/resources/META-INF/deployment.xml (rev 0)
+++ trunk/samples/jbossesb/broker/src/main/resources/META-INF/deployment.xml 2008-06-23 06:58:46 UTC (rev 51)
@@ -0,0 +1,14 @@
+<jbossesb-deployment>
+ <depends>jboss.esb.gen.destination:service=Queue,name=esb-broker</depends>
+ <depends>jboss.esb.gen.destination:service=Queue,name=esb-broker_reply</depends>
+ <depends>jboss.esb.gen.destination:service=Queue,name=esb-broker1</depends>
+ <depends>jboss.esb.gen.destination:service=Queue,name=esb-broker2</depends>
+ <depends>jboss.esb.gen.destination:service=Queue,name=esb-broker3</depends>
+ <depends>jboss.esb.gen.destination:service=Queue,name=esb-broker4</depends>
+ <depends>jboss.esb.gen.destination:service=Queue,name=esb-broker5</depends>
+ <depends>jboss.esb.gen.destination:service=Queue,name=esb-broker6</depends>
+ <depends>jboss.esb.gen.destination:service=Queue,name=esb-broker7</depends>
+ <depends>jboss.esb.gen.destination:service=Queue,name=esb-creditAgency</depends>
+ <depends>jboss.esb.gen.destination:service=Queue,name=esb-creditAgency1</depends>
+ <depends>jboss.esb.gen.destination:service=Queue,name=esb-creditAgency2</depends>
+</jbossesb-deployment>
Copied: trunk/samples/jbossesb/broker/src/main/resources/META-INF/jboss-esb.xml (from rev 49, trunk/samples/jbossesb/broker/conf/broker/jboss-esb.xml)
===================================================================
--- trunk/samples/jbossesb/broker/src/main/resources/META-INF/jboss-esb.xml (rev 0)
+++ trunk/samples/jbossesb/broker/src/main/resources/META-INF/jboss-esb.xml 2008-06-23 06:58:46 UTC (rev 51)
@@ -0,0 +1,545 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..."
+ parameterReloadSecs="5000">
+
+ <providers>
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
+ jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
+ jndi-URL="localhost">
+ <!-- To be done -->
+ </jms-provider>
+
+ </providers>
+ <services>
+
+ <service category="ESBBroker.BrokerParticipant" name="ESBBrokerProcess" description="">
+ <listeners>
+ <!-- To be done -->
+ </listeners>
+ <actions mep="OneWay">
+
+ <!-- This action routes incoming messages to the appropriate
+ service descriptor for the state of the session. The message is
+ only routed to the service descriptor if the session associated
+ with the message's identity has the service descriptor on its
+ schedule. The only exception to this is where the session does
+ not yet exist, and the message being routed will initiate the
+ session - not sure yet if this needs to be flagged specifically. -->
+
+ <action class="org.jboss.soa.esb.actions.conversation.MessageRouterAction"
+ process="process" name="s0-1">
+ <property name="paths">
+ <route service-category="ESBBroker.BrokerParticipant"
+ service-name="ESBBrokerProcess.main" >
+ <identity type="primary" >
+ <token name="id" locator="//@id" />
+ </identity>
+ <message type="enquiry" />
+ </route>
+ <route service-category="ESBBroker.BrokerParticipant"
+ service-name="ESBBrokerProcess.main.5" >
+ <identity type="primary" >
+ <token name="id" locator="//@id" />
+ </identity>
+ <message type="buy" />
+ <message type="cancel" />
+ </route>
+ </property>
+ </action>
+ </actions>
+ </service>
+
+ <!-- Link to service description is made by the 'serviceType' property in
+ the CreateSessionAction. This could be associated with the session pojo,
+ but means that pojo might then not be able to be shared in other sessions.
+ This 'serviceType' property is only relevant for the 'root' choreography,
+ so CreateSessionAction associated with a sub-choreography would not need
+ to define this property. -->
+
+ <service category="ESBBroker.BrokerParticipant" name="ESBBrokerProcess.main" description="">
+ <listeners>
+ <!-- To be done -->
+ </listeners>
+ <actions mep="OneWay">
+ <action class="org.jboss.soa.esb.actions.conversation.CreateSessionAction"
+ process="process" name="s1-1">
+ <property name="session" value="org.jboss.soa.esb.samples.broker.BrokerMain" />
+ <property name="serviceType" value="{http://www.jboss.org/jbossesb/samples/conversation}BrokerParticipant" />
+ </action>
+ <action class="org.jboss.soa.esb.actions.conversation.ReceiveMessageAction"
+ process="process" name="s1-2">
+ <property name="operation" value="makeEnquiry" />
+ <property name="messageType" value="enquiry" />
+ <property name="clientEPR" value="buyer" />
+ <property name="identities" >
+ <identity type="primary" >
+ <token name="id" locator="//@id" />
+ </identity>
+ </property>
+ </action>
+ </actions>
+ </service>
+
+ <!-- Possibly this following service descriptor does not need a RetrieveSessionAction
+ as it is the target of a 'control link', and therefore could carry the session
+ id (internal id used with hibernate) to retrieve the session in the first
+ conversation based action. However we also need to be able to remove the
+ service descriptor from the schedule. If there is a way for the action to
+ know that it is the first 'conversation based' action in the pipeline, then
+ possibly this fact could be used to remove the service descriptor (as
+ long as it can get hold of its own service category and name -->
+
+ <service category="ESBBroker.BrokerParticipant" name="ESBBrokerProcess.main.1" description="">
+ <listeners>
+ <!-- To be done -->
+ </listeners>
+ <actions mep="OneWay">
+ <action class="org.jboss.soa.esb.actions.conversation.WhileAction"
+ process="process" name="s2-1">
+ <property name="session" value="org.jboss.soa.esb.samples.broker.BrokerMain" />
+ <property name="paths">
+ <while decision-method="isCreditValid"
+ service-category="ESBBroker.BrokerParticipant"
+ service-name="ESBBrokerProcess.main.2"
+ immediate="true" />
+ <exit service-category="ESBBroker.BrokerParticipant"
+ service-name="ESBBrokerProcess.main.3"
+ immediate="true" />
+ </property>
+ </action>
+ </actions>
+ </service>
+
+ <!-- This service descriptor represents the internal part of the while loop
+ and due to only having one simple action, it ends with the state transition
+ back to the service descriptor that contains the controlling 'WhileAction' -->
+
+ <service category="ESBBroker.BrokerParticipant" name="ESBBrokerProcess.main.2" description="">
+ <listeners>
+ <!-- To be done -->
+ </listeners>
+ <actions mep="OneWay">
+ <action class="org.jboss.soa.esb.actions.conversation.PerformAction"
+ process="process" name="s3-1">
+ <property name="session" value="org.jboss.soa.esb.samples.broker.BrokerMain" />
+ <property name="serviceCategory" value="ESBBroker.BrokerParticipant" />
+ <property name="serviceName" value="RequestForQuote.main" />
+ <property name="bindDetails" >
+
+ <!-- Not sure of the xpath expression syntax when accessing
+ properties on a context object, but hopefully gets the
+ purpose across. CDL uses custom XPath functions, but would
+ be better if we could do without custom functions. -->
+
+ <bind from-expression="/suppliers[/supplierIndex]"
+ to-variable="supplier" />
+ </property>
+ </action>
+ <action class="org.jboss.soa.esb.actions.conversation.ScheduleStateAction"
+ process="process" name="s3-2">
+ <property name="session" value="org.jboss.soa.esb.samples.broker.BrokerMain" />
+ <property name="serviceCategory" value="ESBBroker.BrokerParticipant" />
+ <property name="serviceName" value="ESBBrokerProcess.main.1" />
+ <property name="immediate" value="true" />
+ </action>
+ </actions>
+ </service>
+
+ <!-- Need to decide how to specify when expression and other properties. Should
+ they be in a single property (same format as if, switch, etc) or should the
+ information just be in separate properties? -->
+
+ <service category="ESBBroker.BrokerParticipant" name="ESBBrokerProcess.main.3" description="">
+ <listeners>
+ <!-- To be done -->
+ </listeners>
+ <actions mep="OneWay">
+ <action class="org.jboss.soa.esb.actions.conversation.WhenAction"
+ process="process" name="s4-1">
+ <property name="session" value="org.jboss.soa.esb.samples.broker.BrokerMain" />
+ <property name="paths">
+ <when expression="allQuotesReceived"
+ service-category="ESBBroker.BrokerParticipant"
+ service-name="ESBBrokerProcess.main.4" />
+ </property>
+ </action>
+ </actions>
+ </service>
+
+ <service category="ESBBroker.BrokerParticipant" name="ESBBrokerProcess.main.4" description="">
+ <listeners>
+ <!-- To be done -->
+ </listeners>
+ <actions mep="OneWay">
+ <action class="org.jboss.soa.esb.actions.conversation.GetStateAction"
+ process="process" name="s4-1">
+ <property name="session" value="org.jboss.soa.esb.samples.broker.BrokerMain" />
+ <property name="variable" value="quotes" />
+ </action>
+ <action class="org.jboss.soa.esb.actions.conversation.SendMessageAction"
+ process="process" name="s4-2">
+ <property name="operation" value="makeEnquiry" />
+ <property name="messageType" value="quoteList" />
+ <property name="clientEPR" value="buyer" />
+ <property name="identities" >
+ <identity type="primary" >
+ <token name="id" locator="//@id" />
+ </identity>
+ </property>
+ </action>
+ <action class="org.jboss.soa.esb.actions.conversation.ScheduleStateAction"
+ process="process" name="s4-3">
+ <property name="serviceCategory" value="ESBBroker.BrokerParticipant" />
+ <property name="serviceName" value="ESBBrokerProcess.main.5" />
+ <property name="immediate" value="false" />
+ </action>
+ </actions>
+ </service>
+
+ <!-- RetrieveSessionAction put in here, as this is the target of a
+ 'message link', and therefore will be triggered by the receipt of an
+ external message. Depends whether client will actually invoke this service,
+ or whether it would go through the 'behavioural gateway' - in which case
+ the Retrieve may not be necessary, as the gateway could forward the relevant
+ internal session id.
+ The service name and category in the retrieve may be redundant if the
+ action can determine the service descriptor it is container within. -->
+
+ <service category="ESBBroker.BrokerParticipant" name="ESBBrokerProcess.main.5" description="">
+ <listeners>
+ <!-- To be done -->
+ </listeners>
+ <actions mep="OneWay">
+ <action class="org.jboss.soa.esb.actions.conversation.RetrieveSessionAction"
+ process="process" name="s5-1">
+ <property name="session" value="org.jboss.soa.esb.samples.broker.BrokerMain" />
+ <property name="serviceName" value="ESBBrokerProcess.main.5" />
+ <property name="serviceCategory" value="ESBBroker.BrokerParticipant" />
+ <property name="identities" >
+ <identity type="primary" >
+ <token name="id" locator="//@id" />
+ </identity>
+ </property>
+ </action>
+ <action class="org.jboss.soa.esb.actions.conversation.SwitchAction"
+ process="process" name="s5-2">
+ <property name="paths">
+ <case service-category="ESBBroker.BrokerParticipant"
+ service-name="ESBBrokerProcess.main.7" >
+ <message type="buy" />
+ </case>
+ <case service-category="ESBBroker.BrokerParticipant"
+ service-name="ESBBrokerProcess.main.6" >
+ <message type="cancel" />
+ </case>
+ </property>
+ </action>
+ </actions>
+ </service>
+
+ <!-- Does not have a 'RetrieveSessionAction', as this is a 'control link'.
+ Although even if message link, possible the ReceiveMessageAction could
+ remove the service descriptor from the schedule, if it knows that it is the
+ first conversation based action in the pipeline, and have access to the
+ service descriptor information. -->
+
+ <service category="ESBBroker.BrokerParticipant" name="ESBBrokerProcess.main.6" description="">
+ <listeners>
+ <!-- To be done -->
+ </listeners>
+ <actions mep="OneWay">
+ <action class="org.jboss.soa.esb.actions.conversation.ReceiveMessageAction"
+ process="process" name="s6-1">
+ <property name="operation" value="cancel" />
+ <property name="messageType" value="cancel" />
+ <property name="identities" >
+ <identity type="primary" >
+ <token name="id" locator="//@id" />
+ </identity>
+ </property>
+ </action>
+ </actions>
+ </service>
+
+ <!-- This and the following action are potentially redundant. Instead of performing
+ a sub-session, it could just define the actions that are in that sub-session. The
+ way it has been modelled here reflects the sub-choreos in the model, but this is not
+ necessary to be able to check conformance. -->
+
+ <service category="ESBBroker.BrokerParticipant" name="ESBBrokerProcess.main.7" description="">
+ <listeners>
+ <!-- To be done -->
+ </listeners>
+ <actions mep="OneWay">
+ <action class="org.jboss.soa.esb.actions.conversation.PerformAction"
+ process="process" name="s7-1">
+ <property name="session" value="org.jboss.soa.esb.samples.broker.BrokerMain" />
+ <property name="serviceCategory" value="ESBBroker.BrokerParticipant" />
+ <property name="serviceName" value="CompleteTransaction.main" />
+ <property name="immediate" value="true" />
+ <property name="joinServiceCategory" value="ESBBroker.BrokerParticipant" />
+ <property name="joinServiceName" value="ESBBrokerProcess.main.8" />
+ <property name="bindDetails" >
+ <bind from-expression="/quotes[/selectedQuote]"
+ to-variable="quote" />
+ <bind from-expression="/suppliers[/selectedSupplier]"
+ to-variable="supplier" />
+ </property>
+ </action>
+ </actions>
+ </service>
+
+ <service category="ESBBroker.BrokerParticipant" name="ESBBrokerProcess.main.8" description="">
+ <listeners>
+ <!-- To be done -->
+ </listeners>
+ <actions mep="OneWay">
+ <!-- No actions - required to act as a join point for the performed sub-choreo
+ to prevent the session from completing and prematurely terminating the child
+ sessions.-->
+ </actions>
+ </service>
+
+ <!--
+ REQUEST FOR QUOTE SUB-CHOREOGRAPHY
+ -->
+
+ <!-- GPB TODO: Think about identities - as there will be multiple concurrent
+ RequestForQuote sub-sessions (one per supplier), then need to each have
+ unique key, probably based on supplier id. -->
+
+ <service category="ESBBroker.BrokerParticipant" name="RequestForQuote.main" description="">
+ <listeners>
+ <!-- To be done -->
+ </listeners>
+ <actions mep="OneWay">
+ <action class="org.jboss.soa.esb.actions.conversation.CreateSessionAction"
+ process="process" name="s8-1">
+ <property name="session" value="org.jboss.soa.esb.samples.broker.RequestForQuoteMain" />
+ </action>
+
+ <!-- NOTE: the service being sent the message is obtained by
+ xpath expression on the session's state. -->
+
+ <action class="org.jboss.soa.esb.actions.conversation.SendMessageAction"
+ process="process" name="s8-2">
+ <property name="operation" value="getQuote" />
+ <property name="messageType" value="requestForQuote" />
+ <property name="serviceName" value="/supplier/serviceName" />
+ <property name="serviceCategory" value="/supplier/serviceCategory" />
+ <property name="responseServiceName" value="RequestForQuote.main.1" />
+ <property name="responseServiceCategory" value="ESBBroker.BrokerParticipant" />
+ <property name="identities" >
+ <identity type="primary" >
+ <token name="id" locator="//@id" />
+ </identity>
+ </property>
+ </action>
+ </actions>
+ </service>
+
+ <!-- message link - but possibly can deal with schedule and session
+ retrieval as previously discussed -->
+
+ <service category="ESBBroker.BrokerParticipant" name="RequestForQuote.main" description="">
+ <listeners>
+ <!-- To be done -->
+ </listeners>
+ <actions mep="OneWay">
+ <action class="org.jboss.soa.esb.actions.conversation.ReceiveMessageAction"
+ process="process" name="s9-1">
+ <property name="operation" value="getQuote" />
+ <property name="messageType" value="quote" />
+ <property name="identities" >
+ <identity type="primary" >
+ <token name="id" locator="//@id" />
+ </identity>
+ </property>
+ </action>
+ </actions>
+ </service>
+
+ <!--
+ COMPLETE TRANSACTION SUB-CHOREOGRAPHY
+ -->
+
+ <service category="ESBBroker.BrokerParticipant" name="CompleteTransaction.main" description="">
+ <listeners>
+ <!-- To be done -->
+ </listeners>
+ <actions mep="OneWay">
+ <action class="org.jboss.soa.esb.actions.conversation.CreateSessionAction"
+ process="process" name="s10-1">
+ <property name="session" value="org.jboss.soa.esb.samples.broker.CompleteTransactionMain" />
+ </action>
+ <action class="org.jboss.soa.esb.actions.conversation.ReceiveMessageAction"
+ process="process" name="s10-2">
+ <property name="operation" value="buy" />
+ <property name="messageType" value="purchaseDetails" />
+ <property name="clientEPR" value="buyer" />
+ <property name="identities" >
+ <identity type="primary" >
+ <token name="id" locator="//@id" />
+ </identity>
+ </property>
+ </action>
+ <action class="org.jboss.soa.esb.actions.conversation.SendMessageAction"
+ process="process" name="s10-3">
+ <property name="operation" value="checkCredit" />
+ <property name="messageType" value="creditInformation" />
+ <property name="serviceName" value="CA.CompleteTransaction.main" />
+ <property name="serviceCategory" value="ESBBroker.CreditAgencyParticipant" />
+ <property name="responseServiceName" value="CompleteTransaction.main.1" />
+ <property name="responseServiceCategory" value="ESBBroker.BrokerParticipant" />
+ <property name="identities" >
+ <identity type="primary" >
+ <token name="id" locator="//@id" />
+ </identity>
+ </property>
+ </action>
+ </actions>
+ </service>
+
+ <service category="ESBBroker.BrokerParticipant" name="CompleteTransaction.main.1" description="">
+ <listeners>
+ <!-- To be done -->
+ </listeners>
+ <actions mep="OneWay">
+ <action class="org.jboss.soa.esb.actions.conversation.RetrieveSessionAction"
+ process="process" name="s11-1">
+ <property name="session" value="org.jboss.soa.esb.samples.broker.CompleteTransactionMain" />
+ <property name="serviceName" value="CompleteTransaction.main.1" />
+ <property name="serviceCategory" value="ESBBroker.BrokerParticipant" />
+ <property name="identities" >
+ <identity type="primary" >
+ <token name="id" locator="//@id" />
+ </identity>
+ </property>
+ </action>
+ <action class="org.jboss.soa.esb.actions.conversation.SwitchAction"
+ process="process" name="s11-2">
+ <property name="paths">
+ <case service-category="ESBBroker.BrokerParticipant"
+ service-name="CompleteTransaction.main.2" >
+ <message type="creditValid" />
+ </case>
+ <case service-category="ESBBroker.BrokerParticipant"
+ service-name="CompleteTransaction.main.GPB" >
+ <message type="creditInvalid" />
+ </case>
+ </property>
+ </action>
+ </actions>
+ </service>
+
+ <service category="ESBBroker.BrokerParticipant" name="CompleteTransaction.main.2" description="">
+ <listeners>
+ <!-- To be done -->
+ </listeners>
+ <actions mep="OneWay">
+ <action class="org.jboss.soa.esb.actions.conversation.ReceiveMessageAction"
+ process="process" name="s12-1">
+ <property name="operation" value="checkCredit" />
+ <property name="messageType" value="creditValid" />
+ <property name="identities" >
+ <identity type="primary" >
+ <token name="id" locator="//@id" />
+ </identity>
+ </property>
+ </action>
+
+ <!-- Intermediate actions to construct confirmation -->
+
+ <action class="org.jboss.soa.esb.actions.conversation.GetVariableAction"
+ process="process" name="s12-2">
+ <property name="variable" value="confirmation" />
+ </action>
+ <action class="org.jboss.soa.esb.actions.conversation.SendMessageAction"
+ process="process" name="s12-3">
+ <property name="operation" value="confirm" />
+ <property name="messageType" value="orderConfirmed" />
+ <property name="serviceName" value="/supplier/serviceName" />
+ <property name="serviceCategory" value="/supplier/serviceCategory" />
+ <property name="responseServiceName" value="CompleteTransaction.main.3" />
+ <property name="responseServiceCategory" value="ESBBroker.BrokerParticipant" />
+ <property name="identities" >
+ <identity type="primary" >
+ <token name="id" locator="//@id" />
+ </identity>
+ </property>
+ </action>
+ </actions>
+ </service>
+
+ <service category="ESBBroker.BrokerParticipant" name="CompleteTransaction.main.3" description="">
+ <listeners>
+ <!-- To be done -->
+ </listeners>
+ <actions mep="OneWay">
+ <action class="org.jboss.soa.esb.actions.conversation.ReceiveMessageAction"
+ process="process" name="s13-1">
+ <property name="operation" value="confirm" />
+ <property name="messageType" value="bookingReference" />
+ <property name="identities" >
+ <identity type="primary" >
+ <token name="id" locator="//@id" />
+ </identity>
+ </property>
+ </action>
+
+ <!-- Intermediate actions to store booking reference and then
+ retrieve confirmation to be returned to the customer e.g. -->
+
+ <action class="org.jboss.soa.esb.actions.conversation.GetVariableAction"
+ process="process" name="s13-2">
+ <property name="variable" value="confirmation" />
+ </action>
+
+ <action class="org.jboss.soa.esb.actions.conversation.SendMessageAction"
+ process="process" name="s13-3">
+ <property name="operation" value="buy" />
+ <property name="messageType" value="orderConfirmed" />
+ <property name="clientEPR" value="buyer" />
+ <property name="identities" >
+ <identity type="primary" >
+ <token name="id" locator="//@id" />
+ </identity>
+ </property>
+ </action>
+ </actions>
+ </service>
+
+ <service category="ESBBroker.BrokerParticipant" name="CompleteTransaction.main.4" description="">
+ <listeners>
+ <!-- To be done -->
+ </listeners>
+ <actions mep="OneWay">
+ <action class="org.jboss.soa.esb.actions.conversation.ReceiveMessageAction"
+ process="process" name="s14-1">
+ <property name="operation" value="checkCredit" />
+ <property name="messageType" value="creditInvalid" />
+ <property name="identities" >
+ <identity type="primary" >
+ <token name="id" locator="//@id" />
+ </identity>
+ </property>
+ </action>
+
+ <!-- Intermediate actions to build and return OrderRejected
+ message and return it to the customer -->
+
+ <action class="org.jboss.soa.esb.actions.conversation.SendMessageAction"
+ process="process" name="s13-3">
+ <property name="operation" value="buy" />
+ <property name="messageType" value="orderRejected" />
+ <property name="clientEPR" value="buyer" />
+ <property name="identities" >
+ <identity type="primary" >
+ <token name="id" locator="//@id" />
+ </identity>
+ </property>
+ </action>
+ </actions>
+ </service>
+
+</jbossesb>
Added: trunk/samples/jbossesb/broker/src/main/resources/hibernate.cfg.xml
===================================================================
--- trunk/samples/jbossesb/broker/src/main/resources/hibernate.cfg.xml (rev 0)
+++ trunk/samples/jbossesb/broker/src/main/resources/hibernate.cfg.xml 2008-06-23 06:58:46 UTC (rev 51)
@@ -0,0 +1,59 @@
+<!DOCTYPE hibernate-configuration SYSTEM
+"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2008, JBoss Inc., and others contributors as indicated
+ by the @authors tag. All rights reserved.
+ See the copyright.txt in the distribution for a
+ full listing of individual contributors.
+ This copyrighted material is made available to anyone wishing to use,
+ modify, copy, or redistribute it subject to the terms and conditions
+ of the GNU Lesser General Public License, v. 2.1.
+ This program is distributed in the hope that it will be useful, but WITHOUT A
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ You should have received a copy of the GNU Lesser General Public License,
+ v.2.1 along with this distribution; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ MA 02110-1301, USA.
+
+ (C) 2008,
+ @author JBoss Inc.
+-->
+<hibernate-configuration>
+ <session-factory>
+ <property name="hibernate.connection.driver_class">
+ org.hsqldb.jdbcDriver
+ </property>
+ <property name="hibernate.connection.url">
+ jdbc:hsqldb:hsql://localhost
+ </property>
+ <property name="hibernate.connection.username">
+ sa
+ </property>
+ <property name="hibernate.dialect">
+ org.hibernate.dialect.HSQLDialect
+ </property>
+
+ <!-- Use the C3P0 connection pool provider -->
+ <property name="hibernate.c3p0.min_size">5</property>
+ <property name="hibernate.c3p0.max_size">20</property>
+ <property name="hibernate.c3p0.timeout">300</property>
+ <property name="hibernate.c3p0.max_statements">50</property>
+ <property name="hibernate.c3p0.idle_test_period">3000</property>
+
+ <!-- Show and print nice SQL on stdout -->
+ <property name="show_sql">false</property>
+ <property name="format_sql">true</property>
+
+ <!-- List of annotationed classes (Internal conversation class)-->
+ <mapping class="org.jboss.soa.overlord.conversation.Session" />
+ <mapping class="org.jboss.soa.overlord.conversation.ScheduleItem"/>
+ <mapping class="org.jboss.soa.overlord.conversation.JoinState"/>
+ <mapping class="org.jboss.soa.overlord.conversation.Identity"/>
+ <mapping class="org.jboss.soa.overlord.conversation.EPRWrapper"/>
+
+ <!-- List of Business State class -->
+
+ </session-factory>
+</hibernate-configuration>
Added: trunk/samples/jbossesb/broker/src/main/resources/jbmq-queue-service.xml
===================================================================
--- trunk/samples/jbossesb/broker/src/main/resources/jbmq-queue-service.xml (rev 0)
+++ trunk/samples/jbossesb/broker/src/main/resources/jbmq-queue-service.xml 2008-06-23 06:58:46 UTC (rev 51)
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+
+<mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.esb.gen.destination:service=Queue,name=esb-broker">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+</mbean>
+<mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.esb.gen.destination:service=Queue,name=esb-broker_reply">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+</mbean>
+<mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.esb.gen.destination:service=Queue,name=esb-broker1">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+</mbean>
+<mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.esb.gen.destination:service=Queue,name=esb-broker2">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+</mbean>
+<mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.esb.gen.destination:service=Queue,name=esb-broker3">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+</mbean>
+<mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.esb.gen.destination:service=Queue,name=esb-broker4">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+</mbean>
+<mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.esb.gen.destination:service=Queue,name=esb-broker5">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+</mbean>
+<mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.esb.gen.destination:service=Queue,name=esb-broker6">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+</mbean>
+<mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.esb.gen.destination:service=Queue,name=esb-broker7">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+</mbean>
+<mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.esb.gen.destination:service=Queue,name=esb-creditAgency">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+</mbean>
+<mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.esb.gen.destination:service=Queue,name=esb-creditAgency1">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+</mbean>
+<mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.esb.gen.destination:service=Queue,name=esb-creditAgency2">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+</mbean>
+
+</server>
Added: trunk/samples/jbossesb/broker/src/main/resources/log4j.xml
===================================================================
--- trunk/samples/jbossesb/broker/src/main/resources/log4j.xml (rev 0)
+++ trunk/samples/jbossesb/broker/src/main/resources/log4j.xml 2008-06-23 06:58:46 UTC (rev 51)
@@ -0,0 +1,244 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!-- -->
+<!-- Log4j Configuration -->
+<!-- -->
+<!-- ===================================================================== -->
+
+<!-- $Id: log4j.xml,v 1.26.2.10 2006/04/21 17:29:20 csuconic Exp $ -->
+
+<!--
+ | For more configuration infromation and examples see the Jakarta Log4j
+ | owebsite: http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+ <!-- ================================= -->
+ <!-- Preserve messages in a local file -->
+ <!-- ================================= -->
+
+ <!-- A time/date based rolling appender -->
+ <appender name="FILE" class="org.apache.log4j.FileAppender">
+ <!--errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/-->
+ <param name="File" value="./broker.log"/>
+ <param name="Append" value="false"/>
+
+ <!-- Rollover at midnight each day -->
+ <param name="DatePattern" value="'.'yyyy-MM-dd"/>
+
+ <!-- Rollover at the top of each hour
+ <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
+ -->
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] Message\n -->
+ <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
+
+ <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
+ <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
+ -->
+ </layout>
+ </appender>
+
+ <!-- A size based file rolling appender
+ <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="File" value="${jboss.server.log.dir}/server.log"/>
+ <param name="Append" value="false"/>
+ <param name="MaxFileSize" value="500KB"/>
+ <param name="MaxBackupIndex" value="1"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
+ </layout>
+ </appender>
+ -->
+
+ <!-- ============================== -->
+ <!-- Append messages to the console -->
+ <!-- ============================== -->
+
+ <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+ <!--errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/-->
+ <param name="Target" value="System.out"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] Message\n -->
+ <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
+ </layout>
+ </appender>
+
+ <!-- ====================== -->
+ <!-- More Appender examples -->
+ <!-- ====================== -->
+
+ <!-- Buffer events and log them asynchronously
+ <appender name="ASYNC" class="org.apache.log4j.AsyncAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <appender-ref ref="FILE"/>
+ <appender-ref ref="CONSOLE"/>
+ <appender-ref ref="SMTP"/>
+ </appender>
+ -->
+
+ <!-- EMail events to an administrator
+ <appender name="SMTP" class="org.apache.log4j.net.SMTPAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="Threshold" value="ERROR"/>
+ <param name="To" value="admin(a)myhost.domain.com"/>
+ <param name="From" value="nobody(a)myhost.domain.com"/>
+ <param name="Subject" value="JBoss Sever Errors"/>
+ <param name="SMTPHost" value="localhost"/>
+ <param name="BufferSize" value="10"/>
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
+ </layout>
+ </appender>
+ -->
+
+ <!-- Syslog events
+ <appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="Facility" value="LOCAL7"/>
+ <param name="FacilityPrinting" value="true"/>
+ <param name="SyslogHost" value="localhost"/>
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
+ </layout>
+ </appender>
+ -->
+
+ <!-- Log events to JMS (requires a topic to be created)
+ <appender name="JMS" class="org.apache.log4j.net.JMSAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="Threshold" value="ERROR"/>
+ <param name="TopicConnectionFactoryBindingName" value="java:/ConnectionFactory"/>
+ <param name="TopicBindingName" value="topic/MyErrorsTopic"/>
+ </appender>
+ -->
+
+ <!-- Log events through SNMP
+ <appender name="TRAP_LOG" class="org.apache.log4j.ext.SNMPTrapAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="ImplementationClassName" value="org.apache.log4j.ext.JoeSNMPTrapSender"/>
+ <param name="ManagementHost" value="127.0.0.1"/>
+ <param name="ManagementHostTrapListenPort" value="162"/>
+ <param name="EnterpriseOID" value="1.3.6.1.4.1.24.0"/>
+ <param name="LocalIPAddress" value="127.0.0.1"/>
+ <param name="LocalTrapSendPort" value="161"/>
+ <param name="GenericTrapType" value="6"/>
+ <param name="SpecificTrapType" value="12345678"/>
+ <param name="CommunityString" value="public"/>
+ <param name="ForwardStackTraceWithTrap" value="true"/>
+ <param name="Threshold" value="DEBUG"/>
+ <param name="ApplicationTrapOID" value="1.3.6.1.4.1.24.12.10.22.64"/>
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d,%p,[%t],[%c],%m%n"/>
+ </layout>
+ </appender>
+ -->
+
+ <!-- Emit events as JMX notifications
+ <appender name="JMX" class="org.jboss.monitor.services.JMXNotificationAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+
+ <param name="Threshold" value="WARN"/>
+ <param name="ObjectName" value="jboss.system:service=Logging,type=JMXNotificationAppender"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d %-5p [%c] %m"/>
+ </layout>
+ </appender>
+ -->
+
+ <!-- ================ -->
+ <!-- Limit categories -->
+ <!-- ================ -->
+
+ <!-- Limit the org.apache category to INFO as its DEBUG is verbose -->
+ <category name="org.apache">
+ <priority value="INFO"/>
+ </category>
+
+ <!-- Limit the org.jboss.serial (jboss-serialization) to INFO as its DEBUG is verbose -->
+ <category name="org.jboss.serial">
+ <priority value="INFO"/>
+ </category>
+
+ <!-- Limit the org.jgroups category to WARN as its INFO is verbose -->
+ <category name="org.jgroups">
+ <priority value="WARN"/>
+ </category>
+
+ <!-- Limit the jacorb category to WARN as its INFO is verbose -->
+ <category name="jacorb">
+ <priority value="WARN"/>
+ </category>
+
+
+ <!-- Limit the JSR77 categories -->
+ <category name="org.jboss.management">
+ <priority value="INFO"/>
+ </category>
+
+ <!-- Limit Axis based webservice category -->
+ <category name="org.jboss.webservice">
+ <priority value="DEBUG"/>
+ </category>
+ <category name="org.jboss.axis">
+ <priority value="INFO"/>
+ </category>
+
+ <category name="org.milyn">
+ <priority value="INFO"/>
+ </category>
+ <category name="org.milyn.delivery.SmooksXML">
+ <priority value="INFO"/>
+ </category>
+ <category name="org.milyn.delivery.serialize.Serializer">
+ <priority value="INFO"/>
+ </category>
+ <category name="org.milyn.cdr.XMLConfigDigester">
+ <priority value="INFO"/>
+ </category>
+
+
+ <!-- ======================= -->
+ <!-- Setup the Root category -->
+ <!-- ======================= -->
+
+ <root>
+ <priority value="INFO" />
+ <appender-ref ref="CONSOLE"/>
+ <appender-ref ref="FILE"/>
+ </root>
+
+ <!-- Clustering logging -->
+ <!-- Uncomment the following to redirect the org.jgroups and
+ org.jboss.ha categories to a cluster.log file.
+
+ <appender name="CLUSTER" class="org.jboss.logging.appender.RollingFileAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="File" value="${jboss.server.log.dir}/cluster.log"/>
+ <param name="Append" value="false"/>
+ <param name="MaxFileSize" value="500KB"/>
+ <param name="MaxBackupIndex" value="1"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
+ </layout>
+ </appender>
+ <category name="org.jgroups">
+ <priority value="DEBUG" />
+ <appender-ref ref="CLUSTER"/>
+ </category>
+ <category name="org.jboss.ha">
+ <priority value="DEBUG" />
+ <appender-ref ref="CLUSTER"/>
+ </category>
+ -->
+
+</log4j:configuration>
15 years, 10 months
Overlord SVN: r50 - in trunk/samples/jbossesb/broker: src and 4 other directories.
by overlord-commits@lists.jboss.org
Author: jeff.yuchang
Date: 2008-06-23 02:48:16 -0400 (Mon, 23 Jun 2008)
New Revision: 50
Added:
trunk/samples/jbossesb/broker/pom.xml
trunk/samples/jbossesb/broker/src/main/
trunk/samples/jbossesb/broker/src/main/java/
trunk/samples/jbossesb/broker/src/main/java/org/
trunk/samples/jbossesb/broker/src/main/resources/
trunk/samples/jbossesb/broker/src/main/resources/META-INF/
trunk/samples/jbossesb/broker/src/test/
trunk/samples/jbossesb/broker/src/test/java/
trunk/samples/jbossesb/broker/src/test/resources/
Removed:
trunk/samples/jbossesb/broker/src/org/
Log:
[SOAG-12]
Restructure the broker example.
Added: trunk/samples/jbossesb/broker/pom.xml
===================================================================
--- trunk/samples/jbossesb/broker/pom.xml (rev 0)
+++ trunk/samples/jbossesb/broker/pom.xml 2008-06-23 06:48:16 UTC (rev 50)
@@ -0,0 +1,122 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.soa.overlord.samples</groupId>
+ <artifactId>jbossesb-broker</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>jboss-esb</packaging>
+ <name>Overlord::Samples::Broker</name>
+ <url>http://www.jboss.org/overlord</url>
+
+ <parent>
+ <groupId>org.jboss.soa.overlord</groupId>
+ <artifactId>samples</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+
+ <properties>
+ <hibernate-commons-annotations>3.0.0.ga</hibernate-commons-annotations>
+ <hibernate-tools-version>3.2.0.ga</hibernate-tools-version>
+ <hsqldb-version>1.8.0.7</hsqldb-version>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.14</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.soa.overlord</groupId>
+ <artifactId>runtime-jbossesb</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-commons-annotations</artifactId>
+ <version>${hibernate-commons-annotations}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-tools</artifactId>
+ <version>${hibernate-tools-version}</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <version>${hsqldb-version}</version>
+ </dependency>
+
+ </dependencies>
+
+ <build>
+ <finalName>purchasing</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <!--export schemas to database -->
+ <execution>
+ <id>schemaexport</id>
+ <phase>compile</phase>
+ <configuration>
+ <tasks>
+ <taskdef name="hibernatetool" classname="org.hibernate.tool.ant.HibernateToolTask"
+ classpathref="maven.compile.classpath"/>
+ <hibernatetool destdir=".">
+ <classpath>
+ <pathelement path="maven.compile.classpath" />
+ </classpath>
+ <annotationconfiguration configurationfile="target/classes/hibernate.cfg.xml" />
+ <hbm2ddl
+ create="true"
+ drop="true"
+ export="true"
+ outputfilename="purchasing-ddl.sql"
+ delimiter=";"
+ format="true"/>
+ </hibernatetool>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+
+ <!--Deploy esb artifact to JBoss AS/ESB -->
+ <execution>
+ <id>deploy</id>
+ <phase>install</phase>
+ <configuration>
+ <tasks>
+ <property name="deploy.dir" value="/var/local/jboss-4.2.2.GA/server/default/deploy" />
+ <copy file="target/purchasing.esb" todir="${deploy.dir}" overwrite="true" />
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </reporting>
+
+</project>
+
Copied: trunk/samples/jbossesb/broker/src/main/java/org (from rev 49, trunk/samples/jbossesb/broker/src/org)
15 years, 10 months
Overlord SVN: r49 - trunk.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-06-21 07:01:26 -0400 (Sat, 21 Jun 2008)
New Revision: 49
Modified:
trunk/pom.xml
Log:
Shouldn't build tools yet.
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2008-06-21 10:27:34 UTC (rev 48)
+++ trunk/pom.xml 2008-06-21 11:01:26 UTC (rev 49)
@@ -29,7 +29,6 @@
<modules>
<module>runtime</module>
<module>samples</module>
- <module>tools</module>
</modules>
<properties>
15 years, 10 months
Overlord SVN: r48 - in trunk: tools and 2 other directories.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-06-21 06:27:34 -0400 (Sat, 21 Jun 2008)
New Revision: 48
Added:
trunk/tools/eclipse/pom.xml
Modified:
trunk/pom.xml
trunk/tools/eclipse/plugins/jbossesb/pom.xml
trunk/tools/pom.xml
Log:
Added pom for Eclipse plugins. Used to build a local update site for the plugins and features. Currently the Eclipse plugin build uses the standard jar packaging - however this does not cause the plugin version to be set to the same as the maven version. Need to also see where the target of the build should be placed - probably within the distribution folder, but this may also need to be restructured based on the different deployment targets.
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2008-06-21 10:14:06 UTC (rev 47)
+++ trunk/pom.xml 2008-06-21 10:27:34 UTC (rev 48)
@@ -1,212 +1,213 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.soa.overlord</groupId>
- <artifactId>overlord</artifactId>
- <version>1.0-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>JBoss Overlord</name>
- <url>http://www.jboss.org/overlord</url>
- <description>
- JBoss Overlord.
- </description>
- <scm>
- <connection>scm:svn:https://svn.jboss.org/repos/soag/trunk</connection>
- </scm>
- <developers>
- <developer>
- <name>Jeff Yu</name>
- <id>jeff.yuchang</id>
- <email>cyu(a)redhat.com</email>
- <organization>Red Hat</organization>
- <roles>
- <role>Developer</role>
- </roles>
- <timezone>+8</timezone>
- </developer>
- </developers>
- <modules>
- <module>runtime</module>
- <module>samples</module>
- </modules>
-
- <properties>
- <overlord-version>1.0-SNAPSHOT</overlord-version>
- </properties>
-
- <profiles>
- <profile>
- <id>release</id>
- <modules>
- <module>docs</module>
- <module>docs/examples/gettingstarted</module>
- </modules>
- </profile>
- <profile>
- <!--
- This profile is activated when the "generate.docs" property is set,
- as in "mvn ... -Dgenerate.docs=true ..."
- -->
- <id>docs</id>
- <activation>
- <property>
- <name>generate.docs</name>
- </property>
- </activation>
- <modules>
- <module>docs</module>
- </modules>
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
- <aggregate>true</aggregate>
- <show>public</show>
- <title>JBoss Overlord ${project.version}</title>
- </configuration>
- </plugin>
- </plugins>
- </reporting>
- </profile>
- </profiles>
-
- <build>
- <!-- This section defines the default plugin settings inherited by child projects. -->
- <pluginManagement>
- <plugins>
- <!-- Fixes how test resources of a project can be used in projects dependent on it -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.2</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.2</version>
- <configuration>
- <aggregate>true</aggregate>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
- <!-- Specify the compiler options and settings -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <showDeprecation>false</showDeprecation>
- <showWarnings>false</showWarnings>
- </configuration>
- </plugin>
- <!-- Produce source jars during the 'verify' phase -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-sources</id>
- <phase>verify</phase>
- <goals>
- <goal>jar</goal>
- <goal>test-jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <includes>
- <include>**/*TestCase.java</include>
- <include>**/*Test.java</include>
- </includes>
- </configuration>
- </plugin>
- <!--
- Build a test-jar for each project, so that src/test/* resources and classes can be used
- in other projects. Also customize how the jar files are assembled.
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>test-jar</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <archive>
- <manifest>
- <addDefaultSpecificationEntries>
- true
- </addDefaultSpecificationEntries>
- <addDefaultImplementationEntries>
- true
- </addDefaultImplementationEntries>
- </manifest>
- <manifestEntries>
- <Implementation-URL>
- ${pom.url}
- </Implementation-URL>
- </manifestEntries>
- </archive>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- </plugin>
- </plugins>
- </reporting>
-
- <repositories>
- <repository>
- <id>jboss</id>
- <url>http://repository.jboss.com/maven2/</url>
- </repository>
-
- <repository>
- <id>jboss-snapshot</id>
- <url>http://snapshots.jboss.org/maven2</url>
- </repository>
-
- <repository>
- <id>maven.repo</id>
- <name>maven repository</name>
- <url>http://repo1.maven.org/maven2</url>
- </repository>
-
- <repository>
- <id>ibiblio</id>
- <name>ibiblio repository</name>
- <url>http://mirrors.ibiblio.org/pub/mirrors/maven2</url>
- </repository>
-
- </repositories>
-
- <distributionManagement>
- <repository>
- <!-- Copy the distribution jar file to a local checkout of the maven repository
- - This variable can be set in $MAVEN_HOME/conf/settings.xml -->
- <id>repository.jboss.org</id>
- <url>file://${jboss.repository.root}</url>
- </repository>
- </distributionManagement>
-
-</project>
-
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.soa.overlord</groupId>
+ <artifactId>overlord</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <name>JBoss Overlord</name>
+ <url>http://www.jboss.org/overlord</url>
+ <description>
+ JBoss Overlord.
+ </description>
+ <scm>
+ <connection>scm:svn:https://svn.jboss.org/repos/soag/trunk</connection>
+ </scm>
+ <developers>
+ <developer>
+ <name>Jeff Yu</name>
+ <id>jeff.yuchang</id>
+ <email>cyu(a)redhat.com</email>
+ <organization>Red Hat</organization>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ <timezone>+8</timezone>
+ </developer>
+ </developers>
+ <modules>
+ <module>runtime</module>
+ <module>samples</module>
+ <module>tools</module>
+ </modules>
+
+ <properties>
+ <overlord-version>1.0-SNAPSHOT</overlord-version>
+ </properties>
+
+ <profiles>
+ <profile>
+ <id>release</id>
+ <modules>
+ <module>docs</module>
+ <module>docs/examples/gettingstarted</module>
+ </modules>
+ </profile>
+ <profile>
+ <!--
+ This profile is activated when the "generate.docs" property is set,
+ as in "mvn ... -Dgenerate.docs=true ..."
+ -->
+ <id>docs</id>
+ <activation>
+ <property>
+ <name>generate.docs</name>
+ </property>
+ </activation>
+ <modules>
+ <module>docs</module>
+ </modules>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <aggregate>true</aggregate>
+ <show>public</show>
+ <title>JBoss Overlord ${project.version}</title>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+ </profile>
+ </profiles>
+
+ <build>
+ <!-- This section defines the default plugin settings inherited by child projects. -->
+ <pluginManagement>
+ <plugins>
+ <!-- Fixes how test resources of a project can be used in projects dependent on it -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <aggregate>true</aggregate>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ <plugins>
+ <!-- Specify the compiler options and settings -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ <showDeprecation>false</showDeprecation>
+ <showWarnings>false</showWarnings>
+ </configuration>
+ </plugin>
+ <!-- Produce source jars during the 'verify' phase -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>jar</goal>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <includes>
+ <include>**/*TestCase.java</include>
+ <include>**/*Test.java</include>
+ </includes>
+ </configuration>
+ </plugin>
+ <!--
+ Build a test-jar for each project, so that src/test/* resources and classes can be used
+ in other projects. Also customize how the jar files are assembled.
+ -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <archive>
+ <manifest>
+ <addDefaultSpecificationEntries>
+ true
+ </addDefaultSpecificationEntries>
+ <addDefaultImplementationEntries>
+ true
+ </addDefaultImplementationEntries>
+ </manifest>
+ <manifestEntries>
+ <Implementation-URL>
+ ${pom.url}
+ </Implementation-URL>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </reporting>
+
+ <repositories>
+ <repository>
+ <id>jboss</id>
+ <url>http://repository.jboss.com/maven2/</url>
+ </repository>
+
+ <repository>
+ <id>jboss-snapshot</id>
+ <url>http://snapshots.jboss.org/maven2</url>
+ </repository>
+
+ <repository>
+ <id>maven.repo</id>
+ <name>maven repository</name>
+ <url>http://repo1.maven.org/maven2</url>
+ </repository>
+
+ <repository>
+ <id>ibiblio</id>
+ <name>ibiblio repository</name>
+ <url>http://mirrors.ibiblio.org/pub/mirrors/maven2</url>
+ </repository>
+
+ </repositories>
+
+ <distributionManagement>
+ <repository>
+ <!-- Copy the distribution jar file to a local checkout of the maven repository
+ - This variable can be set in $MAVEN_HOME/conf/settings.xml -->
+ <id>repository.jboss.org</id>
+ <url>file://${jboss.repository.root}</url>
+ </repository>
+ </distributionManagement>
+
+</project>
+
Modified: trunk/tools/eclipse/plugins/jbossesb/pom.xml
===================================================================
--- trunk/tools/eclipse/plugins/jbossesb/pom.xml 2008-06-21 10:14:06 UTC (rev 47)
+++ trunk/tools/eclipse/plugins/jbossesb/pom.xml 2008-06-21 10:27:34 UTC (rev 48)
@@ -2,16 +2,16 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.soa.overlord.tools</groupId>
+ <groupId>org.jboss.soa.overlord.tools.eclipse</groupId>
<artifactId>jbossesb</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
- <name>Overlord::Tools::JBossESB</name>
+ <name>Overlord::Tools::Eclipse::JBossESB</name>
<url>http://www.jboss.org/overlord</url>
<parent>
<groupId>org.jboss.soa.overlord</groupId>
- <artifactId>tools</artifactId>
+ <artifactId>tools.eclipse</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
Added: trunk/tools/eclipse/pom.xml
===================================================================
--- trunk/tools/eclipse/pom.xml (rev 0)
+++ trunk/tools/eclipse/pom.xml 2008-06-21 10:27:34 UTC (rev 48)
@@ -0,0 +1,23 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.soa.overlord</groupId>
+ <artifactId>tools.eclipse</artifactId>
+ <packaging>pom</packaging>
+ <version>1.0-SNAPSHOT</version>
+ <name>Overlord::Tools::Eclipse</name>
+ <url>http://www.jboss.org/overlord</url>
+
+ <parent>
+ <groupId>org.jboss.soa.overlord</groupId>
+ <artifactId>tools</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+
+ <modules>
+ <module>plugins/jbossesb</module>
+ </modules>
+
+</project>
+
Modified: trunk/tools/pom.xml
===================================================================
--- trunk/tools/pom.xml 2008-06-21 10:14:06 UTC (rev 47)
+++ trunk/tools/pom.xml 2008-06-21 10:27:34 UTC (rev 48)
@@ -16,7 +16,7 @@
</parent>
<modules>
- <module>jbossesb</module>
+ <module>eclipse</module>
</modules>
</project>
15 years, 10 months
Overlord SVN: r45 - trunk/tools.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-06-20 18:48:08 -0400 (Fri, 20 Jun 2008)
New Revision: 45
Added:
trunk/tools/pom.xml
Log:
Added tools POM to build jbossesb module.
Added: trunk/tools/pom.xml
===================================================================
--- trunk/tools/pom.xml (rev 0)
+++ trunk/tools/pom.xml 2008-06-20 22:48:08 UTC (rev 45)
@@ -0,0 +1,23 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.soa.overlord</groupId>
+ <artifactId>tools</artifactId>
+ <packaging>pom</packaging>
+ <version>1.0-SNAPSHOT</version>
+ <name>Overlord::Tools</name>
+ <url>http://www.jboss.org/overlord</url>
+
+ <parent>
+ <groupId>org.jboss.soa.overlord</groupId>
+ <artifactId>overlord</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+
+ <modules>
+ <module>jbossesb</module>
+ </modules>
+
+</project>
+
15 years, 10 months