maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Lundberg (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MSOURCES-46) Manifest generation doesn;t work
Date Wed, 03 Jun 2009 17:54:42 GMT

     [ http://jira.codehaus.org/browse/MSOURCES-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dennis Lundberg updated MSOURCES-46:
------------------------------------

    Description: 
On source:jat manifest.mf contain only that
   Manifest-Version: 1.0
   Archiver-Version: Plexus Archiver
  Created-By: 11.3-b02 (Sun Microsystems Inc.)

My plugin is configured to get full information and put it in jar. The same configuration
works weel for javadoc-plugin, jar-plugin, ejb-plugin.

{code:xml}
<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <configuration>
          <encoding>UTF-8</encoding>
          <charset>UTF-8</charset>
          <quiet>true</quiet>
              <archive>
                <manifest>
                  <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                  <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
                </manifest>
                <manifestEntries>
                  <Build-Computer-Name>${env.COMPUTERNAME}</Build-Computer-Name>
                  <Build-User>${env.COMPUTERNAME}</Build-User>
                  <Build-Compile-Source>${compile.source}</Build-Compile-Source>
                  <Build-Compile-Target>${compile.target}</Build-Compile-Target>
                  <Build-Java-Class-Version>${java.class.version}</Build-Java-Class-Version>
                  <Build-Os>${os.name}/${os.version}/${os.arch}</Build-Os>
                  <Description>${project.description}</Description>
                </manifestEntries>
                <manifestFile>${basedir}\.revision</manifestFile>
              </archive>
        </configuration>
        <executions>
          <execution>
            <id>attach-sourcedocs</id>
            <phase>verify</phase>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
{code}


  was:
On source:jat manifest.mf contain only that
   Manifest-Version: 1.0
   Archiver-Version: Plexus Archiver
  Created-By: 11.3-b02 (Sun Microsystems Inc.)

My plugin is configured to get full information and put it in jar. The same configuration
works weel for javadoc-plugin, jar-plugin, ejb-plugin.


<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <configuration>
          <encoding>UTF-8</encoding>
          <charset>UTF-8</charset>
          <quiet>true</quiet>
              <archive>
                <manifest>
                  <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                  <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
                </manifest>
                <manifestEntries>
                  <Build-Computer-Name>${env.COMPUTERNAME}</Build-Computer-Name>
                  <Build-User>${env.COMPUTERNAME}</Build-User>
                  <Build-Compile-Source>${compile.source}</Build-Compile-Source>
                  <Build-Compile-Target>${compile.target}</Build-Compile-Target>
                  <Build-Java-Class-Version>${java.class.version}</Build-Java-Class-Version>
                  <Build-Os>${os.name}/${os.version}/${os.arch}</Build-Os>
                  <Description>${project.description}</Description>
                </manifestEntries>
                <manifestFile>${basedir}\.revision</manifestFile>
              </archive>
        </configuration>
        <executions>
          <execution>
            <id>attach-sourcedocs</id>
            <phase>verify</phase>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>



> Manifest generation doesn;t work
> --------------------------------
>
>                 Key: MSOURCES-46
>                 URL: http://jira.codehaus.org/browse/MSOURCES-46
>             Project: Maven 2.x Source Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: Maven 2.1, cuurent plugin
>            Reporter: Krashan Brahmanjara
>
> On source:jat manifest.mf contain only that
>    Manifest-Version: 1.0
>    Archiver-Version: Plexus Archiver
>   Created-By: 11.3-b02 (Sun Microsystems Inc.)
> My plugin is configured to get full information and put it in jar. The same configuration
works weel for javadoc-plugin, jar-plugin, ejb-plugin.
> {code:xml}
> <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-source-plugin</artifactId>
>         <configuration>
>           <encoding>UTF-8</encoding>
>           <charset>UTF-8</charset>
>           <quiet>true</quiet>
>               <archive>
>                 <manifest>
>                   <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
>                   <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
>                 </manifest>
>                 <manifestEntries>
>                   <Build-Computer-Name>${env.COMPUTERNAME}</Build-Computer-Name>
>                   <Build-User>${env.COMPUTERNAME}</Build-User>
>                   <Build-Compile-Source>${compile.source}</Build-Compile-Source>
>                   <Build-Compile-Target>${compile.target}</Build-Compile-Target>
>                   <Build-Java-Class-Version>${java.class.version}</Build-Java-Class-Version>
>                   <Build-Os>${os.name}/${os.version}/${os.arch}</Build-Os>
>                   <Description>${project.description}</Description>
>                 </manifestEntries>
>                 <manifestFile>${basedir}\.revision</manifestFile>
>               </archive>
>         </configuration>
>         <executions>
>           <execution>
>             <id>attach-sourcedocs</id>
>             <phase>verify</phase>
>             <goals>
>               <goal>jar</goal>
>             </goals>
>           </execution>
>         </executions>
>       </plugin>
> {code}

-- 
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

        

Mime
View raw message