[ 
https://issues.apache.org/jira/browse/MSOURCES-46?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17959414#comment-17959414
 ] 

Matthias Bünger commented on MSOURCES-46:
-----------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-source-plugin#135|https://github.com/apache/maven-source-plugin/issues/135].
 

> Manifest generation doesn;t work
> --------------------------------
>
>                 Key: MSOURCES-46
>                 URL: https://issues.apache.org/jira/browse/MSOURCES-46
>             Project: Maven Source Plugin (Moved to GitHub Issues)
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: Maven 2.1, cuurent plugin
>            Reporter: Krashan Brahmanjara
>            Assignee: Dennis Lundberg
>            Priority: Major
>
> 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 was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to