Development Environment in Ubuntu: maven won't compile ODK Aggregate

Hello,
I'm working towards compiling the stable release on Ubuntu (first) as part
of a project in a course I'm taking.

I have uploaded the output from my Maven build running on a UBUNTU VM, as I
am not understanding why that build fails given that I used the same steps
(or equivalent) to setup Ubuntu environment as my Win 8 environment. If
someone can give me pointers by diagnosing my problem based on the MVN
compilehttp://chriscargile.com/school/CSCI658-PWest/project/TESTING%20overview/Actual%20Build%20Instructions/ODKaggr_MVNcompile_UbuntuVM_output.htm
loghttp://chriscargile.com/school/CSCI658-PWest/project/TESTING%20overview/Actual%20Build%20Instructions/ODKaggr_MVNcompile_UbuntuVM_output.htm file,
I would greatly appreciate it.

In the meantime, to share a tip for others:
I commented out or deleted lines not starting with "mvn" in the
src/main/libs/readme.txt file and renamed that as a .sh file, which made
installing the jar files into .M2 easier for me, via executing "sh readme.sh
"

I've used that as a 'trick' in lots of projects and saves me time,
repeatedly doing builds to set up local environments.
Thank you for helping me contribute to this project!
Chris

To save time for all, the log parts I think are relevant are:

maven exits with:

Caused by: org.apache.maven.project.DependencyResolutionException: Could
not resolve dependencies for project org.opendatakit:aggregate-gae:war:1.0:
The following artifacts could not be resolved:
org.opendatakit:aggregate-src:jar:latest,
org.opendatakit:odk-gae-it-settings:jar:latest: Failure to find
org.opendatakit:aggregate-src:jar:latest inhttp://repo1.maven.org/maven2
was cached in the local repository, resolution will not be reattempted until
the update interval of central has elapsed or updates are forced

I guess I'm mostly confused as to why evidently http://repo1.maven.org/maven2
causes an error in Ubuntu but not in windows.
chris

··· On Monday, February 3, 2014 6:28:03 PM UTC-5, Chris Cargile wrote: > > Hello, > I'm working towards compiling the stable release on Ubuntu (first) as part > of a project in a course I'm taking. > > I have uploaded the output from my Maven build running on a UBUNTU VM, as > I am not understanding why that build fails given that I used the same > steps (or equivalent) to setup Ubuntu environment as my Win 8 environment. > If someone can give me pointers by diagnosing my problem based on the MVN > compile > log file, > I would greatly appreciate it. > > In the meantime, to share a tip for others: > I commented out or deleted lines not starting with "mvn" in the > src/main/libs/readme.txt file and renamed that as a .sh file, which made > installing the jar files into .M2 easier for me, via executing "sh > readme.sh" > > I've used that as a 'trick' in lots of projects and saves me time, > repeatedly doing builds to set up local environments. > Thank you for helping me contribute to this project! > Chris >

Are you using a maven 3.0 executable on your Ubuntu? (mvn --version)

··· On Mon, Feb 3, 2014 at 3:34 PM, Chris Cargile wrote:

To save time for all, the log parts I think are relevant are:

maven exits with:

Caused by: org.apache.maven.project.DependencyResolutionException: Could
not resolve dependencies for project org.opendatakit:aggregate-gae:war:1.0:
The following artifacts could not be resolved:
org.opendatakit:aggregate-src:jar:latest,
org.opendatakit:odk-gae-it-settings:jar:latest: Failure to find
org.opendatakit:aggregate-src:jar:latest inhttp://repo1.maven.org/maven2
was cached in the local repository, resolution will not be reattempted
until the update interval of central has elapsed or updates are forced

I guess I'm mostly confused as to why evidently http://repo1.maven.org/maven2
causes an error in Ubuntu but not in windows.
chris

On Monday, February 3, 2014 6:28:03 PM UTC-5, Chris Cargile wrote:

Hello,
I'm working towards compiling the stable release on Ubuntu (first) as
part of a project in a course I'm taking.

I have uploaded the output from my Maven build running on a UBUNTU VM, as
I am not understanding why that build fails given that I used the same
steps (or equivalent) to setup Ubuntu environment as my Win 8 environment.
If someone can give me pointers by diagnosing my problem based on the MVN
compilehttp://chriscargile.com/school/CSCI658-PWest/project/TESTING%20overview/Actual%20Build%20Instructions/ODKaggr_MVNcompile_UbuntuVM_output.htm
loghttp://chriscargile.com/school/CSCI658-PWest/project/TESTING%20overview/Actual%20Build%20Instructions/ODKaggr_MVNcompile_UbuntuVM_output.htm file,
I would greatly appreciate it.

In the meantime, to share a tip for others:
I commented out or deleted lines not starting with "mvn" in the
src/main/libs/readme.txt file and renamed that as a .sh file, which made
installing the jar files into .M2 easier for me, via executing "sh
readme.sh"

I've used that as a 'trick' in lots of projects and saves me time,
repeatedly doing builds to set up local environments.
Thank you for helping me contribute to this project!
Chris

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

I am trying to build using >3.0 on my ubuntu. The output from mvn -version
is:

Apache Maven 3.1.1
Maven home: /home/chris/Desktop/apache-maven-3.1.1
Java version: 1.6.0_27
Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
OS name: "linux", version: "3.11.0-12-generic", arch: "amd64", family:
"unix"

