From owner-freebsd-questions@FreeBSD.ORG Thu Apr 19 21:53:52 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A4CE1065672; Thu, 19 Apr 2012 21:53:52 +0000 (UTC) (envelope-from horst.leitenmueller@liwest.at) Received: from lilzmailso02.liwest.at (lilzmailso02.liwest.at [212.33.55.13]) by mx1.freebsd.org (Postfix) with ESMTP id 8FBEB8FC12; Thu, 19 Apr 2012 21:53:51 +0000 (UTC) Received: from [90.146.7.130] (helo=[192.168.10.21]) by lilzmailso02.liwest.at with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1SKzIn-0003ug-Uc; Thu, 19 Apr 2012 23:54:11 +0200 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/mixed; boundary=Apple-Mail-33-82942883 From: Horst Leitenmueller In-Reply-To: Date: Thu, 19 Apr 2012 23:53:48 +0200 Message-Id: <54DECB18-A318-4572-B664-E2B1A3E46B1E@liwest.at> References: <20120417212624.GB15370@dormouse.experts-exchange.com> <20120418193043.GC96044@dormouse.experts-exchange.com> To: vermaden X-Mailer: Apple Mail (2.1084) X-Spam-Score: -1.4 (-) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, Jason Helfman , freebsd-java@FreeBSD.org Subject: Re: /usr/local/java/jboss5 fails to build X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2012 21:53:52 -0000 --Apple-Mail-33-82942883 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 hi vermaden, here is the howto and all needed changes... installation is done on a 8.2-RELEASE-p6 FreeBSD amd64 with openjdk6 what is missing is a settings.xml which must be located in the home = directory of root, or the one who is installing ports /root/.m2/settings.xml file is attached in this file the depricated jboss dependencies are = kept; otherwise you will not be able to build second thing is i removed/changed things from the pom.xml file in the = portbuild/usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/ there are changes for=20 =20 and=20 the entries glassfish i have removed = http://maven.glassfish.org/content/groups/glassfish they just = deliver not working response how to patch, i run "make install" in /usr/ports/java/jboss5 when jboss-src is downloaded and extracted i interrupted the build patched the pom.xml (problem was, i thougth install will work, but it = was running and downloading garbage from glassfish repo...) rm -rf /root/.m2/repository/ helps also if some garbage is collected jboss-team has announced there will be a repo change already some time = ago, but i also did not recognize it :-) until it was turned off... for the portmaintainer ? how to handle the settings.xml ? the other = things can be patched=85 and settings.xml --Apple-Mail-33-82942883 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii here the patch for pom file: patch < patch.pom in = portbuild/usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/ --Apple-Mail-33-82942883 Content-Disposition: attachment; filename=patch.pom Content-Type: application/octet-stream; name="patch.pom" Content-Transfer-Encoding: 7bit *** pom.xml.orig Thu Apr 19 18:29:15 2012 --- pom.xml Thu Apr 19 20:40:37 2012 *************** *** 280,293 **** ! repository.jboss.org JBoss Releases Repository ! http://repository.jboss.org/maven2 true false --- 280,293 ---- ! repository.jboss.org JBoss Releases Repository ! http://repository.jboss.org/nexus/content/groups/public true false *************** *** 302,319 **** true ! repository.jboss.org JBoss Plugin Releases ! http://repository.jboss.org/maven2 true false --- 302,353 ---- true + + releases.jboss.org + JBoss Release Repository + https://repository.jboss.org/nexus/content/repositories/releases/ + + true + + + false + + + + public.jboss.org + JBoss Public Repository + https://repository.jboss.org/nexus/content/repositories/public/ + + true + + + false + + + + thirdparty.jboss.org + JBoss Thirdparty Repository + https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/ + + true + + + false + + + ! repository.jboss.org JBoss Plugin Releases ! http://repository.jboss.org/nexus/content/groups/public-jboss true false *************** *** 328,337 **** --- 362,382 ---- true + + releases.jboss.org + JBoss Release Repository + https://repository.jboss.org/nexus/content/repositories/releases/ + + true + + + false + + --Apple-Mail-33-82942883 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii patch can be applied like described here http://www.freebsddiary.org/patch.php br horst PS:=20 BUILD SUCCESSFUL Total time: 11 minutes 25 seconds To run the jboss server from startup, add jboss5_enable=3D"YES" in your = /etc/rc.conf. Extra options can be found in the startup script. =3D=3D=3D> Registering installation for jboss-5.1.0.GA_1,1 ;-) good luck On 19.04.2012, at 07:22, vermaden wrote: > "Horst Leitenmueller" pisze: >> it is functional i'm using it >>=20 >> but some changes must be done on the maven dependencies, here is a = summary of the changes to get it build again >>=20 >> problem is jboss has change to a new repository system and all old = urls are changed...(nice work of jboss team ;-)) >> just a few things must be changed >>=20 >> i will write tomorrow the summary, i hope somebody can fix it then >>=20 >> br horst >=20 > Thanks, I appreciate Your help, waiting for instructions then ... >=20 > ... and for JBoss community to reply ;) >=20 > Regards, > vermaden >=20 >> On 18.04.2012, at 21:30, Jason Helfman wrote: >>=20 >>> On Wed, Apr 18, 2012 at 07:42:55AM +0000, vermaden thus spake: >>>> hi, >>>>=20 >>>> I do not pressure to use the Ports version I just need a working >>>> JBOSS5 on FreeBSD, I can download jboss-5.1.0.GA.zip from here >>>>=20 >>>> http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/ >>>>=20 >>>> But will it be fully functional on FreeBSD? >>>>=20 >>>> Regards, >>>> vermaden >>>=20 >>> I can't answer if it will be functional or not on FreeBSD until it = is >>> successfully installed, however it being in the portstree gives me = some >>> indication that it did work at one time. This is a vendor issue = though, and >>> I would urge you to contact them regarding their maven repository = issue with >>> the error you are receiving. >>>=20 >>> I would be happy to look into this further after they are able to = diagnose >>> the issue. >>>=20 >>> Thanks! >>> -jgh >>>=20 >>> --=20 >>> Jason Helfman | FreeBSD Committer >>> jgh@FreeBSD.org | http://people.freebsd.org/~jgh >>> _______________________________________________ >>> freebsd-java@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-java >>> To unsubscribe, send any mail to = "freebsd-java-unsubscribe@freebsd.org" >>=20 >>=20 >>=20 >> -------------------------------------------------- >> DI Horst Leitenmueller >>=20 >> email: horst.leitenmueller@liwest.at >> -------------------------------------------------- >=20 >=20 >=20 >=20 > --=20 >=20 > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to = "freebsd-java-unsubscribe@freebsd.org" --Apple-Mail-33-82942883--