maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff MAURY <jeffma...@jeffmaury.com>
Subject Re: hi, is these any properties like ${project.module} in maven's system properties?
Date Mon, 03 Dec 2012 08:59:08 GMT
project.artifactId ?

Jeff



On Sun, Dec 2, 2012 at 4:21 PM, a <seiyamiro@163.com> wrote:

>
> I assembly a multi-module project, in the assembly, I write like the
> follow,
> is there any property  word like  ${project.module}  to replace "module1"?
> or can i user .properties file to set project.module1=module1?
>
> <moduleSets>
>     <moduleSet>
>           <useAllReactorProjects>true</useAllReactorProjects>
>           <includes>
>               <include>${project.groupId}:module1</include>
>           </includes>
>           <binaries>
>             <outputDirectory>module1</outputDirectory>
>             <unpack>false</unpack>
>             <includeDependencies>true</includeDependencies>
>             <dependencySets>
>                 <dependencySet>
>                     <outputDirectory>module1/lib</outputDirectory>
>                     <scope>runtime</scope>
>                 </dependencySet>
>             </dependencySets>
>           </binaries>
>         </moduleSet>
>
> thanks
>
>
>
> a




-- 
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually
working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message