Skip to content
/ GcalMD Public

Get event from main google calendar and summery by Application / Module

Notifications You must be signed in to change notification settings

nancom/GcalMD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

-= Pre installation =-

1. Download Google API from "http://code.google.com/p/gdata-java-client/downloads/detail?name=gdata-samples.java-1.47.1.zip" and extract to your desire directory
2. Add Google API to your repository
   ref : http://www.meyermillersmith.com/en//MMS-Software/Adding-Google-API-to-Maven-Repository?smm=y&language=en_EN

   cd /path/to/compiled/google/lib/
   mvn install:install-file -Dfile=gdata-core-1.0.jar -DgroupId=google -DartifactId=gdata-core -Dversion=1.0 -Dpackaging=jar -DgeneratePom=true
   mvn install:install-file -Dfile=gdata-client-meta-1.0.jar -DgroupId=google -DartifactId=gdata-client-meta -Dversion=1.0 -Dpackaging=jar -DgeneratePom=true
   mvn install:install-file -Dfile=gdata-client-1.0.jar -DgroupId=google -DartifactId=gdata-client -Dversion=1.0 -Dpackaging=jar -DgeneratePom=true
   mvn install:install-file -Dfile=gdata-calendar-meta-2.0.jar -DgroupId=google -DartifactId=gdata-calendar-meta -Dversion=2.0 -Dpackaging=jar -DgeneratePom=true
   mvn install:install-file -Dfile=gdata-calendar-2.0.jar -DgroupId=google -DartifactId=gdata-calendar -Dversion=2.0 -Dpackaging=jar -DgeneratePom=true
   cd ../deps
   mvn install:install-file -Dfile=jsr305.jar -DgroupId=javax.annotation -DartifactId=jsr305 -Dversion=1.0 -Dpackaging=jar -DgeneratePom=true

   add dependency to pom.xml (already add in this project)
  
  <dependency>
   <groupId>google</groupId>
   <artifactId>gdata-core</artifactId>
   <version>1.0</version>
   <type>jar</type>
   <scope>compile</scope>
  </dependency>
  <dependency>
   <groupId>google</groupId>
   <artifactId>gdata-calendar</artifactId>
   <version>2.0</version>
   <type>jar</type>
   <scope>compile</scope>
  </dependency>
  <dependency>
   <groupId>google</groupId>
   <artifactId>gdata-client</artifactId>
   <version>1.0</version>
   <type>jar</type>
   <scope>compile</scope>
  </dependency>
  <dependency>
   <groupId>google</groupId>
   <artifactId>gdata-client-meta</artifactId>
   <version>1.0</version>
   <type>jar</type>
   <scope>compile</scope>
  </dependency>
  <dependency>
   <groupId>google</groupId>
   <artifactId>gdata-calendar-meta</artifactId>
   <version>2.0</version>
   <type>jar</type>
   <scope>compile</scope>
  </dependency>
  <dependency>
   <groupId>javax.annotation</groupId>
   <artifactId>jsr305</artifactId>
   <version>1.0</version>
   <type>jar</type>
   <scope>compile</scope>
  </dependency>
  <dependency>
	<groupId>com.google.guava</groupId>
        <artifactId>guava</artifactId>
                <version>r05</version>
        </dependency>
  <dependency>
        <groupId>com.google.collections</groupId>
        <artifactId>google-collections</artifactId>
                <version>1.0</version>
        </dependency>
  <dependency>
3. Add surefire-plugins 
<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.9</version>
        <configuration>
   		<includes>
                <include>**/*Test.java</include>
                </includes>
          <systemProperties>
            <property>
              <name>username</name>
              <value>${username}</value>
            </property>
        	<property>
              <name>password</name>
              <value>${password}</value>
            </property>
		</systemProperties>
        </configuration>
      </plugin>
4. run command : mvn clean compile test -Dusername="username without @gmail.com" -Dpassword="password"
-= Installation Guild =-

About

Get event from main google calendar and summery by Application / Module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages