You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by mi...@apache.org on 2003/05/01 19:57:00 UTC

cvs commit: maven-new/core/src/conf layout.properties

michal      2003/05/01 10:57:00

  Modified:    core/src/conf layout.properties
  Log:
  changed property: ${artiftact.id} to ${artifact.artifactId}
  
  Revision  Changes    Path
  1.3       +25 -10    maven-new/core/src/conf/layout.properties
  
  Index: layout.properties
  ===================================================================
  RCS file: /home/cvs/maven-new/core/src/conf/layout.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- layout.properties	30 Apr 2003 09:03:56 -0000	1.2
  +++ layout.properties	1 May 2003 17:57:00 -0000	1.3
  @@ -1,24 +1,39 @@
   # For denoting artifact layout in repository 4 variables are
   # accesible:
  -# ${version}  --- (maps to)-> artifact.version
  -# ${id}       --------------> artifact.id == dependecy.artfactId
  -# ${groupId}  --------------> artifact.groupId == dependecy.groupId
  -# ${type}     --------------> artifact.type == dependecy.type
  +# ${version}    --- (maps to)-> artifact.version
  +# ${artifactId} --------------> artifact.artifactId == dependecy.artfactId
  +# ${groupId}    --------------> artifact.groupId == dependecy.groupId
  +# ${type}       --------------> artifact.type == dependecy.type
   #
   
   # DEFAULT 
   # This property is not used - just serves as
  -# example how to denote layout
  -default={id}/${groupId}/${type}s/${id}-${version}.${type}
  +# example how to denote layout.
  +default=${artifactId}/${groupId}/${type}s/${artifactId}-${version}.${type}
   
   # EJB
  -ejb={id}/${groupId}/ejbs/${id}-${version}.jar
  +ejb=${artifactId}/${groupId}/ejbs/${artifactId}-${version}.jar
   
   # I believe (Michal) that for some files (e.g TLD files) 
   #we will have different layouts
   # 
   # TLD
  -tld={id}/${groupId}/${type}s/${id}/${version}/${id}.tld
  -
  +#tld=${artifactId}/${groupId}/${type}s/${artifactId}/${version}/${id}.tld
  +#  
  +#  or
  +#tld=${artifactId}/${groupId}/${type}s/${artifactId}-${version}/${id}.tld
  +#
  +# which can results in following layouting:
  +#
  +#  struts/tlds/html/1.1rc1/html.tld
  +#     or
  +#  struts/tlds/html-1.1rc1/html.tld
  +#
  +# 
  +#
  +#  Example of another possible use case:
  +#
   # JAVADOC
  -javadoc={id}/${groupId}/javadocs/${id}_apidocs-${version}.jar
  +#javadoc=${artifactId}/${groupId}/javadocs/${artifactId}_apidocs-${version}.jar
  +#
  +
  
  
  

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