Re: Can anyone build 1.2 from the soource repository?
://repository.codehaus.org), apache-snapshots (http://people.apache.org/repo/m2-snapshot- repository), codehaus-snapshots (http://snapshots.repository.codehaus.org) [INFO] -- -- [INFO] For more information, run Maven with the -e switch [INFO] -- -- [INFO] Total time: 1 minute 45 seconds [INFO] Finished at: Tue Jan 22 13:47:53 EST 2008 [INFO] Final Memory: 36M/65M [INFO] -- -- I have no idea what it means by Try downloading the file manually from the project website.. I tried the first suggestion it had of mvn install:install-file -DgroupId=org.apache.geronimo.plugins -DartifactId=car-maven-plugin -Dversion=1.2 -Dpackaging=maven-plugin -Dfile=/path/to/file but that didn't seem to do anything (and yes, I did try and point it at the proper jar, not /path/to/file ;-)). I guess I have two queistions: 1) Has anyone gotten this to build recently and if so, in laymans terms, what did you do to maven to make it build? 2) Is there a here's the most common problems with maven and how to solve them for geronimo anywhere? Seems from looking that the use of maven has been more a curse than a blessing here and now I see why...so much for build repeatability. Thanks for any help or advice. Alski -- View this message in context: http://www.nabble.com/Can-anyone- build-1.2-from-the-soource-repository--tp15025524s134p15025524.html Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/Can-anyone-build-1.2-from-the-soource-repository--tp15025524s134p15040031.html Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.
Re: Can anyone build 1.2 from the soource repository?
] org.apache.geronimo.plugins:car-maven-plugin:maven-plugin:1.2 from the specified remote repositories: central (http://repo1.maven.org/maven2), codehaus (http://repository.codehaus.org), apache-snapshots (http://people.apache.org/repo/m2-snapshot- repository), codehaus-snapshots (http://snapshots.repository.codehaus.org) org.apache.geronimo.plugins:car-maven-plugin:maven-plugin:1.2 from the specified remote repositories: central (http://repo1.maven.org/maven2), codehaus (http://repository.codehaus.org), apache-snapshots (http://people.apache.org/repo/m2-snapshot- repository), codehaus-snapshots (http://snapshots.repository.codehaus.org) [INFO] -- -- [INFO] For more information, run Maven with the -e switch [INFO] -- -- [INFO] Total time: 1 minute 45 seconds [INFO] Finished at: Tue Jan 22 13:47:53 EST 2008 [INFO] Final Memory: 36M/65M [INFO] -- -- I have no idea what it means by Try downloading the file manually from the project website.. I tried the first suggestion it had of mvn install:install-file -DgroupId=org.apache.geronimo.plugins -DartifactId=car-maven-plugin -Dversion=1.2 -Dpackaging=maven-plugin -Dfile=/path/to/file but that didn't seem to do anything (and yes, I did try and point it at the proper jar, not /path/to/file ;-)). I guess I have two queistions: 1) Has anyone gotten this to build recently and if so, in laymans terms, what did you do to maven to make it build? 2) Is there a here's the most common problems with maven and how to solve them for geronimo anywhere? Seems from looking that the use of maven has been more a curse than a blessing here and now I see why...so much for build repeatability. Thanks for any help or advice. Alski -- View this message in context: http://www.nabble.com/Can-anyone- build-1.2-from-the-soource-repository--tp15025524s134p15025524.html Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/Can-anyone-build-1.2-from-the-soource-repository--tp15025524s134p15041835.html Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.
Can anyone build 1.2 from the soource repository?
Hi all, I first downloaded the source tar and tried to build that. No go as it was missing some snapshots now. Not knowing the slightest bit about maven (nor wanting to really), I pulled a source tree of the 1.2 tag. I am using Sun's JDK 1.5.0_12 with Maven 2.0.8 trying to build source from https://svn.apache.org/repos/asf/geronimo/server/tags/1.2. If I try mvn install as the build instructions suggest, I get: Downloading: http://repository.codehaus.org/org/apache/geronimo/plugins/car-maven-plugin/1.2/car-maven-plugin-1.2.jar Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/plugins/car-maven-plugin/1.2/car-maven-plugin-1.2.jar [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.geronimo.plugins -DartifactId=car-maven-plugin -Dversion=1.2 -Dpackaging=maven-plugin -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.geronimo.plugins -DartifactId=car-maven-plugin -Dversion=1.2 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] org.apache.geronimo.plugins:car-maven-plugin:maven-plugin:1.2 from the specified remote repositories: central (http://repo1.maven.org/maven2), codehaus (http://repository.codehaus.org), apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository), codehaus-snapshots (http://snapshots.repository.codehaus.org) org.apache.geronimo.plugins:car-maven-plugin:maven-plugin:1.2 from the specified remote repositories: central (http://repo1.maven.org/maven2), codehaus (http://repository.codehaus.org), apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository), codehaus-snapshots (http://snapshots.repository.codehaus.org) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 minute 45 seconds [INFO] Finished at: Tue Jan 22 13:47:53 EST 2008 [INFO] Final Memory: 36M/65M [INFO] I have no idea what it means by Try downloading the file manually from the project website.. I tried the first suggestion it had of mvn install:install-file -DgroupId=org.apache.geronimo.plugins -DartifactId=car-maven-plugin -Dversion=1.2 -Dpackaging=maven-plugin -Dfile=/path/to/file but that didn't seem to do anything (and yes, I did try and point it at the proper jar, not /path/to/file ;-)). I guess I have two queistions: 1) Has anyone gotten this to build recently and if so, in laymans terms, what did you do to maven to make it build? 2) Is there a here's the most common problems with maven and how to solve them for geronimo anywhere? Seems from looking that the use of maven has been more a curse than a blessing here and now I see why...so much for build repeatability. Thanks for any help or advice. Alski -- View this message in context: http://www.nabble.com/Can-anyone-build-1.2-from-the-soource-repository--tp15025524s134p15025524.html Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.
Re: Can anyone build 1.2 from the soource repository?
Note that 1.2 is not released and most likely never will be. You might consider using 2.0.2 or 2.1-SNAPSHOT. I'm pretty sure that you need to use maven 2.0.7. I personally have not tried 2.0.8 but have heard rumors of problems. Until you get a successful build you may need to run the bootstrap procedure. mvn install -Dstage=bootstrap mvn install -Dstage=assemble As noted in the BUILDING.txt file, there are more instructions at http://cwiki.apache.org/GMOxDEV/building-apache-geronimo-with- maven-2.html Hope this helps david jencks On Jan 22, 2008, at 10:52 AM, AlskiOnTheWeb wrote: Hi all, I first downloaded the source tar and tried to build that. No go as it was missing some snapshots now. Not knowing the slightest bit about maven (nor wanting to really), I pulled a source tree of the 1.2 tag. I am using Sun's JDK 1.5.0_12 with Maven 2.0.8 trying to build source from https://svn.apache.org/repos/asf/geronimo/server/tags/1.2. If I try mvn install as the build instructions suggest, I get: Downloading: http://repository.codehaus.org/org/apache/geronimo/plugins/car- maven-plugin/1.2/car-maven-plugin-1.2.jar Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/plugins/car-maven- plugin/1.2/car-maven-plugin-1.2.jar [INFO] -- -- [ERROR] BUILD ERROR [INFO] -- -- [INFO] Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.geronimo.plugins -DartifactId=car-maven-plugin -Dversion=1.2 -Dpackaging=maven-plugin -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.geronimo.plugins -DartifactId=car-maven-plugin -Dversion=1.2 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] org.apache.geronimo.plugins:car-maven-plugin:maven-plugin:1.2 from the specified remote repositories: central (http://repo1.maven.org/maven2), codehaus (http://repository.codehaus.org), apache-snapshots (http://people.apache.org/repo/m2-snapshot- repository), codehaus-snapshots (http://snapshots.repository.codehaus.org) org.apache.geronimo.plugins:car-maven-plugin:maven-plugin:1.2 from the specified remote repositories: central (http://repo1.maven.org/maven2), codehaus (http://repository.codehaus.org), apache-snapshots (http://people.apache.org/repo/m2-snapshot- repository), codehaus-snapshots (http://snapshots.repository.codehaus.org) [INFO] -- -- [INFO] For more information, run Maven with the -e switch [INFO] -- -- [INFO] Total time: 1 minute 45 seconds [INFO] Finished at: Tue Jan 22 13:47:53 EST 2008 [INFO] Final Memory: 36M/65M [INFO] -- -- I have no idea what it means by Try downloading the file manually from the project website.. I tried the first suggestion it had of mvn install:install-file -DgroupId=org.apache.geronimo.plugins -DartifactId=car-maven-plugin -Dversion=1.2 -Dpackaging=maven-plugin -Dfile=/path/to/file but that didn't seem to do anything (and yes, I did try and point it at the proper jar, not /path/to/file ;-)). I guess I have two queistions: 1) Has anyone gotten this to build recently and if so, in laymans terms, what did you do to maven to make it build? 2) Is there a here's the most common problems with maven and how to solve them for geronimo anywhere? Seems from looking that the use of maven has been more a curse than a blessing here and now I see why...so much for build repeatability. Thanks for any help or advice. Alski -- View this message in context: http://www.nabble.com/Can-anyone- build-1.2-from-the-soource-repository--tp15025524s134p15025524.html Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.
Re: Can anyone build 1.2 from the soource repository?
I wish it were that simple. Unfortunately, I've got to at least try and apply some patches and configuration from a custom build of 1.0 :-( which means I need something most likely from the 1.x ancestry. So, if 1.2 is a no-go, is 1.1.1 a good one? I need a 1.x ancestor that runs under Java 1.5. Thanks for any advice... Alski djencks wrote: Note that 1.2 is not released and most likely never will be. You might consider using 2.0.2 or 2.1-SNAPSHOT. I'm pretty sure that you need to use maven 2.0.7. I personally have not tried 2.0.8 but have heard rumors of problems. Until you get a successful build you may need to run the bootstrap procedure. mvn install -Dstage=bootstrap mvn install -Dstage=assemble As noted in the BUILDING.txt file, there are more instructions at http://cwiki.apache.org/GMOxDEV/building-apache-geronimo-with- maven-2.html Hope this helps david jencks On Jan 22, 2008, at 10:52 AM, AlskiOnTheWeb wrote: Hi all, I first downloaded the source tar and tried to build that. No go as it was missing some snapshots now. Not knowing the slightest bit about maven (nor wanting to really), I pulled a source tree of the 1.2 tag. I am using Sun's JDK 1.5.0_12 with Maven 2.0.8 trying to build source from https://svn.apache.org/repos/asf/geronimo/server/tags/1.2. If I try mvn install as the build instructions suggest, I get: Downloading: http://repository.codehaus.org/org/apache/geronimo/plugins/car- maven-plugin/1.2/car-maven-plugin-1.2.jar Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/plugins/car-maven- plugin/1.2/car-maven-plugin-1.2.jar [INFO] -- -- [ERROR] BUILD ERROR [INFO] -- -- [INFO] Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.geronimo.plugins -DartifactId=car-maven-plugin -Dversion=1.2 -Dpackaging=maven-plugin -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.geronimo.plugins -DartifactId=car-maven-plugin -Dversion=1.2 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] org.apache.geronimo.plugins:car-maven-plugin:maven-plugin:1.2 from the specified remote repositories: central (http://repo1.maven.org/maven2), codehaus (http://repository.codehaus.org), apache-snapshots (http://people.apache.org/repo/m2-snapshot- repository), codehaus-snapshots (http://snapshots.repository.codehaus.org) org.apache.geronimo.plugins:car-maven-plugin:maven-plugin:1.2 from the specified remote repositories: central (http://repo1.maven.org/maven2), codehaus (http://repository.codehaus.org), apache-snapshots (http://people.apache.org/repo/m2-snapshot- repository), codehaus-snapshots (http://snapshots.repository.codehaus.org) [INFO] -- -- [INFO] For more information, run Maven with the -e switch [INFO] -- -- [INFO] Total time: 1 minute 45 seconds [INFO] Finished at: Tue Jan 22 13:47:53 EST 2008 [INFO] Final Memory: 36M/65M [INFO] -- -- I have no idea what it means by Try downloading the file manually from the project website.. I tried the first suggestion it had of mvn install:install-file -DgroupId=org.apache.geronimo.plugins -DartifactId=car-maven-plugin -Dversion=1.2 -Dpackaging=maven-plugin -Dfile=/path/to/file but that didn't seem to do anything (and yes, I did try and point it at the proper jar, not /path/to/file ;-)). I guess I have two queistions: 1) Has anyone gotten this to build recently and if so, in laymans terms, what did you do to maven to make it build? 2) Is there a here's the most common problems with maven and how to solve them for geronimo anywhere? Seems from looking that the use of maven has been more a curse than a blessing here and now I see why...so much for build repeatability. Thanks for any help or advice. Alski -- View this message in context: http://www.nabble.com/Can-anyone- build-1.2-from-the-soource-repository--tp15025524s134p15025524.html Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/Can-anyone-build-1.2-from-the-soource-repository--tp15025524s134p15026212.html Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.
Re: Can anyone build 1.2 from the soource repository?
Hello, Even though 1.2 was never released - I was using it in production (as a snapshot) for quite a while. I believe there was only one issue that held it back from being released (I'll have to go back to check though). I would suspect that the only thing you would need to get your build to finish is using the 'bootstrap' flag that David mentioned. I'm checking this now to make sure and I'll let you know. Jay AlskiOnTheWeb wrote: I wish it were that simple. Unfortunately, I've got to at least try and apply some patches and configuration from a custom build of 1.0 :-( which means I need something most likely from the 1.x ancestry. So, if 1.2 is a no-go, is 1.1.1 a good one? I need a 1.x ancestor that runs under Java 1.5. Thanks for any advice... Alski djencks wrote: Note that 1.2 is not released and most likely never will be. You might consider using 2.0.2 or 2.1-SNAPSHOT. I'm pretty sure that you need to use maven 2.0.7. I personally have not tried 2.0.8 but have heard rumors of problems. Until you get a successful build you may need to run the bootstrap procedure. mvn install -Dstage=bootstrap mvn install -Dstage=assemble As noted in the BUILDING.txt file, there are more instructions at http://cwiki.apache.org/GMOxDEV/building-apache-geronimo-with- maven-2.html Hope this helps david jencks On Jan 22, 2008, at 10:52 AM, AlskiOnTheWeb wrote: Hi all, I first downloaded the source tar and tried to build that. No go as it was missing some snapshots now. Not knowing the slightest bit about maven (nor wanting to really), I pulled a source tree of the 1.2 tag. I am using Sun's JDK 1.5.0_12 with Maven 2.0.8 trying to build source from https://svn.apache.org/repos/asf/geronimo/server/tags/1.2. If I try mvn install as the build instructions suggest, I get: Downloading: http://repository.codehaus.org/org/apache/geronimo/plugins/car- maven-plugin/1.2/car-maven-plugin-1.2.jar Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/plugins/car-maven- plugin/1.2/car-maven-plugin-1.2.jar [INFO] -- -- [ERROR] BUILD ERROR [INFO] -- -- [INFO] Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.geronimo.plugins -DartifactId=car-maven-plugin -Dversion=1.2 -Dpackaging=maven-plugin -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.geronimo.plugins -DartifactId=car-maven-plugin -Dversion=1.2 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] org.apache.geronimo.plugins:car-maven-plugin:maven-plugin:1.2 from the specified remote repositories: central (http://repo1.maven.org/maven2), codehaus (http://repository.codehaus.org), apache-snapshots (http://people.apache.org/repo/m2-snapshot- repository), codehaus-snapshots (http://snapshots.repository.codehaus.org) org.apache.geronimo.plugins:car-maven-plugin:maven-plugin:1.2 from the specified remote repositories: central (http://repo1.maven.org/maven2), codehaus (http://repository.codehaus.org), apache-snapshots (http://people.apache.org/repo/m2-snapshot- repository), codehaus-snapshots (http://snapshots.repository.codehaus.org) [INFO] -- -- [INFO] For more information, run Maven with the -e switch [INFO] -- -- [INFO] Total time: 1 minute 45 seconds [INFO] Finished at: Tue Jan 22 13:47:53 EST 2008 [INFO] Final Memory: 36M/65M [INFO] -- -- I have no idea what it means by Try downloading the file manually from the project website.. I tried the first suggestion it had of mvn install:install-file -DgroupId=org.apache.geronimo.plugins -DartifactId=car-maven-plugin -Dversion=1.2 -Dpackaging=maven-plugin -Dfile=/path/to/file but that didn't seem to do anything (and yes, I did try and point it at the proper jar, not /path/to/file ;-)). I guess I have two queistions: 1) Has anyone gotten this to build recently and if so, in laymans terms, what did you do to maven to make it build? 2) Is there a here's the most common problems with maven and how to solve them for geronimo anywhere? Seems from looking that the use of maven has been more a curse than a blessing here and now I see why...so much for build repeatability. Thanks for any help or advice. Alski -- View this message in context: http://www.nabble.com/Can-anyone- build-1.2-from-the-soource-repository--tp15025524s134p15025524.html Sent from
Re: Can anyone build 1.2 from the soource repository?
Hello again. I tried to find the issue that kept 1.2 from being released - but the JIRA must have been closed or moved because there are no blocking issues on 1.2 (Anyone remember what the blocker was?). And, right now I am doing a build with just 'mvn' (no other options). So it looks like David was right about the maven version issue. Use 2.0.7 instead (I have personally had problems building trunk with 2.0.8 - So I reverted back to 2.0.7). Jay AlskiOnTheWeb wrote: I wish it were that simple. Unfortunately, I've got to at least try and apply some patches and configuration from a custom build of 1.0 :-( which means I need something most likely from the 1.x ancestry. So, if 1.2 is a no-go, is 1.1.1 a good one? I need a 1.x ancestor that runs under Java 1.5. Thanks for any advice... Alski djencks wrote: Note that 1.2 is not released and most likely never will be. You might consider using 2.0.2 or 2.1-SNAPSHOT. I'm pretty sure that you need to use maven 2.0.7. I personally have not tried 2.0.8 but have heard rumors of problems. Until you get a successful build you may need to run the bootstrap procedure. mvn install -Dstage=bootstrap mvn install -Dstage=assemble As noted in the BUILDING.txt file, there are more instructions at http://cwiki.apache.org/GMOxDEV/building-apache-geronimo-with- maven-2.html Hope this helps david jencks On Jan 22, 2008, at 10:52 AM, AlskiOnTheWeb wrote: Hi all, I first downloaded the source tar and tried to build that. No go as it was missing some snapshots now. Not knowing the slightest bit about maven (nor wanting to really), I pulled a source tree of the 1.2 tag. I am using Sun's JDK 1.5.0_12 with Maven 2.0.8 trying to build source from https://svn.apache.org/repos/asf/geronimo/server/tags/1.2. If I try mvn install as the build instructions suggest, I get: Downloading: http://repository.codehaus.org/org/apache/geronimo/plugins/car- maven-plugin/1.2/car-maven-plugin-1.2.jar Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/plugins/car-maven- plugin/1.2/car-maven-plugin-1.2.jar [INFO] -- -- [ERROR] BUILD ERROR [INFO] -- -- [INFO] Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.geronimo.plugins -DartifactId=car-maven-plugin -Dversion=1.2 -Dpackaging=maven-plugin -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.geronimo.plugins -DartifactId=car-maven-plugin -Dversion=1.2 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] org.apache.geronimo.plugins:car-maven-plugin:maven-plugin:1.2 from the specified remote repositories: central (http://repo1.maven.org/maven2), codehaus (http://repository.codehaus.org), apache-snapshots (http://people.apache.org/repo/m2-snapshot- repository), codehaus-snapshots (http://snapshots.repository.codehaus.org) org.apache.geronimo.plugins:car-maven-plugin:maven-plugin:1.2 from the specified remote repositories: central (http://repo1.maven.org/maven2), codehaus (http://repository.codehaus.org), apache-snapshots (http://people.apache.org/repo/m2-snapshot- repository), codehaus-snapshots (http://snapshots.repository.codehaus.org) [INFO] -- -- [INFO] For more information, run Maven with the -e switch [INFO] -- -- [INFO] Total time: 1 minute 45 seconds [INFO] Finished at: Tue Jan 22 13:47:53 EST 2008 [INFO] Final Memory: 36M/65M [INFO] -- -- I have no idea what it means by Try downloading the file manually from the project website.. I tried the first suggestion it had of mvn install:install-file -DgroupId=org.apache.geronimo.plugins -DartifactId=car-maven-plugin -Dversion=1.2 -Dpackaging=maven-plugin -Dfile=/path/to/file but that didn't seem to do anything (and yes, I did try and point it at the proper jar, not /path/to/file ;-)). I guess I have two queistions: 1) Has anyone gotten this to build recently and if so, in laymans terms, what did you do to maven to make it build? 2) Is there a here's the most common problems with maven and how to solve them for geronimo anywhere? Seems from looking that the use of maven has been more a curse than a blessing here and now I see why...so much for build repeatability. Thanks for any help or advice. Alski -- View this message in context: http://www.nabble.com/Can-anyone- build-1.2-from-the-soource-repository
Re: Can anyone build 1.2 from the soource repository?
did try and point it at the proper jar, not /path/to/file ;-)). I guess I have two queistions: 1) Has anyone gotten this to build recently and if so, in laymans terms, what did you do to maven to make it build? 2) Is there a here's the most common problems with maven and how to solve them for geronimo anywhere? Seems from looking that the use of maven has been more a curse than a blessing here and now I see why...so much for build repeatability. Thanks for any help or advice. Alski -- View this message in context: http://www.nabble.com/Can-anyone- build-1.2-from-the-soource-repository--tp15025524s134p15025524.html Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/Can-anyone-build-1.2-from-the-soource-repository--tp15025524s134p15027352.html Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.
Re: Can anyone build 1.2 from the soource repository?
IMO 1.2 is a much better bet than 1.1.1 but since the directory structure changed you may have to be careful applying your patches. You haven't really said why you are stuck on a 1.x branch -- I would seriously consider migrating your changes to the 2.x codebase. thanks david jencks On Jan 22, 2008, at 11:24 AM, AlskiOnTheWeb wrote: I wish it were that simple. Unfortunately, I've got to at least try and apply some patches and configuration from a custom build of 1.0 :- ( which means I need something most likely from the 1.x ancestry. So, if 1.2 is a no-go, is 1.1.1 a good one? I need a 1.x ancestor that runs under Java 1.5. Thanks for any advice... Alski djencks wrote: Note that 1.2 is not released and most likely never will be. You might consider using 2.0.2 or 2.1-SNAPSHOT. I'm pretty sure that you need to use maven 2.0.7. I personally have not tried 2.0.8 but have heard rumors of problems. Until you get a successful build you may need to run the bootstrap procedure. mvn install -Dstage=bootstrap mvn install -Dstage=assemble As noted in the BUILDING.txt file, there are more instructions at http://cwiki.apache.org/GMOxDEV/building-apache-geronimo-with- maven-2.html Hope this helps david jencks On Jan 22, 2008, at 10:52 AM, AlskiOnTheWeb wrote: Hi all, I first downloaded the source tar and tried to build that. No go as it was missing some snapshots now. Not knowing the slightest bit about maven (nor wanting to really), I pulled a source tree of the 1.2 tag. I am using Sun's JDK 1.5.0_12 with Maven 2.0.8 trying to build source from https://svn.apache.org/repos/asf/geronimo/server/tags/1.2. If I try mvn install as the build instructions suggest, I get: Downloading: http://repository.codehaus.org/org/apache/geronimo/plugins/car- maven-plugin/1.2/car-maven-plugin-1.2.jar Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/plugins/car-maven- plugin/1.2/car-maven-plugin-1.2.jar [INFO] -- -- [ERROR] BUILD ERROR [INFO] -- -- [INFO] Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.geronimo.plugins -DartifactId=car-maven-plugin -Dversion=1.2 -Dpackaging=maven-plugin -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.geronimo.plugins -DartifactId=car-maven-plugin -Dversion=1.2 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] org.apache.geronimo.plugins:car-maven-plugin:maven-plugin:1.2 from the specified remote repositories: central (http://repo1.maven.org/maven2), codehaus (http://repository.codehaus.org), apache-snapshots (http://people.apache.org/repo/m2-snapshot- repository), codehaus-snapshots (http://snapshots.repository.codehaus.org) org.apache.geronimo.plugins:car-maven-plugin:maven-plugin:1.2 from the specified remote repositories: central (http://repo1.maven.org/maven2), codehaus (http://repository.codehaus.org), apache-snapshots (http://people.apache.org/repo/m2-snapshot- repository), codehaus-snapshots (http://snapshots.repository.codehaus.org) [INFO] -- -- [INFO] For more information, run Maven with the -e switch [INFO] -- -- [INFO] Total time: 1 minute 45 seconds [INFO] Finished at: Tue Jan 22 13:47:53 EST 2008 [INFO] Final Memory: 36M/65M [INFO] -- -- I have no idea what it means by Try downloading the file manually from the project website.. I tried the first suggestion it had of mvn install:install-file -DgroupId=org.apache.geronimo.plugins -DartifactId=car-maven-plugin -Dversion=1.2 -Dpackaging=maven-plugin -Dfile=/path/to/file but that didn't seem to do anything (and yes, I did try and point it at the proper jar, not /path/to/file ;-)). I guess I have two queistions: 1) Has anyone gotten this to build recently and if so, in laymans terms, what did you do to maven to make it build? 2) Is there a here's the most common problems with maven and how to solve them for geronimo anywhere? Seems from looking that the use of maven has been more a curse than a blessing here and now I see why...so much for build repeatability. Thanks for any help or advice. Alski -- View this message in context: http://www.nabble.com/Can-anyone- build-1.2-from-the-soource-repository--tp15025524s134p15025524.html Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/Can-anyone
Re: Can anyone build 1.2 from the soource repository?
to solve them for geronimo anywhere? Seems from looking that the use of maven has been more a curse than a blessing here and now I see why...so much for build repeatability. Thanks for any help or advice. Alski -- View this message in context: http://www.nabble.com/Can-anyone- build-1.2-from-the-soource-repository--tp15025524s134p15025524.html Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/Can-anyone- build-1.2-from-the-soource-repository--tp15025524s134p15026212.html Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/Can-anyone-build-1.2-from-the-soource-repository--tp15025524s134p15027625.html Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.
Re: Can anyone build 1.2 from the soource repository?
] -- -- -- -- I have no idea what it means by Try downloading the file manually from the project website.. I tried the first suggestion it had of mvn install:install-file -DgroupId=org.apache.geronimo.plugins -DartifactId=car-maven-plugin -Dversion=1.2 -Dpackaging=maven- plugin -Dfile=/path/to/file but that didn't seem to do anything (and yes, I did try and point it at the proper jar, not /path/to/file ;-)). I guess I have two queistions: 1) Has anyone gotten this to build recently and if so, in laymans terms, what did you do to maven to make it build? 2) Is there a here's the most common problems with maven and how to solve them for geronimo anywhere? Seems from looking that the use of maven has been more a curse than a blessing here and now I see why...so much for build repeatability. Thanks for any help or advice. Alski -- View this message in context: http://www.nabble.com/Can-anyone- build-1.2-from-the-soource-repository-- tp15025524s134p15025524.html Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/Can-anyone- build-1.2-from-the-soource-repository--tp15025524s134p15026212.html Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/Can-anyone- build-1.2-from-the-soource-repository--tp15025524s134p15027625.html Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.
Re: Can anyone build 1.2?
On Nov 26, 2006, at 7:17 PM, Jason Dillon wrote: Any more progress on this? I discovered what I think is a blocker with how we are overloading the meaning of maven scope and using it to determine geronimo ImportType. The maven default scope is compile, but we are mapping explicitly specified compile to ImportType.CLASSES whereas unspecified scope goes to ImportType.ALL. For me, if I build in the configs dir, maven is filling in the default scope for me, so all the car dependencies that are supposed to be parents (ALL) are coming out CLASSES. If I build in the subdir for the config, it works OK. I'm trying to map provided to CLASSES and compile (specified explicitly or blank) to ALL but at the moment it looks like dependency resolution of provided is not transitive ?!?! I'm having some trouble figuring out why this is. If you want to take a look I can open a jira issue and attach a patch of where I am so far. thanks david jencks --jason On 11/23/06, David Jencks [EMAIL PROTECTED] wrote: On Nov 22, 2006, at 9:28 AM, David Jencks wrote: I think the answer is not if you've built 2.0 I traced through uddi-jetty and even after your transitive-deps fix for explicit_versions.properties I'm still seeing a lot of 2.0 artifacts loaded into the g. kernel. I think a solution might be to make the car plugin run off a repository view or virtual repository that only lets it see the transitive closure of the dependencies mentioned in the car file. I'll see if I can get this to work... I've implemented this locally and now I can build a 1.2-SNAPSHOT server that doesn't pull in 2.0-SNAPSHOT stuff. I also stopped sharing the kernel between invocations of the car-maven-plugin. Unfortunately I run out of permGen space building configs. I'll see if I can reintroduce sharing the kernel and commit this. thanks david jencks thanks david jencks On Nov 21, 2006, at 4:40 PM, Jason Dillon wrote: I keep running into car problems, like: snip [INFO] Packaging module configuration: /Users/jason/ws/geronimo/ server-1.2/configs/system-database/target/plan/plan.xml [INFO] - --- [ERROR] BUILD ERROR [INFO] - --- [INFO] load of org.apache.geronimo.configs/j2ee-deployer/1.2- SNAPSHOT/car failed Configuration gbean failed to start org.apache.geronimo.configs/ j2ee-deployer/1.2-SNAPSHOT/car /snip How useful is that error message... um... not very useful at all. After building openejb2 by hand, trunk appears to build fine... but I can't get 1.2 to build. Has anyone gotten 1.2 to build since the branch was made? --jason
Re: Can anyone build 1.2?
FWIW, I have successfully built 1.2 by making sure that openejb and the plugins (car-maven-plugin) in .m2 repo are built using 1.2 jars. There was no 2.0 version of the plugins and openejb in .m2 repo. All the configs started except the webconsole (see the trace). I changed the verson for system-database as follows: version{$geronimoVersion}/version and rebuilt the config. With this the version is resolved to 1.2-SNAPSHOT and not 2.0-SNAPSHOT. The server starts fine now on 1.4 and 1.5. The console is working fine. thanks Anita --- David Jencks [EMAIL PROTECTED] wrote: On Nov 26, 2006, at 7:17 PM, Jason Dillon wrote: Any more progress on this? I discovered what I think is a blocker with how we are overloading the meaning of maven scope and using it to determine geronimo ImportType. The maven default scope is compile, but we are mapping explicitly specified compile to ImportType.CLASSES whereas unspecified scope goes to ImportType.ALL. For me, if I build in the configs dir, maven is filling in the default scope for me, so all the car dependencies that are supposed to be parents (ALL) are coming out CLASSES. If I build in the subdir for the config, it works OK. I'm trying to map provided to CLASSES and compile (specified explicitly or blank) to ALL but at the moment it looks like dependency resolution of provided is not transitive ?!?! I'm having some trouble figuring out why this is. If you want to take a look I can open a jira issue and attach a patch of where I am so far. thanks david jencks --jason On 11/23/06, David Jencks [EMAIL PROTECTED] wrote: On Nov 22, 2006, at 9:28 AM, David Jencks wrote: I think the answer is not if you've built 2.0 I traced through uddi-jetty and even after your transitive-deps fix for explicit_versions.properties I'm still seeing a lot of 2.0 artifacts loaded into the g. kernel. I think a solution might be to make the car plugin run off a repository view or virtual repository that only lets it see the transitive closure of the dependencies mentioned in the car file. I'll see if I can get this to work... I've implemented this locally and now I can build a 1.2-SNAPSHOT server that doesn't pull in 2.0-SNAPSHOT stuff. I also stopped sharing the kernel between invocations of the car-maven-plugin. Unfortunately I run out of permGen space building configs. I'll see if I can reintroduce sharing the kernel and commit this. thanks david jencks thanks david jencks On Nov 21, 2006, at 4:40 PM, Jason Dillon wrote: I keep running into car problems, like: snip [INFO] Packaging module configuration: /Users/jason/ws/geronimo/ server-1.2/configs/system-database/target/plan/plan.xml [INFO] - --- [ERROR] BUILD ERROR [INFO] - --- [INFO] load of org.apache.geronimo.configs/j2ee-deployer/1.2- SNAPSHOT/car failed Configuration gbean failed to start org.apache.geronimo.configs/ j2ee-deployer/1.2-SNAPSHOT/car /snip How useful is that error message... um... not very useful at all. After building openejb2 by hand, trunk appears to build fine... but I can't get 1.2 to build. Has anyone gotten 1.2 to build since the branch was made? --jason Cheap talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. http://voice.yahoo.com g.log Description: 578687916-g.log
Re: Can anyone build 1.2?
On Nov 27, 2006, at 1:19 AM, David Jencks wrote: Any more progress on this? I discovered what I think is a blocker with how we are overloading the meaning of maven scope and using it to determine geronimo ImportType. Ya... I always thought this was a problem. The only way to fix this is to provide a separate dependency-like configuration for cars to allow extra information to be adorned. Unfortunately dependency properties were removed from m2 by design... so any extra information that is needed must be added to a plugin's configuration element with context of the dependency (groupId/ artifactId) which ends up duplicating a bunch of configuration :-( Short of convincing the mvn team to bring properties back (or something similar)... is to update the car plugin to use an explicit list of dependency-like elements which can contain more configuration specific to building car files. The maven default scope is compile, but we are mapping explicitly specified compile to ImportType.CLASSES whereas unspecified scope goes to ImportType.ALL. For me, if I build in the configs dir, maven is filling in the default scope for me, so all the car dependencies that are supposed to be parents (ALL) are coming out CLASSES. If I build in the subdir for the config, it works OK. I'm trying to map provided to CLASSES and compile (specified explicitly or blank) to ALL but at the moment it looks like dependency resolution of provided is not transitive ?!?! I'm having some trouble figuring out why this is. I would imagine provided is not transitive... the artifact should already exist in the target system, and thus so should its dependencies. But I don't fully understand how mvn's transitive deps work on specific scopes. If you want to take a look I can open a jira issue and attach a patch of where I am so far. I'm gonna be busy all week wrapping up build automation muck, but if you want to create a patch for review I can take a peek... though my gut tells me to fix this, we need to implement something in the car plugin to specify the import-type directly and not overload mvn's scope. --jason
Re: Re: Can anyone build 1.2?
Any more progress on this? --jason On 11/23/06, David Jencks [EMAIL PROTECTED] wrote: On Nov 22, 2006, at 9:28 AM, David Jencks wrote: I think the answer is not if you've built 2.0 I traced through uddi-jetty and even after your transitive-deps fix for explicit_versions.properties I'm still seeing a lot of 2.0 artifacts loaded into the g. kernel. I think a solution might be to make the car plugin run off a repository view or virtual repository that only lets it see the transitive closure of the dependencies mentioned in the car file. I'll see if I can get this to work... I've implemented this locally and now I can build a 1.2-SNAPSHOT server that doesn't pull in 2.0-SNAPSHOT stuff. I also stopped sharing the kernel between invocations of the car-maven-plugin. Unfortunately I run out of permGen space building configs. I'll see if I can reintroduce sharing the kernel and commit this. thanks david jencks thanks david jencks On Nov 21, 2006, at 4:40 PM, Jason Dillon wrote: I keep running into car problems, like: snip [INFO] Packaging module configuration: /Users/jason/ws/geronimo/ server-1.2/configs/system-database/target/plan/plan.xml [INFO] - --- [ERROR] BUILD ERROR [INFO] - --- [INFO] load of org.apache.geronimo.configs/j2ee-deployer/1.2- SNAPSHOT/car failed Configuration gbean failed to start org.apache.geronimo.configs/ j2ee-deployer/1.2-SNAPSHOT/car /snip How useful is that error message... um... not very useful at all. After building openejb2 by hand, trunk appears to build fine... but I can't get 1.2 to build. Has anyone gotten 1.2 to build since the branch was made? --jason
Re: Can anyone build 1.2?
On Nov 22, 2006, at 9:28 AM, David Jencks wrote: I think the answer is not if you've built 2.0 I traced through uddi-jetty and even after your transitive-deps fix for explicit_versions.properties I'm still seeing a lot of 2.0 artifacts loaded into the g. kernel. I think a solution might be to make the car plugin run off a repository view or virtual repository that only lets it see the transitive closure of the dependencies mentioned in the car file. I'll see if I can get this to work... I've implemented this locally and now I can build a 1.2-SNAPSHOT server that doesn't pull in 2.0-SNAPSHOT stuff. I also stopped sharing the kernel between invocations of the car-maven-plugin. Unfortunately I run out of permGen space building configs. I'll see if I can reintroduce sharing the kernel and commit this. thanks david jencks thanks david jencks On Nov 21, 2006, at 4:40 PM, Jason Dillon wrote: I keep running into car problems, like: snip [INFO] Packaging module configuration: /Users/jason/ws/geronimo/ server-1.2/configs/system-database/target/plan/plan.xml [INFO] - --- [ERROR] BUILD ERROR [INFO] - --- [INFO] load of org.apache.geronimo.configs/j2ee-deployer/1.2- SNAPSHOT/car failed Configuration gbean failed to start org.apache.geronimo.configs/ j2ee-deployer/1.2-SNAPSHOT/car /snip How useful is that error message... um... not very useful at all. After building openejb2 by hand, trunk appears to build fine... but I can't get 1.2 to build. Has anyone gotten 1.2 to build since the branch was made? --jason
Re: Can anyone build 1.2?
Cool. What route did you take for the virtual bits? --jason On Nov 23, 2006, at 3:53 PM, David Jencks wrote: On Nov 22, 2006, at 9:28 AM, David Jencks wrote: I think the answer is not if you've built 2.0 I traced through uddi-jetty and even after your transitive-deps fix for explicit_versions.properties I'm still seeing a lot of 2.0 artifacts loaded into the g. kernel. I think a solution might be to make the car plugin run off a repository view or virtual repository that only lets it see the transitive closure of the dependencies mentioned in the car file. I'll see if I can get this to work... I've implemented this locally and now I can build a 1.2-SNAPSHOT server that doesn't pull in 2.0-SNAPSHOT stuff. I also stopped sharing the kernel between invocations of the car-maven-plugin. Unfortunately I run out of permGen space building configs. I'll see if I can reintroduce sharing the kernel and commit this. thanks david jencks thanks david jencks On Nov 21, 2006, at 4:40 PM, Jason Dillon wrote: I keep running into car problems, like: snip [INFO] Packaging module configuration: /Users/jason/ws/geronimo/ server-1.2/configs/system-database/target/plan/plan.xml [INFO] [ERROR] BUILD ERROR [INFO] [INFO] load of org.apache.geronimo.configs/j2ee-deployer/1.2- SNAPSHOT/car failed Configuration gbean failed to start org.apache.geronimo.configs/ j2ee-deployer/1.2-SNAPSHOT/car /snip How useful is that error message... um... not very useful at all. After building openejb2 by hand, trunk appears to build fine... but I can't get 1.2 to build. Has anyone gotten 1.2 to build since the branch was made? --jason
Re: Can anyone build 1.2?
I think the answer is not if you've built 2.0 I traced through uddi-jetty and even after your transitive-deps fix for explicit_versions.properties I'm still seeing a lot of 2.0 artifacts loaded into the g. kernel. I think a solution might be to make the car plugin run off a repository view or virtual repository that only lets it see the transitive closure of the dependencies mentioned in the car file. I'll see if I can get this to work... thanks david jencks On Nov 21, 2006, at 4:40 PM, Jason Dillon wrote: I keep running into car problems, like: snip [INFO] Packaging module configuration: /Users/jason/ws/geronimo/ server-1.2/configs/system-database/target/plan/plan.xml [INFO] -- -- [ERROR] BUILD ERROR [INFO] -- -- [INFO] load of org.apache.geronimo.configs/j2ee-deployer/1.2- SNAPSHOT/car failed Configuration gbean failed to start org.apache.geronimo.configs/ j2ee-deployer/1.2-SNAPSHOT/car /snip How useful is that error message... um... not very useful at all. After building openejb2 by hand, trunk appears to build fine... but I can't get 1.2 to build. Has anyone gotten 1.2 to build since the branch was made? --jason
Can anyone build 1.2?
I keep running into car problems, like: snip [INFO] Packaging module configuration: /Users/jason/ws/geronimo/ server-1.2/configs/system-database/target/plan/plan.xml [INFO] [ERROR] BUILD ERROR [INFO] [INFO] load of org.apache.geronimo.configs/j2ee-deployer/1.2-SNAPSHOT/ car failed Configuration gbean failed to start org.apache.geronimo.configs/j2ee- deployer/1.2-SNAPSHOT/car /snip How useful is that error message... um... not very useful at all. After building openejb2 by hand, trunk appears to build fine... but I can't get 1.2 to build. Has anyone gotten 1.2 to build since the branch was made? --jason
Re: Can anyone build 1.2?
I could build branches\1.2 successfully (though not in a single attempt). I have not encountered the build error you have hit. --vamsi On 11/22/06, Jason Dillon [EMAIL PROTECTED] wrote: I keep running into car problems, like: snip [INFO] Packaging module configuration: /Users/jason/ws/geronimo/ server-1.2/configs/system-database/target/plan/plan.xml [INFO] [ERROR] BUILD ERROR [INFO] [INFO] load of org.apache.geronimo.configs/j2ee-deployer/1.2-SNAPSHOT/ car failed Configuration gbean failed to start org.apache.geronimo.configs/j2ee- deployer/1.2-SNAPSHOT/car /snip How useful is that error message... um... not very useful at all. After building openejb2 by hand, trunk appears to build fine... but I can't get 1.2 to build. Has anyone gotten 1.2 to build since the branch was made? --jason
Re: Can anyone build 1.2?
Have you built trunk before? Maybe 1.2 and trunk are not happy together sharing the same m2 repo cache? I dunno... this is a mystery to me... seems to be related to car muck... as the normal jar app modules are all fine. --jason On Nov 21, 2006, at 9:15 PM, Vamsavardhana Reddy wrote: I could build branches\1.2 successfully (though not in a single attempt). I have not encountered the build error you have hit. --vamsi On 11/22/06, Jason Dillon [EMAIL PROTECTED] wrote: I keep running into car problems, like: snip [INFO] Packaging module configuration: /Users/jason/ws/geronimo/ server-1.2/configs/system-database/target/plan/plan.xml [INFO] -- -- [ERROR] BUILD ERROR [INFO] -- -- [INFO] load of org.apache.geronimo.configs/j2ee-deployer/1.2-SNAPSHOT/ car failed Configuration gbean failed to start org.apache.geronimo.configs/j2ee- deployer/1.2-SNAPSHOT/car /snip How useful is that error message... um... not very useful at all. After building openejb2 by hand, trunk appears to build fine... but I can't get 1.2 to build. Has anyone gotten 1.2 to build since the branch was made? --jason
Re: Can anyone build 1.2?
I have built trunk (once again not it a single attempt). First I used used -Dstage=bootstrap. Afterwards build failed due to some plugin stuff which I built separately after removing some dirs from M2 repo. I am using the same M2 repo for trunk and 1.2 builds. --vamsi On 11/22/06, Jason Dillon [EMAIL PROTECTED] wrote: Have you built trunk before? Maybe 1.2 and trunk are not happy together sharing the same m2 repo cache? I dunno... this is a mystery to me... seems to be related to car muck... as the normal jar app modules are all fine. --jason On Nov 21, 2006, at 9:15 PM, Vamsavardhana Reddy wrote: I could build branches\1.2 successfully (though not in a single attempt). I have not encountered the build error you have hit. --vamsi On 11/22/06, Jason Dillon [EMAIL PROTECTED] wrote: I keep running into car problems, like: snip [INFO] Packaging module configuration: /Users/jason/ws/geronimo/ server-1.2/configs/system-database/target/plan/plan.xml [INFO] [ERROR] BUILD ERROR [INFO] [INFO] load of org.apache.geronimo.configs/j2ee-deployer/1.2-SNAPSHOT/ car failed Configuration gbean failed to start org.apache.geronimo.configs/j2ee- deployer/1.2-SNAPSHOT/car /snip How useful is that error message... um... not very useful at all. After building openejb2 by hand, trunk appears to build fine... but I can't get 1.2 to build. Has anyone gotten 1.2 to build since the branch was made? --jason