I've downloaded ServiceMix from http://svn.apache.org/repos/asf/servicemix/smx3/tags/servicemix-3.2.3, and I've fixed the errors of duplicate dependencies. But under these:
[WARNING] Invalid artifact metadata for org.springframework:spring-context:jar:2.0.6, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] Invalid artifact metadata for commons-pool:commons-pool:jar:1.2, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] Invalid artifact metadata for org.springframework:spring-beans:jar:2.0.6, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] Invalid artifact metadata for org.springframework:spring-core:jar:2.0.6, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] Invalid artifact metadata for commons-pool:commons-pool:jar:1.2, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] Invalid artifact metadata for org.springframework:spring-context:jar:2.0.6, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] Invalid artifact metadata for commons-pool:commons-pool:jar:1.2, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] Invalid artifact metadata for org.springframework:spring-beans:jar:2.0.6, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] Invalid artifact metadata for org.springframework:spring-core:jar:2.0.6, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] Invalid artifact metadata for commons-pool:commons-pool:jar:1.2, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] Invalid artifact metadata for org.springframework:spring-context:jar:2.0.6, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] Invalid artifact metadata for commons-pool:commons-pool:jar:1.2, transitive dependencies (if any) will not be available, enable debug logging for more details [ERROR] The build could not read 2 projects -> [Help 1] [ERROR] The project org.apache.servicemix:servicemix-soap:3.2.3 (/home/dev/workspace/servicemix-3.2.3/common/servicemix-soap/pom.xml) has 1 error [ERROR] Malformed POM /home/dev/workspace/servicemix-3.2.3/common/servicemix-soap/pom.xml: Unrecognised association: 'groupId' (position: START_TAG seen ...<exclusions>\n <groupId>... @59:20) @ (/home/dev/workspace/servicemix-3.2.3/common/servicemix-soap/pom.xml) -> [Help 2] [ERROR] The project org.apache.servicemix:servicemix-soap2:3.2.3 (/home/dev/workspace/servicemix-3.2.3/common/servicemix-soap2/pom.xml) has 1 error [ERROR] Malformed POM /home/dev/workspace/servicemix-3.2.3/common/servicemix-soap2/pom.xml: Unrecognised association: 'groupId' (position: START_TAG seen ...<exclusions>\n <groupId>... @59:20) @ (/home/dev/workspace/servicemix-3.2.3/common/servicemix-soap2/pom.xml) -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException Also where should I change the value of the namespace. Thanks Gert Vanthienen wrote: > > L.S. > > So if you want to this for the 3.2.3 release, you best start with a > copy of the code in the release tag. From that code, alter the > namespace as you've doing before and rebuild the component. Once the > component has been built, you should be able to remove the default > HTTP component from the hotdeploy folder and add your custom component > in there. > > If the container starts fine at that point in time (with your version > of the component instead of ours by default), try building a SU that > uses the custom namespace and it should be able to access the > namespace handler. That should be the scenario in a nutshell, but > feel free to let us know where/when you run into problems and what the > exact exceptions/stacktraces are and we'll try to sort those out for > you. > > Regards, > > Gert Vanthienen > ------------------------ > Open Source SOA: http://fusesource.com > Blog: http://gertvanthienen.blogspot.com/ > > > > On 22 March 2010 11:45, jpepalmero <[email protected]> > wrote: >> >> >> Let's start at the beginning. I need to do two things: >> 1) Building service units where xbean namespace is >> http://servicemix.mycompany.org/http/1.0 >> 2) Have my ServiceMix functioning under the >> http://servicemix.mycompany.org/http/1.0 namespace to load the previously >> created service units. >> >> As it >> >> >> Gert Vanthienen wrote: >>> >>> L.S., >>> >>> If you're building a custom assembly for ServiceMix 3.2.3 I would >>> recommend you to start with the code in >>> http://svn.apache.org/repos/asf/servicemix/smx3/tags/servicemix-3.2.3/ >>> (the ServiceMix 3.2.3 release tag) or in >>> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/ >>> (the ServiceMix 3.2.x maintenance branch, which adds some bugfixes on >>> top of 3.2.3). The 2008.01 component you checked out is part of >>> ServiceMix 3.3., where we separated the JBI components' build from the >>> container build so it has some changes that are not necessary for >>> ServiceMix 3.2.x >>> >>> Also, if you're experiencing problems at build time or deploy time >>> with you, it would help if you could add the exact stacktrace you're >>> seeing to the posts because that will help us troubleshoot the exact >>> issue you're running into. >>> >>> Regards, >>> >>> Gert Vanthienen >>> ------------------------ >>> Open Source SOA: http://fusesource.com >>> Blog: http://gertvanthienen.blogspot.com/ >>> >>> >>> >>> On 22 March 2010 09:12, jpepalmero <[email protected]> >>> wrote: >>>> >>>> Hi, I'm using version 3.2.3 of ServiceMix. I downloaded the code >>>> http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-http/trunk. >>>> Exactly the tag ServiceMix-http-2008.01. Once done, modifications to >>>> the >>>> pom: >>>> <version> 2008.01 </ version> by >>>> <version> 3.2.3 </ version> >>>> and >>>> <configuration> >>>> <namespace> http://servicemix.myspacename.org/http/1.0 </ namespace> >>>> </ configuration> >>>> >>>> This builds successfully, but when I create my service unit, tells me >>>> they >>>> are different versions. >>>> >>>> I misunderstood what you want to change. >>>> >>>> Thanks >>>> >>>> >>>> >>>> >>>> >>>> Jean-Baptiste Onofré wrote: >>>>> >>>>> Hi, >>>>> >>>>> if you want to change the components' namespace >>>>> (http://servicemix.apache.org/http/1.0, etc), you need to checkout the >>>>> component code and change the POM on the XBean plugin configuration. >>>>> >>>>> For instance, to change the HTTP component namespace, you need: >>>>> 1/ Check the HTTP source code: >>>>> svn co >>>>> http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-http/trunk >>>>> servicemix-http >>>>> >>>>> 2/ change the pom around the xbean plugin to set your namespace: >>>>> <plugin> >>>>> <groupId>org.apache.xbean</groupId> >>>>> <artifactId>maven-xbean-plugin</artifactId> >>>>> <executions> >>>>> <execution> >>>>> <goals> >>>>> <goal>mapping</goal> >>>>> </goals> >>>>> <configuration> >>>>> >>>>> <namespace>http://servicemix.yourcompany.com/http/1.0</namespace> >>>>> </configuration> >>>>> </execution> >>>>> </executions> >>>>> </plugin> >>>>> >>>>> 3/ rebuild the component: >>>>> mvn clean install >>>>> >>>>> 4/ deploy your component by copying the installer zip file in the >>>>> deploy >>>>> or hotdeploy directory. >>>>> >>>>> Regards >>>>> JB >>>>> >>>>> jpepalmero wrote: >>>>>> Hello everyone. I build my own based ESB ServiceMix and my space no >>>>>> names. I >>>>>> want to run in files of the service units xbeans my >>>>>> http://servicemix.mycompany.org/http/1.0. >>>>>> What we tried several ways but did not work. I have also tried to >>>>>> install >>>>>> ServiceMix from svn, and neither achievement. :rules: >>>>> >>>>> >>>> >>>> -- >>>> View this message in context: >>>> http://old.nabble.com/Create-based-ESB-ServiceMix-tp27950976p27983288.html >>>> Sent from the ServiceMix - User mailing list archive at Nabble.com. >>>> >>>> >>> >>> >>> ----- >>> --- >>> Gert Vanthienen >>> http://gertvanthienen.blogspot.com >>> >> >> -- >> View this message in context: >> http://old.nabble.com/Create-based-ESB-ServiceMix-tp27950976p27984601.html >> Sent from the ServiceMix - User mailing list archive at Nabble.com. >> >> > > > ----- > --- > Gert Vanthienen > http://gertvanthienen.blogspot.com > -- View this message in context: http://old.nabble.com/Create-based-ESB-ServiceMix-tp27950976p27985028.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
