Re: Can anyone build 1.2 from the soource repository?
...OK, after tracking down some revision problems, I changed the openejb
version to 2.2-incubating and fixed the yoko version in the pom it
downloaded. Man, is maven a tangled web of lost dependencies... Anyway, I've
got it built.
Is this version of openejb a problem, it wanted the 2.3-incubating but that
didn't exist.
Thanks.
Alski
AlskiOnTheWeb wrote:
>
> Well, with maven 2.0.7 and the 1,2 sources pulled from svn, I did the
> staged build. The "-Dstage=bootstrap" built fine but the second
> "-Dstage=assemble" failed with:
>
> [INFO]
>
> [INFO] Building Geronimo Configs :: OpenEJB
> [INFO]task-segment: [install]
> [INFO]
>
> [INFO] [tools:require-java-version {execution: validate-java-version}]
> [INFO] [tools:copy-legal-files {execution: install-legal-files}]
> [INFO] Created dir:
> /srv/home/amarcinkowski/geronimo/server_1.2/configs/openejb/target/classes/META-INF
> [INFO] Copying 2 files to
> /srv/home/amarcinkowski/geronimo/server_1.2/configs/openejb/target/classes/META-INF
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [car:prepare-plan]
> [INFO] Generated:
> /srv/home/amarcinkowski/geronimo/server_1.2/configs/openejb/target/plan/plan.xml
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/openejb/openejb-core/2.3-incubating/openejb-core-2.3-incubating.pom
> Downloading:
> http://repository.codehaus.org/org/apache/openejb/openejb-core/2.3-incubating/openejb-core-2.3-incubating.pom
> Downloading:
> http://repo1.maven.org/maven2/org/apache/openejb/openejb-core/2.3-incubating/openejb-core-2.3-incubating.pom
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/openejb/openejb-axis/2.3-incubating/openejb-axis-2.3-incubating.pom
> Downloading:
> http://repository.codehaus.org/org/apache/openejb/openejb-axis/2.3-incubating/openejb-axis-2.3-incubating.pom
> Downloading:
> http://repo1.maven.org/maven2/org/apache/openejb/openejb-axis/2.3-incubating/openejb-axis-2.3-incubating.pom
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/yoko/yoko-spec-corba/1.0-incubating-M2/yoko-spec-corba-1.0-incubating-M2.pom
> 11K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/yoko/yoko/1.0-incubating-M2/yoko-1.0-incubating-M2.pom
> 26K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/openejb/openejb-core/2.3-incubating/openejb-core-2.3-incubating.jar
> Downloading:
> http://repository.codehaus.org/org/apache/openejb/openejb-core/2.3-incubating/openejb-core-2.3-incubating.jar
> Downloading:
> http://repo1.maven.org/maven2/org/apache/openejb/openejb-core/2.3-incubating/openejb-core-2.3-incubating.jar
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/yoko/yoko-spec-corba/1.0-incubating-M2/yoko-spec-corba-1.0-incubating-M2.jar
> 1787K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/openejb/openejb-axis/2.3-incubating/openejb-axis-2.3-incubating.jar
> Downloading:
> http://repository.codehaus.org/org/apache/openejb/openejb-axis/2.3-incubating/openejb-axis-2.3-incubating.jar
> Downloading:
> http://repo1.maven.org/maven2/org/apache/openejb/openejb-axis/2.3-incubating/openejb-axis-2.3-incubating.jar
> [INFO]
>
> [ERROR] BUILD ERROR
> [INFO]
>
> [INFO] Failed to resolve artifact.
>
> Missing:
> --
> 1) org.apache.openejb:openejb-core:jar:2.3-incubating
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=org.apache.openejb
> -DartifactId=openejb-core \
> -Dversion=2.3-incubating -Dpackaging=jar -Dfile=/path/to/file
> Alternatively, if you host your own repository you can deploy the file
> there: mvn deploy:deploy-file -DgroupId=org.apache.openejb
> -DartifactId=openejb-core \
> -Dversion=2.3-incubating -Dpackaging=jar -Dfile=/path/to/file \
>-Durl=[url] -DrepositoryId=[id]
>
> Path to dependency:
> 1) org.apache.geronimo.configs:openejb:car:1.2
> 2) org.apache.openejb:openejb-core:jar:2.3-incubating
>
> 2) org.apache.openejb:openejb-axis:jar:2.3-incubating
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=org.apache.openejb
> -DartifactId=openejb-axis \
> -Dversion=2.3-incubating -Dpackaging=jar -Dfile=/path/to/file
> Alternatively, if you host your own repository you can deploy the file
> there: mvn deploy:deploy-file
Re: Can anyone build 1.2 from the soource repository?
Well, with maven 2.0.7 and the 1,2 sources pulled from svn, I did the staged
build. The "-Dstage=bootstrap" built fine but the second "-Dstage=assemble"
failed with:
[INFO]
[INFO] Building Geronimo Configs :: OpenEJB
[INFO]task-segment: [install]
[INFO]
[INFO] [tools:require-java-version {execution: validate-java-version}]
[INFO] [tools:copy-legal-files {execution: install-legal-files}]
[INFO] Created dir:
/srv/home/amarcinkowski/geronimo/server_1.2/configs/openejb/target/classes/META-INF
[INFO] Copying 2 files to
/srv/home/amarcinkowski/geronimo/server_1.2/configs/openejb/target/classes/META-INF
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [car:prepare-plan]
[INFO] Generated:
/srv/home/amarcinkowski/geronimo/server_1.2/configs/openejb/target/plan/plan.xml
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/openejb/openejb-core/2.3-incubating/openejb-core-2.3-incubating.pom
Downloading:
http://repository.codehaus.org/org/apache/openejb/openejb-core/2.3-incubating/openejb-core-2.3-incubating.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/openejb/openejb-core/2.3-incubating/openejb-core-2.3-incubating.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/openejb/openejb-axis/2.3-incubating/openejb-axis-2.3-incubating.pom
Downloading:
http://repository.codehaus.org/org/apache/openejb/openejb-axis/2.3-incubating/openejb-axis-2.3-incubating.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/openejb/openejb-axis/2.3-incubating/openejb-axis-2.3-incubating.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/yoko/yoko-spec-corba/1.0-incubating-M2/yoko-spec-corba-1.0-incubating-M2.pom
11K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/yoko/yoko/1.0-incubating-M2/yoko-1.0-incubating-M2.pom
26K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/openejb/openejb-core/2.3-incubating/openejb-core-2.3-incubating.jar
Downloading:
http://repository.codehaus.org/org/apache/openejb/openejb-core/2.3-incubating/openejb-core-2.3-incubating.jar
Downloading:
http://repo1.maven.org/maven2/org/apache/openejb/openejb-core/2.3-incubating/openejb-core-2.3-incubating.jar
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/yoko/yoko-spec-corba/1.0-incubating-M2/yoko-spec-corba-1.0-incubating-M2.jar
1787K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/openejb/openejb-axis/2.3-incubating/openejb-axis-2.3-incubating.jar
Downloading:
http://repository.codehaus.org/org/apache/openejb/openejb-axis/2.3-incubating/openejb-axis-2.3-incubating.jar
Downloading:
http://repo1.maven.org/maven2/org/apache/openejb/openejb-axis/2.3-incubating/openejb-axis-2.3-incubating.jar
[INFO]
[ERROR] BUILD ERROR
[INFO]
[INFO] Failed to resolve artifact.
Missing:
--
1) org.apache.openejb:openejb-core:jar:2.3-incubating
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.openejb
-DartifactId=openejb-core \
-Dversion=2.3-incubating -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there: mvn deploy:deploy-file -DgroupId=org.apache.openejb
-DartifactId=openejb-core \
-Dversion=2.3-incubating -Dpackaging=jar -Dfile=/path/to/file \
-Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.geronimo.configs:openejb:car:1.2
2) org.apache.openejb:openejb-core:jar:2.3-incubating
2) org.apache.openejb:openejb-axis:jar:2.3-incubating
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.openejb
-DartifactId=openejb-axis \
-Dversion=2.3-incubating -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there: mvn deploy:deploy-file -DgroupId=org.apache.openejb
-DartifactId=openejb-axis \
-Dversion=2.3-incubating -Dpackaging=jar -Dfile=/path/to/file \
-Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.geronimo.configs:openejb:car:1.2
2) org.apache.openejb:openejb-axis:jar:2.3-incubating
--
2 required artifacts are missing.
for artifact:
org.apache.geronimo.configs:openejb:car:1.2
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
apache.snapshots
Re: Can anyone build 1.2 from the soource repository?
On Jan 22, 2008, at 12:28 PM, AlskiOnTheWeb wrote: ..Well, unless I'm mistaken, the geronimo deployment descriptors (such as geronimo-application.xml) have changed.. Since we host a number of customer applications, we've spec'd the descriptors from 1.x. That's really the biggest reason but we're also to trying to limit any regression testing we need to do. Will 2.x deploy 1.x applications properly? There are one or two incompatibilities that I know about: 1. run-as and default subjects need quite different security configuration. This has to be upgraded by hand. 2. (I'm less sure of this one) EjB 2.1 CMP entity beans need quite different configuration and are pretty slow in geronimo 2.x. Basically CMP support is provided so your app will work while you migrate to JPA. I'm not 100% sure but I think you have to replace the mapping descriptors for tranql used in geronimo 1.x with a jpa orm file. We might do the translation automatically however. Other than that I'd expect applications that deploy on 1.x to deploy on 2.x thanks david jencks Thanks. Alski djencks wrote: 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]
Re: Can anyone build 1.2 from the soource repository?
..Well, unless I'm mistaken, the geronimo deployment descriptors (such as geronimo-application.xml) have changed.. Since we host a number of customer applications, we've spec'd the descriptors from 1.x. That's really the biggest reason but we're also to trying to limit any regression testing we need to do. Will 2.x deploy 1.x applications properly? Thanks. Alski djencks wrote: > > 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
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:
Re: Can anyone build 1.2 from the soource repository?
...OK. I've downgraded maven to 2.0.7 and am trying the staged build of 1.2 to see where I get to. Is geronimo 1.2 the first version to support Java 1.5? As a side note, what in the wild wild world of sports made you guys choose maven? I would think that build repeatability would be a key to stable projects. Is there a way to get the repository into a snapshot such that downloaded source tars would include the repository? I don't mind the size as long as the thing would be able to build. Jay D. McHugh-2 wrote: > > 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]
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-
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
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:
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.
