| From | Sent On | Attachments |
|---|---|---|
| vermaden | Apr 17, 2012 1:34 pm | |
| Jason Helfman | Apr 17, 2012 2:26 pm | |
| vermaden | Apr 18, 2012 12:42 am | |
| Jason Helfman | Apr 18, 2012 12:30 pm | |
| Horst Leitenmueller | Apr 18, 2012 4:23 pm | |
| vermaden | Apr 18, 2012 10:22 pm | |
| Horst Leitenmueller | Apr 19, 2012 2:53 pm | .pom |
| vermaden | Apr 19, 2012 3:20 pm | |
| vermaden | Apr 20, 2012 3:17 am | |
| Horst Leitenmueller | Apr 20, 2012 11:34 pm | |
| vermaden | Apr 21, 2012 7:45 am |
| Subject: | Re: /usr/local/java/jboss5 fails to build | |
|---|---|---|
| From: | Horst Leitenmueller (hors...@liwest.at) | |
| Date: | Apr 20, 2012 11:34:42 pm | |
| List: | org.freebsd.freebsd-java | |
Hi
can you please try
with patch -p1 < patch.pom
pom.xml.orig is only the copy to keep the original pom.file...
br horst
here the complete pom file
On 20.04.2012, at 12:17, vermaden wrote:
Hi,
I am not able to apply the patch ...
mysql# pwd /usr/ports/java/jboss5 mysql# make clean ===> Cleaning for jboss-5.1.0.GA_1,1 mysql# make extract ===> License check disabled, port has not defined LICENSE ===> Extracting for jboss-5.1.0.GA_1,1 => SHA256 Checksum OK for jboss-5.1.0.GA-src.tar.gz. mysql# cd work/jboss-5.1.0.GA-src/ mysql# patch < /home/vermaden/patch.pom Hmm... Looks like a context diff to me... The text leading up to this was:
-------------------------- |*** pom.xml.orig Thu Apr 19 18:29:15 2012 |--- pom.xml Thu Apr 19 20:40:37 2012
-------------------------- Patching file pom.xml using Plan A... (Fascinating--this is really a new-style context diff but without the telltale extra asterisks on the *** line that usually indicate the new style...) Hunk #1 failed at 280. Hunk #2 failed at 302. Hunk #3 failed at 362. 3 out of 3 hunks failed--saving rejects to pom.xml.rej done
---
mysql# pwd /usr/ports/java/jboss5 mysql# make clean ===> Cleaning for jboss-5.1.0.GA_1,1 mysql# make patch ===> License check disabled, port has not defined LICENSE ===> Extracting for jboss-5.1.0.GA_1,1 => SHA256 Checksum OK for jboss-5.1.0.GA-src.tar.gz. ===> Patching for jboss-5.1.0.GA_1,1 ===> Applying FreeBSD patches for jboss-5.1.0.GA_1,1 mysql# cd work/jboss-5.1.0.GA-src/ mysql# patch < /home/vermaden/patch.pom Hmm... Looks like a context diff to me... The text leading up to this was:
-------------------------- |*** pom.xml.orig Thu Apr 19 18:29:15 2012 |--- pom.xml Thu Apr 19 20:40:37 2012
-------------------------- Patching file pom.xml using Plan A... (Fascinating--this is really a new-style context diff but without the telltale extra asterisks on the *** line that usually indicate the new style...) Hunk #1 failed at 280. Hunk #2 failed at 302. Hunk #3 failed at 362. 3 out of 3 hunks failed--saving rejects to pom.xml.rej done
Could You please attach the whole modified working POM.XML? ;)
Thanks, veramden
"Horst Leitenmueller" <hors...@liwest.at> pisze:
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
and
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…
and settings.xml
--
...
_______________________________________________ free...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-java To unsubscribe, send any mail to "free...@freebsd.org"
_______________________________________________ free...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-java To unsubscribe, send any mail to "free...@freebsd.org"






.pom