Skip to content

Commit

Permalink
update synth
Browse files Browse the repository at this point in the history
move flatten to pluginManagement
  • Loading branch information
stephaniewang526 committed Mar 24, 2020
1 parent e093143 commit 53341b4
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 1,510 deletions.
1,194 changes: 0 additions & 1,194 deletions google-cloud-bigquerystorage/.flattened-pom.xml

This file was deleted.

4 changes: 4 additions & 0 deletions google-cloud-bigquerystorage/pom.xml
Expand Up @@ -25,6 +25,10 @@
</extension>
</extensions>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.google.protobuf.tools</groupId>
<artifactId>maven-protoc-plugin</artifactId>
Expand Down
64 changes: 32 additions & 32 deletions pom.xml
Expand Up @@ -235,42 +235,42 @@
<ignoredUnusedDeclaredDependencies>org.objenesis:objenesis</ignoredUnusedDeclaredDependencies>
</configuration>
</plugin>

<!-- flatten maven plugin -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.2.2-SNAPSHOT</version>
<executions>
<!-- enable flattening -->
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<!-- ensure proper cleanup -->
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
<configuration>
<flattenMode>oss</flattenMode>
<flattenDependencyMode>all</flattenDependencyMode>
<pomElements>
<build>remove</build>
</pomElements>
</configuration>
</plugin>
</plugins>
</pluginManagement>

<plugins>
<!-- flatten maven plugin -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.2.2-SNAPSHOT</version>
<executions>
<!-- enable flattening -->
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<!-- ensure proper cleanup -->
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
<configuration>
<flattenMode>oss</flattenMode>
<flattenDependencyMode>all</flattenDependencyMode>
<pomElements>
<build>remove</build>
</pomElements>
</configuration>
</plugin>

<!-- ban duplicate class -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
84 changes: 0 additions & 84 deletions samples/install-without-bom/pom.xml

This file was deleted.

56 changes: 0 additions & 56 deletions samples/pom.xml

This file was deleted.

83 changes: 0 additions & 83 deletions samples/snapshot/pom.xml

This file was deleted.

60 changes: 0 additions & 60 deletions samples/snippets/pom.xml

This file was deleted.

4 changes: 3 additions & 1 deletion synth.py
Expand Up @@ -34,4 +34,6 @@
destination_name='bigquerystorage',
)

java.common_templates()
java.common_templates(excludes=[
'samples/*'
])

0 comments on commit 53341b4

Please sign in to comment.