Thank you in advance for any help <,ODK community>

··· On Tuesday, February 4, 2014 7:18:46 PM UTC-5, Mitch wrote: > > Are you using a maven 3.0 executable on your Ubuntu? (mvn --version) > > > > > On Mon, Feb 3, 2014 at 3:34 PM, Chris Cargile <follyb...@gmail.com wrote: > >> To save time for all, the log parts I think are relevant are: >> >> maven exits with: >> >> Caused by: org.apache.maven.project.DependencyResolutionException: Could >> not resolve dependencies for project org.opendatakit:aggregate-gae:war: >> 1.0: The following artifacts could not be resolved: >> org.opendatakit:aggregate-src:jar:latest, >> org.opendatakit:odk-gae-it-settings:jar:latest: Failure to find >> org.opendatakit:aggregate-src:jar:latest inhttp://repo1.maven.org/maven2 >> was cached in the local repository, resolution will not be reattempted >> until the update interval of central has elapsed or updates are forced >> >> I guess I'm mostly confused as to why evidently http://repo1.maven.org/maven2 >> causes an error in Ubuntu but not in windows. >> chris >> >> On Monday, February 3, 2014 6:28:03 PM UTC-5, Chris Cargile wrote: >>> >>> Hello, >>> I'm working towards compiling the stable release on Ubuntu (first) as >>> part of a project in a course I'm taking. >>> >>> I have uploaded the output from my Maven build running on a UBUNTU VM, >>> as I am not understanding why that build fails given that I used the same >>> steps (or equivalent) to setup Ubuntu environment as my Win 8 environment. >>> If someone can give me pointers by diagnosing my problem based on the MVN >>> compile >>> log file, >>> I would greatly appreciate it. >>> >>> In the meantime, to share a tip for others: >>> I commented out or deleted lines not starting with "mvn" in the >>> src/main/libs/readme.txt file and renamed that as a .sh file, which made >>> installing the jar files into .M2 easier for me, via executing "sh >>> readme.sh" >>> >>> I've used that as a 'trick' in lots of projects and saves me time, >>> repeatedly doing builds to set up local environments. >>> Thank you for helping me contribute to this project! >>> Chris >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "ODK Developers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to opendatakit-developers+unsubscribe@googlegroups.com >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Mitch Sundt > Software Engineer > University of Washington > mitche...@gmail.com >

I responded on the other thread. -- You need to uninstall Java 6, and
install Java 7.

··· On Sat, Feb 15, 2014 at 5:15 AM, Chris Cargile wrote:

I am trying to build using >3.0 on my ubuntu. The output from mvn
-version is:

Apache Maven 3.1.1
Maven home: /home/chris/Desktop/apache-maven-3.1.1
Java version: 1.6.0_27
Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
OS name: "linux", version: "3.11.0-12-generic", arch: "amd64", family:
"unix"

Thank you in advance for any help <,ODK community>

On Tuesday, February 4, 2014 7:18:46 PM UTC-5, Mitch wrote:

Are you using a maven 3.0 executable on your Ubuntu? (mvn --version)

On Mon, Feb 3, 2014 at 3:34 PM, Chris Cargile follyb...@gmail.comwrote:

To save time for all, the log parts I think are relevant are:

maven exits with:

Caused by: org.apache.maven.project.DependencyResolutionException:
Could not resolve dependencies for project
org.opendatakit:aggregate-gae:war:1.0: The following artifacts could
not be resolved: org.opendatakit:aggregate-src:jar:latest,
org.opendatakit:odk-gae-it-settings:jar:latest: Failure to find
org.opendatakit:aggregate-src:jar:latest inhttp://repo1.maven.org/maven2
was cached in the local repository, resolution will not be reattempted
until the update interval of central has elapsed or updates are forced

I guess I'm mostly confused as to why evidently http://repo1.maven.org/maven2
causes an error in Ubuntu but not in windows.
chris

On Monday, February 3, 2014 6:28:03 PM UTC-5, Chris Cargile wrote:

Hello,
I'm working towards compiling the stable release on Ubuntu (first) as
part of a project in a course I'm taking.

I have uploaded the output from my Maven build running on a UBUNTU VM,
as I am not understanding why that build fails given that I used the same
steps (or equivalent) to setup Ubuntu environment as my Win 8 environment.
If someone can give me pointers by diagnosing my problem based on the MVN
compilehttp://chriscargile.com/school/CSCI658-PWest/project/TESTING%20overview/Actual%20Build%20Instructions/ODKaggr_MVNcompile_UbuntuVM_output.htm
loghttp://chriscargile.com/school/CSCI658-PWest/project/TESTING%20overview/Actual%20Build%20Instructions/ODKaggr_MVNcompile_UbuntuVM_output.htm file,
I would greatly appreciate it.

In the meantime, to share a tip for others:
I commented out or deleted lines not starting with "mvn" in the
src/main/libs/readme.txt file and renamed that as a .sh file, which made
installing the jar files into .M2 easier for me, via executing "sh
readme.sh"

I've used that as a 'trick' in lots of projects and saves me time,
repeatedly doing builds to set up local environments.
Thank you for helping me contribute to this project!
Chris

--
You received this message because you are subscribed to the Google
Groups "ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com