Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/2318#discussion_r17232343
  
    --- Diff: bagel/pom.xml ---
    @@ -60,6 +60,53 @@
         
<testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
         <plugins>
           <plugin>
    +        <groupId>org.apache.maven.plugins</groupId>
    +        <artifactId>maven-install-plugin</artifactId>
    +        <version>2.5.2</version>
    +        <executions>
    +          <execution>
    +            <id>1</id>
    +            <goals>
    +              <goal>install-file</goal>
    +            </goals>
    +            <phase>install</phase>
    +            <configuration>
    +              
<file>${project.build.directory}/${project.build.finalName}.jar</file>
    +              
<artifactId>${project.artifactId}_${scala.binary.version}</artifactId>
    +            </configuration>
    +          </execution>
    +          <execution>
    +            <id>2</id>
    +            <goals>
    +              <goal>install-file</goal>
    +            </goals>
    +            <phase>install</phase>
    +            <configuration>
    +              <generatePom>false</generatePom>
    +              <pomFile>pom.xml</pomFile>
    +              
<file>${project.build.directory}/${project.build.finalName}-sources.jar</file>
    +              
<artifactId>${project.artifactId}_${scala.binary.version}</artifactId>
    +              <classifier>sources</classifier>
    +            </configuration>
    +          </execution>
    +          <execution>
    +            <id>3</id>
    +            <goals>
    +              <goal>install-file</goal>
    +            </goals>
    +            <phase>install</phase>
    +            <configuration>
    +              <generatePom>false</generatePom>
    +              <pomFile>pom.xml</pomFile>
    --- End diff --
    
    In fact it looks like all of this config can be common in the parent since 
it looks like it's written generically in terms of properties?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to