Date: Thu, 19 Apr 2012 23:53:48 +0200 From: Horst Leitenmueller <horst.leitenmueller@liwest.at> To: vermaden <vermaden@interia.pl> Cc: freebsd-questions@freebsd.org, Jason Helfman <jgh@FreeBSD.org>, freebsd-java@FreeBSD.org Subject: Re: /usr/local/java/jboss5 fails to build Message-ID: <54DECB18-A318-4572-B664-E2B1A3E46B1E@liwest.at> In-Reply-To: <xcbeqljxjjssrpqpcqob@kumd> References: <inftrztxhtpsihcsuweq@gbbg> <20120417212624.GB15370@dormouse.experts-exchange.com> <wcxblzgbzuiihpqooqox@rxpj> <20120418193043.GC96044@dormouse.experts-exchange.com> <B3CF7902-2E44-4329-A81B-B9E6B1B3E695@liwest.at> <xcbeqljxjjssrpqpcqob@kumd>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <repositories></repositories> =20 and=20 <pluginRepositories></pluginRepositories> the entries glassfish i have removed = <url>http://maven.glassfish.org/content/groups/glassfish</url> 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 **** </dependencies> </dependencyManagement> <!-- Repositories --> <repositories> ! <repository> <id>repository.jboss.org</id> <name>JBoss Releases Repository</name> ! <url>http://repository.jboss.org/maven2</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> --- 280,293 ---- </dependencies> </dependencyManagement> <!-- Repositories --> <repositories> ! <repository> <id>repository.jboss.org</id> <name>JBoss Releases Repository</name> ! <url>http://repository.jboss.org/nexus/content/groups/public</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> *************** *** 302,319 **** </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> <!-- Plugin Repositories --> <pluginRepositories> ! <pluginRepository> <id>repository.jboss.org</id> <name>JBoss Plugin Releases</name> ! <url>http://repository.jboss.org/maven2</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> --- 302,353 ---- </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> + <repository> + <id>releases.jboss.org</id> + <name>JBoss Release Repository</name> + <url>https://repository.jboss.org/nexus/content/repositories/releases/</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + <repository> + <id>public.jboss.org</id> + <name>JBoss Public Repository</name> + <url>https://repository.jboss.org/nexus/content/repositories/public/</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + <repository> + <id>thirdparty.jboss.org</id> + <name>JBoss Thirdparty Repository</name> + <url>https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + </repositories> <!-- Plugin Repositories --> <pluginRepositories> ! <pluginRepository> <id>repository.jboss.org</id> <name>JBoss Plugin Releases</name> ! <url>http://repository.jboss.org/nexus/content/groups/public-jboss</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> *************** *** 328,337 **** --- 362,382 ---- </releases> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> + <pluginRepository> + <id>releases.jboss.org</id> + <name>JBoss Release Repository</name> + <url>https://repository.jboss.org/nexus/content/repositories/releases/</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </pluginRepository> </pluginRepositories> <profiles> <!-- By default build all modules --> --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" <horst.leitenmueller@liwest.at> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54DECB18-A318-4572-B664-E2B1A3E46B1E>