You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mick Knutson <mi...@gmail.com> on 2007/08/07 22:36:20 UTC

[m2] Trying to wildcard build helper

I want to add *.jar as a file artifact like:

                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>build-helper-maven-plugin</artifactId>
                    <executions>
                         <execution>
                               <id>attach-artifacts</id>
                            <phase>package</phase>
                            <goals>
                              <goal>attach-artifact</goal>
                            </goals>
                            <configuration>
                                <artifacts>
                                  <artifact>
                                   <file>${basedir}/target/bpel_*.jar</file>
                                    <type>jar</type>
                                    <classifier></classifier>
                                  </artifact>
                                </artifacts>
                            </configuration>
                        </execution>

                    </executions>
                </plugin>


But it keeps saying there that bpel_*.jar does not exist. How can I wild
card this value?

-- 

Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---

Re: [m2] Trying to wildcard build helper

Posted by Hervé BOUTEMY <he...@free.fr>.
I suppose you'll have to file a feature request on Mojo's JIRA.
Or vote for http://jira.codehaus.org/browse/MOJO-652, which could be a 
solution in your case?

Le mardi 7 août 2007, Mick Knutson a écrit :
> I want to add *.jar as a file artifact like:
>
>                 <plugin>
>                     <groupId>org.codehaus.mojo</groupId>
>                     <artifactId>build-helper-maven-plugin</artifactId>
>                     <executions>
>                          <execution>
>                                <id>attach-artifacts</id>
>                             <phase>package</phase>
>                             <goals>
>                               <goal>attach-artifact</goal>
>                             </goals>
>                             <configuration>
>                                 <artifacts>
>                                   <artifact>
>                                   
> <file>${basedir}/target/bpel_*.jar</file> <type>jar</type>
>                                     <classifier></classifier>
>                                   </artifact>
>                                 </artifacts>
>                             </configuration>
>                         </execution>
>
>                     </executions>
>                 </plugin>
>
>
> But it keeps saying there that bpel_*.jar does not exist. How can I wild
> card this value?



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org