I installed the version 2.2.1 of maven. mvn -Pnochecks install instruction has been executed successfully install. I only have three doubts. 1) What files should I modify to change the namespace in my http://servicemix.apache.org/http/1.0 to http://servicemix.mycompany.org/http/1.0 ServiceMix installation? 2) How does maven recognize this namespace when running mvn clean install on the service units? 3) How do I start ServiceMix to verify that you are OK?
Thanks Freeman Fang wrote: > > > On 2010-3-23, at 下午4:44, jpepalmero wrote: > >> >> I tell what my purpose and the steps I have done: >> ServiceMix I have in my company, under a namespace, instead of >> http://servicemix.apache.org/htpp/1.0 by >> http://servicemix.mycompany.org/htpp/1.0. I have to use the version of >> ServiceMix 3.2.3 I've tried several things: >> 1) I installed ServiceMix from >> http://servicemix.apache.org/servicemix-323.html. >> 2) I have installed maven for compilation of service and assembly >> units and >> I want to compile under http://servicemix.mycompany.org/htpp/1.0 >> namespace. >> 3) I downloaded >> http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-http >> >> . >> But there is a patch for ServiceMix 3.2.3. Only Sevicemix 3.3 and >> 3.2.1. >> If I edit the version in the pom and put 3.2.3, it compiles >> correctly, but >> when I compile the service units, generates an error: Versions of >> ServiceMix-http direrentes. >> 4) If I omit step 3) and placed directly >> http://servicemix.mycompany.org/htpp/1.0 namespace in xbeans, there >> is an >> error: Can not find the namespace http://servicemix. mycompany.org/ >> htpp/1.0. >> >> I have read that I can install the namespace in ServiceMix pretend >> as if it >> were a component. But I do not like this solution, and I want to be >> the main >> namespace. >> >> The other solution I tried is to download ServiceMix from svn. >> Through: >> http://svn.apache.org/repos/asf/servicemix/smx3/tags/ >> servicemix-3.2.3. But >> directly contains errors. Duplicate units and can not find xalan. >> After >> solving this, and running mvn clean install, the following error >> occurs: >> >> Caused by: org.apache.maven.reporting.MavenReportException: Failed >> during >> configuration Checkstyle >> at org.apache.maven.plugin.checkstyle.CheckstyleReport.executeReport >> (CheckstyleReport.java: 591) >> at org.apache.maven.reporting.AbstractMavenReport.generate >> (AbstractMavenReport.java: 131) >> at org.apache.maven.reporting.AbstractMavenReport.execute >> (AbstractMavenReport.java: 76) >> ... 19 more >> Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: >> can not >> initialize module TreeWalker - TreeWalker is not allowed as a parent >> of >> RegexpHeader >> at com.puppycrawl.tools.checkstyle.Checker.setupChild (Checker.java: >> 177) >> at com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure >> (AutomaticBean.java: 207) >> at >> org >> .apache >> .maven.plugin.checkstyle.DefaultCheckstyleExecutor.executeCheckstyle >> (DefaultCheckstyleExecutor.java: 176) >> at org.apache.maven.plugin.checkstyle.CheckstyleReport.executeReport >> (CheckstyleReport.java: 576) >> ... 21 more >> Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: >> TreeWalker is not allowed as a parent of RegexpHeader >> at com.puppycrawl.tools.checkstyle.TreeWalker.setupChild >> (TreeWalker.java: >> 161) >> at com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure >> (AutomaticBean.java: 207) >> at com.puppycrawl.tools.checkstyle.Checker.setupChild (Checker.java: >> 156) >> ... 24 More >> And this does not fix it. >> I use Java 1.5 and Ubuntu 9.04, maven 2.0 >> > > Hi, > > What I can tell so far is your maven version is too old, could you > use 2.0.9 later? > > You can use "mvn -Pnochecks install" to avoid checkstyle staff, you > may need take a look at the wiki about smx build [1] > > [1]http://servicemix.apache.org/building.html > > Freeman >> Thanks in advance >> >> Freeman Fang wrote: >>> >>> Hi, >>> >>> Could you tell me where and how you check out servicemix 3.2.3? How >>> you build it, you java and maven version and platform specs, more >>> importantly, what's the error you encounter? >>> >>> Freeman >>> On 2010-3-23, at 上午1:01, jpepalmero wrote: >>> >>>> >>>> >>>> >>>> ServiceMix 3.2.3 How do I build from svn?. They give me many >>>> problems. There >>>> are a stable svn? >>>> -- >>>> View this message in context: >>>> http://old.nabble.com/ServiceMix-3.2.3-build-from-svn.-tp27989314p27989314.html >>>> Sent from the ServiceMix - User mailing list archive at Nabble.com. >>>> >>> >>> >>> -- >>> Freeman Fang >>> ------------------------ >>> Open Source SOA: http://fusesource.com >>> >>> >>> >> >> -- >> View this message in context: >> http://old.nabble.com/ServiceMix-3.2.3-build-from-svn.-tp27989314p27997716.html >> Sent from the ServiceMix - User mailing list archive at Nabble.com. >> > > > -- > Freeman Fang > ------------------------ > Open Source SOA: http://fusesource.com > > > -- View this message in context: http://old.nabble.com/ServiceMix-3.2.3-build-from-svn.-tp27989314p27998001.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
