Thread: [Asterisk-java-users] Problem building from source
Brought to you by:
srt
From: Henrik B. <hen...@fr...> - 2007-03-08 14:50:38
|
Hi, I'm trying to build the asterisk-java jar from the svn source: mvn install always throws the following: [INFO] Scanning for projects... [INFO] ---------------------------------------------------------------------------- [INFO] Building Maven Default Project [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Cannot execute mojo: resources. It requires a project with an existing pom.xml, but the build is not using one. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 second [INFO] Finished at: Thu Mar 08 15:48:36 CET 2007 [INFO] Final Memory: 3M/5M [INFO] ------------------------------------------------------------------------ of course the pom.xml sits in the directory. Am I missing something? thanks Henrik |
From: Stefan R. <ste...@re...> - 2007-03-08 19:14:23
Attachments:
signature.asc
|
Henrik Buchholz wrote: > [INFO] Cannot execute mojo: resources. It requires a project with an > existing pom.xml, but the build is not using one. You must call mvn install in the same directory that contains the pom.xml. Did you do that? =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: S. B. S. <bs...@no...> - 2007-03-08 19:30:22
|
Stephen, we have a user trying to use OpenPBX when they discovered the following problem: /"Ok, I figured it out. It indeed was that AsterFax was looking for Asterisk Call Manager/1.0 instead of OpenPBX Call Manager/1.0 Stupid as that. I just went into the OpenPBX source code and changed what Openpbx answers when connecting to the API."/ Could you change the asterisk-java code base so that it accepts both '/Asterisk Call Manager/1.0' and '//OpenPBX Call Manager/1.0'. /Regards, Brett/ / Stefan Reuter wrote: > Henrik Buchholz wrote: > >> [INFO] Cannot execute mojo: resources. It requires a project with an >> existing pom.xml, but the build is not using one. >> > > You must call mvn install in the same directory that contains the > pom.xml. Did you do that? > > =Stefan > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |
From: Stefan R. <ste...@re...> - 2007-03-08 19:48:17
Attachments:
signature.asc
|
S. Brett Sutton wrote: > Stephen, > we have a user trying to use OpenPBX when they discovered the > following problem: >=20 > /"Ok, I figured it out. > It indeed was that AsterFax was looking for Asterisk Call Manager/1.0 > instead of OpenPBX Call Manager/1.0 >=20 > Stupid as that. >=20 > I just went into the OpenPBX source code and changed what Openpbx > answers when connecting to the API."/ >=20 > Could you change the asterisk-java code base so that it accepts both > '/Asterisk Call Manager/1.0' and '//OpenPBX Call Manager/1.0'. Which version of Asterisk-Java do you use? At least with current svn and 0.3-m2 you should only get a warning if the exact identifier isn't recognized. =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: S. B. S. <bs...@no...> - 2007-03-08 20:00:14
|
I will have to check. But it will be one of the older releases. It would still be nice to suppress the warning if either of the two prompts came back. In the mean time I will encourage our dev team to upgrade to a later version. I assume that m2 is fairly stable? Stefan Reuter wrote: > S. Brett Sutton wrote: > >> Stephen, >> we have a user trying to use OpenPBX when they discovered the >> following problem: >> >> /"Ok, I figured it out. >> It indeed was that AsterFax was looking for Asterisk Call Manager/1.0 >> instead of OpenPBX Call Manager/1.0 >> >> Stupid as that. >> >> I just went into the OpenPBX source code and changed what Openpbx >> answers when connecting to the API."/ >> >> Could you change the asterisk-java code base so that it accepts both >> '/Asterisk Call Manager/1.0' and '//OpenPBX Call Manager/1.0'. >> > > Which version of Asterisk-Java do you use? > At least with current svn and 0.3-m2 you should only get a warning if > the exact identifier isn't recognized. > > =Stefan > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |
From: Stefan R. <ste...@re...> - 2007-03-08 20:52:09
Attachments:
signature.asc
|
S. Brett Sutton wrote: > It would still be nice to suppress the warning if either of the two > prompts came back. Sure, I've added it to svn. > In the mean time I will encourage our dev team to upgrade to a later > version. >=20 > I assume that m2 is fairly stable? Stable in the sense of "works without any known bugs" yes, stable in the sense of feature complete and won't change no. =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: Henrik B. <hen...@fr...> - 2007-03-09 08:52:31
|
Am Donnerstag, den 08.03.2007, 20:14 +0100 schrieb Stefan Reuter: > Henrik Buchholz wrote: > > [INFO] Cannot execute mojo: resources. It requires a project with an > > existing pom.xml, but the build is not using one. > > You must call mvn install in the same directory that contains the > pom.xml. Did you do that? > yes. Of course. The pom.xml file is there and the user has read/write access. greetings Henrik |
From: Henrik B. <hen...@fr...> - 2007-03-09 09:58:36
|
Am Donnerstag, den 08.03.2007, 20:14 +0100 schrieb Stefan Reuter: > Henrik Buchholz wrote: > > [INFO] Cannot execute mojo: resources. It requires a project with an > > existing pom.xml, but the build is not using one. > > You must call mvn install in the same directory that contains the > pom.xml. Did you do that? Hi, I reinstalled maven and now its running properly. Whatever the reason was. Thanks for your help. Henrik. |