CHJani / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

Follow Maven convention for putting source files in "src/main/java" #344

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Filed internally by yanivi:

I can't think of anything negatively impacted by this, but currently we are 
generating the source files like this:

com/google/api/services/buzz/Buzz.java

which implies the root source directory is ".".

However, the standard convention is to put source under src/main/java.

Note also that the <sourceDirectory> in the pom.xml should match what we are 
using.  Currently it is:

   <sourceDirectory>com/google/api/services/{{ api.name }}</sourceDirectory>

Which is actually incorrect since it should be 
<sourceDirectory>.</sourceDirectory>.  If instead we change it to the Maven 
default of "src/main/java", then we can remove sourceDirectory completely.

Original issue reported on code.google.com by rmis...@google.com on 4 Nov 2011 at 3:43

GoogleCodeExporter commented 9 years ago

Original comment by rmis...@google.com on 4 Nov 2011 at 3:43

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 7 Nov 2011 at 5:37