Unable to build ODK Aggregate locally

Hi All,
I'm new to ODK Aggregate and I was trying to build a local instance from
the source. I'm somewhat familiar with Maven and POMs but
I'm encountering an error that makes no sense.
When I try and run an mvn install (or clean for that matter) on the main
POM with the following configuration (for MySQL)
aggregate-src

odk-mysql-settings
odk-mysql-it-settings
odk-mysql-unit-settings

aggregate-mysql
mysql-unit-tests

odk-tables-api

I receive the following error;

[ERROR] Failed to execute goal on project aggregate-mysql: Could not
resolve dependencies for project org.opendatakit:aggregate-mysql:war:1.0:
The following artifacts could not be resolved:
org.opendatakit:aggregate-src:jar:latest,
org.opendatakit:odk-mysql-it-settings:jar:latest,
com.google.gdata:gdata-core-1.0:jar:1.46.0,
com.google.gdata:gdata-client-1.0:jar:1.46.0,
com.google.gdata:gdata-client-meta-1.0:jar:1.46.0,
com.google.gdata:gdata-docs-3.0:jar:1.46.0,
com.google.gdata:gdata-docs-meta-3.0:jar:1.46.0,
com.google.gdata:gdata-maps-2.0:jar:1.46.0,
com.google.gdata:gdata-maps-meta-2.0:jar:1.46.0,
com.google.gdata:gdata-media-1.0:jar:1.46.0,
com.google.gdata:gdata-spreadsheet-3.0:jar:1.46.0,
com.google.gdata:gdata-spreadsheet-meta-3.0:jar:1.46.0,
com.google.gwt.google-apis:gwt-maps:jar:1.1.1-rc1,
com.google.gwt.google-apis:gwt-visualization:jar:1.1.1,
org.javarosa:javarosa-libraries:jar:latest,
org.opendatakit:odk-httpclient-gae:jar:1.0,
org.opendatakit:odk-tomcatutil:jar:1.0,
org.openid4java:openid4java-nodeps:jar:0.9.6.662.odk-SNAPSHOT,
org.springframework.security:spring-security-config:jar:3.1.0.odk-SNAPSHOT,
org.springframework.security:spring-security-core:jar:3.1.0.odk-SNAPSHOT,
org.springframework.security:spring-security-crypto:jar:3.1.0.odk-SNAPSHOT,
org.springframework.security:spring-security-openid:jar:3.1.0.odk-SNAPSHOT,
org.springframework.security:spring-security-web:jar:3.1.0.odk-SNAPSHOT:

