[ http://jira.codehaus.org/browse/MRELEASE-66?page=comments#action_54729 ] 

Dan Tran commented on MRELEASE-66:
----------------------------------

cl.createArgument().setLine( "-DperformRelease=true" );

triggers super pom performRelease Profile which will generate those bundle

http://maven.apache.org/guides/introduction/introduction-to-the-pom.html


So the best way is to introduce a new field in release:perform

  boolean enablePerformReleaseProfile=true

But doing this also disables this

          <plugin>
            <inherited>true</inherited>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-deploy-plugin</artifactId>

            <configuration>
              <updateReleaseInfo>true</updateReleaseInfo>
            </configuration>
          </plugin>

in super pom ;(

i am stucked ;(




> Source and Javadoc bundles should be optional
> ---------------------------------------------
>
>          Key: MRELEASE-66
>          URL: http://jira.codehaus.org/browse/MRELEASE-66
>      Project: Maven 2.x Release Plugin
>         Type: Bug

>  Environment: xp
>     Reporter: Dan Tran

>
>
> The current release plugin generates: primary artifact, source, and javadoc.  
> Source and Javadoc should be optional
> since my daily release build does not need them.  
> The source does not seem to give indication how to disable those bundles.  am 
> I missing any thing?
> The closest I can see is 
>   cl.createArgument().setLine( "-DperformRelease=true" );
> Please advice.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to