Open GoogleCodeExporter opened 8 years ago
I'll take a look at this.
Original comment by matts...@google.com
on 19 Feb 2013 at 6:52
[deleted comment]
Use maven-antrun-plugin like this will do the necessary job to solve this issue
:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<!-- Use 'package' instead of 'install' if you want the Driver to be available for 'integration-test' -->
<phase>package</phase>
<configuration>
<target>
<!-- delete existing mysql jar from appengine sdk lib/impl -->
<delete>
<fileset
dir="${settings.localRepository}/com/google/appengine/appengine-java-sdk/${appengine.target.version}/appengine-java-sdk/appengine-java-sdk-${appengine.target.version}/lib/impl"
includes="**/mysql-connector-java*" />
</delete>
<!-- copy mysql jar into appengine sdk lib/impl -->
<copy
file="${settings.localRepository}/mysql/mysql-connector-java/${mysql.version}/mysql-connector-java-${mysql.version}.jar"
todir="${settings.localRepository}/com/google/appengine/appengine-java-sdk/${appengine.target.version}/appengine-java-sdk/appengine-java-sdk-${appengine.target.version}/lib/impl"/>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
Original comment by antoine....@gmail.com
on 11 Mar 2013 at 2:46
Antoine's suggestion modifies your m2 repository, which can cause other issues.
If you follow it, and you encounter other issues, please first remove the
appengine artifacts from your local maven repository before filing a bug.
Original comment by matts...@google.com
on 19 Mar 2013 at 8:50
wow this is an old bug;
http://stackoverflow.com/questions/8952696/java-google-app-engine-and-google-clo
ud-sql-running-on-local-dev-server
Any news from Google on this?
Original comment by roland.b...@arcus-business.com
on 26 Mar 2013 at 11:26
Original issue reported on code.google.com by
smdavid...@gmail.com
on 5 Feb 2013 at 1:39