Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
spark
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cs525-sp18-g07
spark
Commits
c5902940
"...sp21-cs242-assignment3.git" did not exist on "dbea22c951967c52ff4a770e6873843c5050856a"
Commit
c5902940
authored
11 years ago
by
Raymond Liu
Browse files
Options
Downloads
Patches
Plain Diff
move duplicate pom config into parent pom
parent
ebdfa6bb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
yarn/alpha/pom.xml
+1
-81
1 addition, 81 deletions
yarn/alpha/pom.xml
yarn/pom.xml
+82
-17
82 additions, 17 deletions
yarn/pom.xml
yarn/stable/pom.xml
+1
-81
1 addition, 81 deletions
yarn/stable/pom.xml
with
84 additions
and
179 deletions
yarn/alpha/pom.xml
+
1
−
81
View file @
c5902940
...
...
@@ -19,7 +19,7 @@
<modelVersion>
4.0.0
</modelVersion>
<parent>
<groupId>
org.apache.spark
</groupId>
<artifactId>
spark-yarn-aggregator
_2.10
</artifactId>
<artifactId>
yarn-parent
_2.10
</artifactId>
<version>
0.9.0-incubating-SNAPSHOT
</version>
<relativePath>
../pom.xml
</relativePath>
</parent>
...
...
@@ -28,85 +28,5 @@
<artifactId>
spark-yarn-alpha_2.10
</artifactId>
<packaging>
jar
</packaging>
<name>
Spark Project YARN Alpha API
</name>
<url>
http://spark.incubator.apache.org/
</url>
<build>
<plugins>
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
build-helper-maven-plugin
</artifactId>
<executions>
<execution>
<id>
add-scala-sources
</id>
<phase>
generate-sources
</phase>
<goals>
<goal>
add-source
</goal>
</goals>
<configuration>
<sources>
<source>
src/main/scala
</source>
<source>
../common/src/main/scala
</source>
</sources>
</configuration>
</execution>
<execution>
<id>
add-scala-test-sources
</id>
<phase>
generate-test-sources
</phase>
<goals>
<goal>
add-test-source
</goal>
</goals>
<configuration>
<sources>
<source>
src/test/scala
</source>
<source>
../common/src/test/scala
</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-antrun-plugin
</artifactId>
<executions>
<execution>
<phase>
test
</phase>
<goals>
<goal>
run
</goal>
</goals>
<configuration>
<exportAntProperties>
true
</exportAntProperties>
<tasks>
<property
name=
"spark.classpath"
refid=
"maven.test.classpath"
/>
<property
environment=
"env"
/>
<fail
message=
"Please set the SCALA_HOME (or SCALA_LIBRARY_PATH if scala is on the path) environment variables and retry."
>
<condition>
<not>
<or>
<isset
property=
"env.SCALA_HOME"
/>
<isset
property=
"env.SCALA_LIBRARY_PATH"
/>
</or>
</not>
</condition>
</fail>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.scalatest
</groupId>
<artifactId>
scalatest-maven-plugin
</artifactId>
<configuration>
<environmentVariables>
<SPARK_HOME>
${basedir}/../..
</SPARK_HOME>
<SPARK_TESTING>
1
</SPARK_TESTING>
<SPARK_CLASSPATH>
${spark.classpath}
</SPARK_CLASSPATH>
</environmentVariables>
</configuration>
</plugin>
</plugins>
<outputDirectory>
target/scala-${scala.binary.version}/classes
</outputDirectory>
<testOutputDirectory>
target/scala-${scala.binary.version}/test-classes
</testOutputDirectory>
</build>
</project>
This diff is collapsed.
Click to expand it.
yarn/pom.xml
+
82
−
17
View file @
c5902940
...
...
@@ -25,25 +25,10 @@
</parent>
<groupId>
org.apache.spark
</groupId>
<artifactId>
spark-yarn-aggregator
_2.10
</artifactId>
<artifactId>
yarn-parent
_2.10
</artifactId>
<packaging>
pom
</packaging>
<name>
Spark Project YARN Aggregator
</name>
<url>
http://spark.incubator.apache.org/
</url>
<name>
Spark Project YARN Parent POM
</name>
<repositories>
<repository>
<id>
maven-root
</id>
<name>
Maven root repository
</name>
<url>
http://repo1.maven.org/maven2
</url>
<releases>
<enabled>
true
</enabled>
</releases>
<snapshots>
<enabled>
false
</enabled>
</snapshots>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>
org.apache.spark
</groupId>
...
...
@@ -103,4 +88,84 @@
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
build-helper-maven-plugin
</artifactId>
<executions>
<execution>
<id>
add-scala-sources
</id>
<phase>
generate-sources
</phase>
<goals>
<goal>
add-source
</goal>
</goals>
<configuration>
<sources>
<source>
src/main/scala
</source>
<source>
../common/src/main/scala
</source>
</sources>
</configuration>
</execution>
<execution>
<id>
add-scala-test-sources
</id>
<phase>
generate-test-sources
</phase>
<goals>
<goal>
add-test-source
</goal>
</goals>
<configuration>
<sources>
<source>
src/test/scala
</source>
<source>
../common/src/test/scala
</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-antrun-plugin
</artifactId>
<executions>
<execution>
<phase>
test
</phase>
<goals>
<goal>
run
</goal>
</goals>
<configuration>
<exportAntProperties>
true
</exportAntProperties>
<tasks>
<property
name=
"spark.classpath"
refid=
"maven.test.classpath"
/>
<property
environment=
"env"
/>
<fail
message=
"Please set the SCALA_HOME (or SCALA_LIBRARY_PATH if scala is on the path) environment variables and retry."
>
<condition>
<not>
<or>
<isset
property=
"env.SCALA_HOME"
/>
<isset
property=
"env.SCALA_LIBRARY_PATH"
/>
</or>
</not>
</condition>
</fail>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.scalatest
</groupId>
<artifactId>
scalatest-maven-plugin
</artifactId>
<configuration>
<environmentVariables>
<SPARK_HOME>
${basedir}/../..
</SPARK_HOME>
<SPARK_TESTING>
1
</SPARK_TESTING>
<SPARK_CLASSPATH>
${spark.classpath}
</SPARK_CLASSPATH>
</environmentVariables>
</configuration>
</plugin>
</plugins>
<outputDirectory>
target/scala-${scala.binary.version}/classes
</outputDirectory>
<testOutputDirectory>
target/scala-${scala.binary.version}/test-classes
</testOutputDirectory>
</build>
</project>
This diff is collapsed.
Click to expand it.
yarn/stable/pom.xml
+
1
−
81
View file @
c5902940
...
...
@@ -19,7 +19,7 @@
<modelVersion>
4.0.0
</modelVersion>
<parent>
<groupId>
org.apache.spark
</groupId>
<artifactId>
spark-yarn-aggregator
_2.10
</artifactId>
<artifactId>
yarn-parent
_2.10
</artifactId>
<version>
0.9.0-incubating-SNAPSHOT
</version>
<relativePath>
../pom.xml
</relativePath>
</parent>
...
...
@@ -28,85 +28,5 @@
<artifactId>
spark-yarn_2.10
</artifactId>
<packaging>
jar
</packaging>
<name>
Spark Project YARN Stable API
</name>
<url>
http://spark.incubator.apache.org/
</url>
<build>
<plugins>
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
build-helper-maven-plugin
</artifactId>
<executions>
<execution>
<id>
add-scala-sources
</id>
<phase>
generate-sources
</phase>
<goals>
<goal>
add-source
</goal>
</goals>
<configuration>
<sources>
<source>
src/main/scala
</source>
<source>
../common/src/main/scala
</source>
</sources>
</configuration>
</execution>
<execution>
<id>
add-scala-test-sources
</id>
<phase>
generate-test-sources
</phase>
<goals>
<goal>
add-test-source
</goal>
</goals>
<configuration>
<sources>
<source>
src/test/scala
</source>
<source>
../common/src/test/scala
</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-antrun-plugin
</artifactId>
<executions>
<execution>
<phase>
test
</phase>
<goals>
<goal>
run
</goal>
</goals>
<configuration>
<exportAntProperties>
true
</exportAntProperties>
<tasks>
<property
name=
"spark.classpath"
refid=
"maven.test.classpath"
/>
<property
environment=
"env"
/>
<fail
message=
"Please set the SCALA_HOME (or SCALA_LIBRARY_PATH if scala is on the path) environment variables and retry."
>
<condition>
<not>
<or>
<isset
property=
"env.SCALA_HOME"
/>
<isset
property=
"env.SCALA_LIBRARY_PATH"
/>
</or>
</not>
</condition>
</fail>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.scalatest
</groupId>
<artifactId>
scalatest-maven-plugin
</artifactId>
<configuration>
<environmentVariables>
<SPARK_HOME>
${basedir}/../..
</SPARK_HOME>
<SPARK_TESTING>
1
</SPARK_TESTING>
<SPARK_CLASSPATH>
${spark.classpath}
</SPARK_CLASSPATH>
</environmentVariables>
</configuration>
</plugin>
</plugins>
<outputDirectory>
target/scala-${scala.binary.version}/classes
</outputDirectory>
<testOutputDirectory>
target/scala-${scala.binary.version}/test-classes
</testOutputDirectory>
</build>
</project>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment