[jira] [Commented] (MNG-5881) Resource not put into jar
[ https://issues.apache.org/jira/browse/MNG-5881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15148441#comment-15148441 ] Christian Schulte commented on MNG-5881: Do you notice the {{maven-bundle-plugin}} is creating the {{jar}} file you are missing a file in? Just look at the log output I provided. You need to ask on either the Maven users mailing list or at some Felix mailing list. You are reporting an issue against Maven core telling us Maven is misbehaving and needs to be fixed. That's incorrect. > Resource not put into jar > - > > Key: MNG-5881 > URL: https://issues.apache.org/jira/browse/MNG-5881 > Project: Maven > Issue Type: Bug > Components: core >Affects Versions: 3.2.3 > Environment: windows 7 >Reporter: Douglas Jackson > Attachments: maven-test.zip > > > I have a resource that I am copying to the target/classes directory using the > maven-dependency-plugin > version 2.10. The is specified as: > {noformat} ${project.build.outputDirectory}/OSGI-INF/blueprint{noformat} > I am doing so in the "validate" phase. > After doing a "clean install", the file is in the > {{/target/classes/OSGI-INF/blueprint}} directory alongside > 2 other files that were in the {{src/main/resources/OSGI-INF/blueprint}} > directory. > However, the file does not appear in the output jar file. From posts on the > web it appears that all files in the classes directory should be copied into > the jar. > I tried using the dependency copy plugin to copy it first to another folder > and then using the maven resources plugin to copy it to the > $\{project.build.outputDirectory}/OSGI-INF/blueprint directory. > That did not work either. > I am using maven version 3.2.3. > It is an .xml file just like the other files from the {{src/main/resources}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MNG-5881) Resource not put into jar
[ https://issues.apache.org/jira/browse/MNG-5881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15147699#comment-15147699 ] Douglas Jackson commented on MNG-5881: -- Hi! It is a problem with the maven plugin. It's just sad that you don't care enough to figure out why the maven plugin when interacting with the underlying software fails to produce the desired result. -Doug > Resource not put into jar > - > > Key: MNG-5881 > URL: https://issues.apache.org/jira/browse/MNG-5881 > Project: Maven > Issue Type: Bug > Components: core >Affects Versions: 3.2.3 > Environment: windows 7 >Reporter: Douglas Jackson > Attachments: maven-test.zip > > > I have a resource that I am copying to the target/classes directory using the > maven-dependency-plugin > version 2.10. The is specified as: > {noformat} ${project.build.outputDirectory}/OSGI-INF/blueprint{noformat} > I am doing so in the "validate" phase. > After doing a "clean install", the file is in the > {{/target/classes/OSGI-INF/blueprint}} directory alongside > 2 other files that were in the {{src/main/resources/OSGI-INF/blueprint}} > directory. > However, the file does not appear in the output jar file. From posts on the > web it appears that all files in the classes directory should be copied into > the jar. > I tried using the dependency copy plugin to copy it first to another folder > and then using the maven resources plugin to copy it to the > $\{project.build.outputDirectory}/OSGI-INF/blueprint directory. > That did not work either. > I am using maven version 3.2.3. > It is an .xml file just like the other files from the {{src/main/resources}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MNG-5881) Resource not put into jar
[ https://issues.apache.org/jira/browse/MNG-5881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14727053#comment-14727053 ] Michael Osipov commented on MNG-5881: - Provide a sample config or project. > Resource not put into jar > - > > Key: MNG-5881 > URL: https://issues.apache.org/jira/browse/MNG-5881 > Project: Maven > Issue Type: Bug > Components: core >Affects Versions: 3.2.3 > Environment: windows 7 >Reporter: Douglas Jackson > > I have a resource that I am copying to the target/classes directory using the > maven-dependency-plugin > version 2.10. The is specified as: > ${project.build.outputDirectory}/OSGI-INF/blueprint > I am doing so in the "validate" phase. > After doing a "clean install", the file is in the > /target/classes/OSGI-INF/blueprint directory alongside > 2 other files that were in the src/main/resources/OSGI-INF/blueprint > directory. > However, the file does not appear in the output jar file. From posts on the > web it appears that all files in the classes directory should be copied into > the jar. > I tried using the dependency copy plugin to copy it first to another folder > and then using the maven resources plugin to copy it to the > ${project.build.outputDirectory}/OSGI-INF/blueprint directory. > That did not work either. > I am using maven version 3.2.3. > It is an .xml file just like the other files from the src/main/resources. -- This message was sent by Atlassian JIRA (v6.3.4#6332)