Skip to content

Commit

Permalink
Update poms to match current bazel structure
Browse files Browse the repository at this point in the history
  • Loading branch information
niloc132 committed Aug 13, 2021
1 parent 33787f1 commit 27554e0
Show file tree
Hide file tree
Showing 51 changed files with 333 additions and 205 deletions.
2 changes: 1 addition & 1 deletion maven/ast-annotations-internal/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>${revision}</version>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>ast-annotations-internal</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/ast-annotations/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>${revision}</version>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>ast-annotations</artifactId>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/ast-processors-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>${revision}</version>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>ast-processors-common</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/ast-processors/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.5-SNAPSHOT</version>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>ast-processors</artifactId>
<packaging>pom</packaging>
Expand Down
19 changes: 9 additions & 10 deletions maven/ast/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>${revision}</version>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>ast</artifactId>
<packaging>pom</packaging>
Expand All @@ -28,11 +28,11 @@
<configuration>
<artifacts>
<artifact>
<file>../../bazel-bin/transpiler/java/com/google/j2cl/ast/libast.jar</file>
<file>../../bazel-bin/transpiler/java/com/google/j2cl/transpiler/ast/libast.jar</file>
<type>jar</type>
</artifact>
<artifact>
<file>../../bazel-bin/transpiler/java/com/google/j2cl/ast/libast-src.jar</file>
<file>../../bazel-bin/transpiler/java/com/google/j2cl/transpiler/ast/libast-src.jar</file>
<type>jar</type>
<classifier>sources</classifier>
</artifact>
Expand All @@ -44,6 +44,10 @@
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
</dependency>
<dependency>
<groupId>com.google.auto.value</groupId>
<artifactId>auto-value</artifactId>
Expand All @@ -59,17 +63,12 @@

<dependency>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>ast-annotations</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>ast-processors-common</artifactId>
<artifactId>common</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>common</artifactId>
<artifactId>common-visitor</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion maven/backend-closure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.8-SNAPSHOT</version>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>backend-closure</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/backend-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.8-SNAPSHOT</version>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>backend-common</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/backend-kotlin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.8-SNAPSHOT</version>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>backend-kotlin</artifactId>
<packaging>pom</packaging>
Expand Down
6 changes: 3 additions & 3 deletions maven/backend-libraryinfo-proto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.2-SNAPSHOT</version>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>libraryinfo-proto</artifactId>
<packaging>pom</packaging>
Expand All @@ -28,11 +28,11 @@
<configuration>
<artifacts>
<artifact>
<file>../../bazel-bin/transpiler/java/com/google/j2cl/libraryinfo/liblibrary_info_proto-speed.jar</file>
<file>../../bazel-bin/transpiler/java/com/google/j2cl/transpiler/backend/libraryinfo/liblibrary_info_proto-speed.jar</file>
<type>jar</type>
</artifact>
<!--<artifact>-->
<!--<file>../../bazel-bin/transpiler/java/com/google/j2cl/libraryinfo/liblibraryinfo-src.jar</file>-->
<!--<file>../../bazel-bin/transpiler/java/com/google/j2cl/transpiler/backend/libraryinfo/liblibraryinfo-src.jar</file>-->
<!--<type>jar</type>-->
<!--<classifier>sources</classifier>-->
<!--</artifact>-->
Expand Down
6 changes: 3 additions & 3 deletions maven/backend-libraryinfo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.8-SNAPSHOT</version>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>backend-libraryinfo</artifactId>
<packaging>pom</packaging>
Expand Down Expand Up @@ -65,12 +65,12 @@
</dependency>
<dependency>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>ast</artifactId>
<artifactId>common</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>common</artifactId>
<artifactId>ast</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion maven/backend-wasm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.8-SNAPSHOT</version>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>backend-wasm</artifactId>
<packaging>pom</packaging>
Expand Down
11 changes: 10 additions & 1 deletion maven/backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.8-SNAPSHOT</version>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>backend</artifactId>
<packaging>pom</packaging>
Expand Down Expand Up @@ -48,6 +48,10 @@
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</dependency>

<dependency>
<groupId>com.vertispan.j2cl</groupId>
Expand All @@ -64,6 +68,11 @@
<artifactId>backend-closure</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>backend-kotlin</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>backend-wasm</artifactId>
Expand Down
1 change: 1 addition & 0 deletions maven/bootstrap/assembly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<!-- <directory>../../bazel-j2cl/external/com_google_javascript_closure_library/closure</directory>-->
<directory>../../../closure-library/closure/goog/</directory>
<includes>
<!--
Expand Down
2 changes: 1 addition & 1 deletion maven/bootstrap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>${revision}</version>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>bootstrap</artifactId>
<packaging>pom</packaging>
Expand Down
49 changes: 49 additions & 0 deletions maven/common-visitor/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>common-visitor</artifactId>
<packaging>pom</packaging>

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>../../bazel-bin/transpiler/java/com/google/j2cl/common/visitor/libvisitor-internal.jar</file>
<type>jar</type>
</artifact>
<artifact>
<file>../../bazel-bin/transpiler/java/com/google/j2cl/common/visitor/libvisitor-internal-src.jar</file>
<type>jar</type>
<classifier>sources</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>

</dependencies>
</project>
6 changes: 1 addition & 5 deletions maven/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>${revision}</version>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>common</artifactId>
<packaging>pom</packaging>
Expand Down Expand Up @@ -44,10 +44,6 @@
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
</dependency>
<dependency>
<groupId>args4j</groupId>
<artifactId>args4j</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.vertispan.j2cl.external</groupId>
<artifactId>org.eclipse</artifactId>
<version>${revision}</version>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.core.contenttype</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/external/org.eclipse/org.eclipse.core.jobs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.vertispan.j2cl.external</groupId>
<artifactId>org.eclipse</artifactId>
<version>${revision}</version>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.core.jobs</artifactId>
<packaging>pom</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.vertispan.j2cl.external</groupId>
<artifactId>org.eclipse</artifactId>
<version>${revision}</version>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.core.resources</artifactId>
<packaging>pom</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.vertispan.j2cl.external</groupId>
<artifactId>org.eclipse</artifactId>
<version>${revision}</version>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.core.runtime</artifactId>
<packaging>pom</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.vertispan.j2cl.external</groupId>
<artifactId>org.eclipse</artifactId>
<version>${revision}</version>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.equinox.common</artifactId>
<packaging>pom</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.vertispan.j2cl.external</groupId>
<artifactId>org.eclipse</artifactId>
<version>${revision}</version>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.equinox.preferences</artifactId>
<packaging>pom</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.vertispan.j2cl.external</groupId>
<artifactId>org.eclipse</artifactId>
<version>${revision}</version>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.jdt.compiler.apt</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/external/org.eclipse/org.eclipse.jdt.core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.vertispan.j2cl.external</groupId>
<artifactId>org.eclipse</artifactId>
<version>${revision}</version>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.jdt.core</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/external/org.eclipse/org.eclipse.osgi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.vertispan.j2cl.external</groupId>
<artifactId>org.eclipse</artifactId>
<version>${revision}</version>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.osgi</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/external/org.eclipse/org.eclipse.text/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.vertispan.j2cl.external</groupId>
<artifactId>org.eclipse</artifactId>
<version>${revision}</version>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.text</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/external/org.eclipse/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl.external</groupId>
<artifactId>external-dependencies</artifactId>
<version>${revision}</version>
<version>0.10-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse</artifactId>
<packaging>pom</packaging>
Expand Down
Loading

0 comments on commit 27554e0

Please sign in to comment.