Could not find artifact org.opendatakit:aggregate-src:jar:latest in central
(http://repo1.maven.org/maven2) -> [Help 1]

I have checked my local repository and all the files are there. I am
running Maven from within eclipse using the m2e plugin in Eclipse Helios.
Any input would be greatly appreciated.

Ok, After some work I was able to resolve it. A lot of the Artifacts had a
suffix in the form [artifactId].lastUpdated. The removal of the
'lastUpdated' suffix gets rid of this issue.

··· On Sunday, December 16, 2012 6:03:47 PM UTC+3, Kenneth Njendu wrote: > > Hi All, > I'm new to ODK Aggregate and I was trying to build a local instance from > the source. I'm somewhat familiar with Maven and POMs but > I'm encountering an error that makes no sense. > When I try and run an mvn install (or clean for that matter) on the main > POM with the following configuration (for MySQL) > aggregate-src > > > > odk-mysql-settings > odk-mysql-it-settings > odk-mysql-unit-settings > > > > > aggregate-mysql > mysql-unit-tests > > > > > > > > odk-tables-api > > > I receive the following error; > > [ERROR] Failed to execute goal on project aggregate-mysql: Could not > resolve dependencies for project org.opendatakit:aggregate-mysql:war:1.0: > The following artifacts could not be resolved: > org.opendatakit:aggregate-src:jar:latest, > org.opendatakit:odk-mysql-it-settings:jar:latest, > com.google.gdata:gdata-core-1.0:jar:1.46.0, > com.google.gdata:gdata-client-1.0:jar:1.46.0, > com.google.gdata:gdata-client-meta-1.0:jar:1.46.0, > com.google.gdata:gdata-docs-3.0:jar:1.46.0, > com.google.gdata:gdata-docs-meta-3.0:jar:1.46.0, > com.google.gdata:gdata-maps-2.0:jar:1.46.0, > com.google.gdata:gdata-maps-meta-2.0:jar:1.46.0, > com.google.gdata:gdata-media-1.0:jar:1.46.0, > com.google.gdata:gdata-spreadsheet-3.0:jar:1.46.0, > com.google.gdata:gdata-spreadsheet-meta-3.0:jar:1.46.0, > com.google.gwt.google-apis:gwt-maps:jar:1.1.1-rc1, > com.google.gwt.google-apis:gwt-visualization:jar:1.1.1, > org.javarosa:javarosa-libraries:jar:latest, > org.opendatakit:odk-httpclient-gae:jar:1.0, > org.opendatakit:odk-tomcatutil:jar:1.0, > org.openid4java:openid4java-nodeps:jar:0.9.6.662.odk-SNAPSHOT, > > org.springframework.security:spring-security-config:jar:3.1.0.odk-SNAPSHOT, > org.springframework.security:spring-security-core:jar:3.1.0.odk-SNAPSHOT, > > org.springframework.security:spring-security-crypto:jar:3.1.0.odk-SNAPSHOT, > > org.springframework.security:spring-security-openid:jar:3.1.0.odk-SNAPSHOT, > org.springframework.security:spring-security-web:jar:3.1.0.odk-SNAPSHOT: > > Could not find artifact org.opendatakit:aggregate-src:jar:latest in > central (http://repo1.maven.org/maven2) -> [Help 1] > > I have checked my local repository and all the files are there. I am > running Maven from within eclipse using the m2e plugin in Eclipse Helios. > Any input would be greatly appreciated. >

If you are new to ODK and ODK Aggregate, you should definitely first
set up Aggregate with the provided installers.

··· On Sun, Dec 16, 2012 at 8:18 AM, Kenneth Njendu wrote: > Ok, After some work I was able to resolve it. A lot of the Artifacts had a > suffix in the form [artifactId].lastUpdated. The removal of the > 'lastUpdated' suffix gets rid of this issue. > > > On Sunday, December 16, 2012 6:03:47 PM UTC+3, Kenneth Njendu wrote: >> >> Hi All, >> I'm new to ODK Aggregate and I was trying to build a local instance from >> the source. I'm somewhat familiar with Maven and POMs but I'm encountering >> an error that makes no sense. >> When I try and run an mvn install (or clean for that matter) on the main >> POM with the following configuration (for MySQL) >> aggregate-src >> >> >> >> odk-mysql-settings >> odk-mysql-it-settings >> odk-mysql-unit-settings >> >> >> >> >> aggregate-mysql >> mysql-unit-tests >> >> >> >> >> >> >> >> odk-tables-api >> >> >> I receive the following error; >> >> [ERROR] Failed to execute goal on project aggregate-mysql: Could not >> resolve dependencies for project org.opendatakit:aggregate-mysql:war:1.0: >> The following artifacts could not be resolved: >> org.opendatakit:aggregate-src:jar:latest, >> org.opendatakit:odk-mysql-it-settings:jar:latest, >> com.google.gdata:gdata-core-1.0:jar:1.46.0, >> com.google.gdata:gdata-client-1.0:jar:1.46.0, >> com.google.gdata:gdata-client-meta-1.0:jar:1.46.0, >> com.google.gdata:gdata-docs-3.0:jar:1.46.0, >> com.google.gdata:gdata-docs-meta-3.0:jar:1.46.0, >> com.google.gdata:gdata-maps-2.0:jar:1.46.0, >> com.google.gdata:gdata-maps-meta-2.0:jar:1.46.0, >> com.google.gdata:gdata-media-1.0:jar:1.46.0, >> com.google.gdata:gdata-spreadsheet-3.0:jar:1.46.0, >> com.google.gdata:gdata-spreadsheet-meta-3.0:jar:1.46.0, >> com.google.gwt.google-apis:gwt-maps:jar:1.1.1-rc1, >> com.google.gwt.google-apis:gwt-visualization:jar:1.1.1, >> org.javarosa:javarosa-libraries:jar:latest, >> org.opendatakit:odk-httpclient-gae:jar:1.0, >> org.opendatakit:odk-tomcatutil:jar:1.0, >> org.openid4java:openid4java-nodeps:jar:0.9.6.662.odk-SNAPSHOT, >> >> org.springframework.security:spring-security-config:jar:3.1.0.odk-SNAPSHOT, >> org.springframework.security:spring-security-core:jar:3.1.0.odk-SNAPSHOT, >> >> org.springframework.security:spring-security-crypto:jar:3.1.0.odk-SNAPSHOT, >> >> org.springframework.security:spring-security-openid:jar:3.1.0.odk-SNAPSHOT, >> org.springframework.security:spring-security-web:jar:3.1.0.odk-SNAPSHOT: >> >> Could not find artifact org.opendatakit:aggregate-src:jar:latest in >> central (http://repo1.maven.org/maven2) -> [Help 1] >> >> I have checked my local repository and all the files are there. I am >> running Maven from within eclipse using the m2e plugin in Eclipse Helios. >> Any input would be greatly appreciated.

You need to read the CONFIGURE.txt in the Aggregate source code directory.
That file will direct you, as part of the Maven environment setup, to the
src/main/libs/readme.txt which will explain how you should be registering
and obtaining these libraries.

Mitch

··· On Sun, Dec 16, 2012 at 5:19 PM, Gaetano Borriello < gaetano@cs.washington.edu> wrote:

If you are new to ODK and ODK Aggregate, you should definitely first
set up Aggregate with the provided installers.

On Sun, Dec 16, 2012 at 8:18 AM, Kenneth Njendu knjendu@gmail.com wrote:

Ok, After some work I was able to resolve it. A lot of the Artifacts had
a
suffix in the form [artifactId].lastUpdated. The removal of the
'lastUpdated' suffix gets rid of this issue.

On Sunday, December 16, 2012 6:03:47 PM UTC+3, Kenneth Njendu wrote:

Hi All,
I'm new to ODK Aggregate and I was trying to build a local instance from
the source. I'm somewhat familiar with Maven and POMs but I'm
encountering
an error that makes no sense.
When I try and run an mvn install (or clean for that matter) on the main
POM with the following configuration (for MySQL)
aggregate-src

odk-mysql-settings
odk-mysql-it-settings
odk-mysql-unit-settings

aggregate-mysql
mysql-unit-tests

odk-tables-api

I receive the following error;

[ERROR] Failed to execute goal on project aggregate-mysql: Could not
resolve dependencies for project
org.opendatakit:aggregate-mysql:war:1.0:
The following artifacts could not be resolved:
org.opendatakit:aggregate-src:jar:latest,
org.opendatakit:odk-mysql-it-settings:jar:latest,
com.google.gdata:gdata-core-1.0:jar:1.46.0,
com.google.gdata:gdata-client-1.0:jar:1.46.0,
com.google.gdata:gdata-client-meta-1.0:jar:1.46.0,
com.google.gdata:gdata-docs-3.0:jar:1.46.0,
com.google.gdata:gdata-docs-meta-3.0:jar:1.46.0,
com.google.gdata:gdata-maps-2.0:jar:1.46.0,
com.google.gdata:gdata-maps-meta-2.0:jar:1.46.0,
com.google.gdata:gdata-media-1.0:jar:1.46.0,
com.google.gdata:gdata-spreadsheet-3.0:jar:1.46.0,
com.google.gdata:gdata-spreadsheet-meta-3.0:jar:1.46.0,
com.google.gwt.google-apis:gwt-maps:jar:1.1.1-rc1,
com.google.gwt.google-apis:gwt-visualization:jar:1.1.1,
org.javarosa:javarosa-libraries:jar:latest,
org.opendatakit:odk-httpclient-gae:jar:1.0,
org.opendatakit:odk-tomcatutil:jar:1.0,
org.openid4java:openid4java-nodeps:jar:0.9.6.662.odk-SNAPSHOT,

org.springframework.security:spring-security-config:jar:3.1.0.odk-SNAPSHOT,

org.springframework.security:spring-security-core:jar:3.1.0.odk-SNAPSHOT,

org.springframework.security:spring-security-crypto:jar:3.1.0.odk-SNAPSHOT,

org.springframework.security:spring-security-openid:jar:3.1.0.odk-SNAPSHOT,

org.springframework.security:spring-security-web:jar:3.1.0.odk-SNAPSHOT:

Could not find artifact org.opendatakit:aggregate-src:jar:latest in
central (http://repo1.maven.org/maven2) -> [Help 1]

I have checked my local repository and all the files are there. I am
running Maven from within eclipse using the m2e plugin in Eclipse
Helios.
Any input would be greatly appreciated.

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