maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Lamy (JIRA)" <j...@codehaus.org>
Subject [jira] (MSOURCES-59) Bas génération of jar if filter ressources actvated
Date Mon, 08 Oct 2012 13:38:36 GMT

    [ https://jira.codehaus.org/browse/MSOURCES-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=310760#comment-310760
] 

Olivier Lamy edited comment on MSOURCES-59 at 10/8/12 8:37 AM:
---------------------------------------------------------------

I don't really understand you use case.
What are the sources the non filtered or the filtered ??
You can probably do something like:
{code}
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <version>1.7</version>
        <executions>
          <execution>
            <id>add-source</id>
            <phase>generate-sources</phase>
            <goals>
              <goal>add-source</goal>
            </goals>
            <configuration>
              <sources>
                <source>${project.build.directory}/filtered-sources</source>
              </sources>
            </configuration>
          </execution>
        </executions>
      </plugin>
{code}
                
      was (Author: olamy):
    I don't really understand you use case.
What are the sources the non filtered or the filtered ??

                  
> Bas génération of jar if filter ressources actvated
> ---------------------------------------------------
>
>                 Key: MSOURCES-59
>                 URL: https://jira.codehaus.org/browse/MSOURCES-59
>             Project: Maven 2.x Source Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1.2
>            Reporter: Lefebvre JF
>            Priority: Critical
>         Attachments: testCase-MSOURCES-59.PNG, testCase-MSOURCES-59.zip
>
>
> If filter ressources is activated the jar content is ni bad format (jar and test-jar):
> JarFile
> {noformat}
> |-..   <- due to filter ressource 
> |-com
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message