You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Dan Tran (JIRA)" <ji...@codehaus.org> on 2006/01/03 08:13:12 UTC

[jira] Created: (MRELEASE-66) Source and Javadoc bundles should be optional

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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MRELEASE-66) Source and Javadoc bundles should be optional

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRELEASE-66?page=comments#action_57393 ] 

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

How about fixup super pom to activate the profile only when -DperformRelease=true.
Currently it is activated with any value.

Then the user can pass in -DperformRealease=false to overwrite  it.

But first we need to switch the -Dgoals processing in PerformReleaseMojo allow this to happen.

I think we can do this in maven 2.0.3

Comments?



> 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
>      Fix For: 2.0-beta-5

>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MRELEASE-66) Source and Javadoc bundles should be optional

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRELEASE-66?page=comments#action_58042 ] 

Brett Porter commented on MRELEASE-66:
--------------------------------------

+1 to change the super POM. Please file it under MNG for 2.0.3.

anything else to do in this issue?

> 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
>      Fix For: 2.0-beta-5

>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MRELEASE-66) Source and Javadoc bundles should be optional

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRELEASE-66?page=comments#action_54815 ] 

Brett Porter commented on MRELEASE-66:
--------------------------------------

It's still used. possibly not required by 2.1, but then to be able to deploy to a repo and serve 2.0 clients it'll still be needed.

> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MRELEASE-66) Source and Javadoc bundles should be optional

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRELEASE-66?page=comments#action_54784 ] 

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

According to Jason, updateReleaseInfo is not used any more

<dantran> folk, what is the purpose of deploy:deploy's updateReleaseInfo flag field ( default is false )
<jvanzyl> changes the metadata in the repository, or did
<jvanzyl> it's not used anymore as far as i know


So in introducing enablePerformReleaseProfile is safe?

WDYT?

> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MRELEASE-66) Source and Javadoc bundles should be optional

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRELEASE-66?page=all ]

Jason van Zyl updated MRELEASE-66:
----------------------------------

    Fix Version: 2.0-beta-5

> 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
>      Fix For: 2.0-beta-5

>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MRELEASE-66) Source and Javadoc bundles should be optional

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MRELEASE-66) Source and Javadoc bundles should be optional

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRELEASE-66?page=comments#action_57401 ] 

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

I checked in the fix for http://jira.codehaus.org/browse/MRELEASE-59 to allow user to override
with -Darguments="-DperformRelease=false".



> 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
>      Fix For: 2.0-beta-5

>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org