Review Board 1.7.22


SQOOP-803 Sqoop2: Add gpg profile to pom file so that we can easily deploy artifacts to mvn repository

Review Request #8768 - Created Dec. 26, 2012 and submitted

Jarek Cecho
SQOOP-803
Reviewers
Sqoop
sqoop-sqoop2
I've added profile "sign" that will introduce signing artifacts.
Tested when releasing 1.99.1.

Diff revision 1 (Latest)

  1. pom.xml: Loading...
pom.xml
Revision 2e66f7f7497024c5bc8e25de9daa855f59b3dcc3 New Change
[20] 181 lines
[+20]
182
          </dependency>
182
          </dependency>
183

    
   
183

   
184
        </dependencies>
184
        </dependencies>
185
      </dependencyManagement>
185
      </dependencyManagement>
186
    </profile>
186
    </profile>

    
   
187

   

    
   
188
    <!-- Sign profile for releasing artifacts to Nexus repository -->

    
   
189
    <profile>

    
   
190
      <id>sign</id>

    
   
191
      <build>

    
   
192
        <plugins>

    
   
193
          <plugin>

    
   
194
            <groupId>org.apache.maven.plugins</groupId>

    
   
195
            <artifactId>maven-gpg-plugin</artifactId>

    
   
196
            <executions>

    
   
197
              <execution>

    
   
198
                <phase>verify</phase>

    
   
199
                <goals>

    
   
200
                  <goal>sign</goal>

    
   
201
                </goals>

    
   
202
              </execution>

    
   
203
            </executions>

    
   
204
          </plugin>

    
   
205
        </plugins>

    
   
206
      </build>

    
   
207
    </profile>

    
   
208

   
187
  </profiles>
209
  </profiles>
188

    
   
210

   
189
  <dependencyManagement>
211
  <dependencyManagement>
190
    <dependencies>
212
    <dependencies>
191
      <dependency>
213
      <dependency>
[+20] [20] 353 lines
  1. pom.xml: Loading...