François Xavier Gendrin a écrit :

Matthew Tordoff a écrit :
> Hi Francois,
>
> To retrieve any files you first of all need to install them into the Maven repository in some way, and to install them into the Maven repository so they are accessible by other modules which can then retrieve them. The basic steps are: Package/Assemble, Install/Deploy, Retrieve.
>
> - To assemble files into packages use the Maven Assembly Plugin (potentially creating a zip file of all the files you wish to distribute). > - To install the files use either the Maven install or deploy plugins (depending on where you want to copy the files to install for your local repository and deploy for your remote/proxy repository) > - To retrieve the packages use the Maven dependency plugin (and potentially the unpack goal).
>
> See how you get along with this and if you have more questions then please ask. > Hi,

My maven version is 2.0.7 and I use assembly file
<assembly>
  <id>src</id>
  <formats>
    <format>dir</format>
  </formats>
  <includeBaseDirectory>false</includeBaseDirectory>
  <moduleSets>
    <moduleSet>
      <includes>
        <include>com.ses_esl:commun</include>
      </includes>
      <sources>
        <fileSets>
          <fileSet>
            <outputDirectory>src</outputDirectory>
            <includes>
              <include>src/**</include>
</includes> </fileSet>
        </fileSets>
</sources> </moduleSet>
  </moduleSets>
</assembly>


I have following warning (and so it failed)

[INFO] [assembly:attached {execution: make-assembly}]
[INFO] Reading assembly descriptor: /home/continuum/working-directory/111/descriptor.xml [WARNING] The following patterns were never triggered in this artifact inclusion filter:
o  'com.ses_esl:commun'

It seems that this bug is only fixed in 2.2-beta-2 <http://jira.codehaus.org/browse/MASSEMBLY/fixforversion/13507> cf http://jira.codehaus.org/browse/MASSEMBLY-157
I have to use something else :(

Best regards,
--
François Xavier Gendrin
IT Engineer
[EMAIL PROTECTED]
__________________________________
STORE ELECTRONIC SYSTEMS
1-7 rue Henri de France
95870 Bezons - France
Tél. : + 33 1 34 34 61 61
Fax  : + 33 1 34 34 61 62
www.store-electronic-systems.com
www.ses-esl.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to