portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From morci...@apache.org
Subject cvs commit: jakarta-jetspeed project.xml project.properties maven.xml
Date Mon, 07 Apr 2003 19:34:52 GMT
morciuch    2003/04/07 12:34:52

  Modified:    .        project.xml project.properties maven.xml
  Log:
  1. Added packaging of jetspeed localization bundles into the .jar.
  2. Added goals for local repository deployment (missing in maven-1.8)
  
  Revision  Changes    Path
  1.14      +5 -1      jakarta-jetspeed/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/project.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- project.xml	21 Mar 2003 20:50:09 -0000	1.13
  +++ project.xml	7 Apr 2003 19:34:52 -0000	1.14
  @@ -386,7 +386,11 @@
   		</integrationUnitTestClassEntries>
   		<!-- J A R  R E S O U R C E S -->
   		<!-- Resources that are packaged up inside the JAR file -->
  -		<jarResources/>
  +		<resources>
  +			<includes>
  +				<include>org/apache/jetspeed/modules/localization/JetspeedLocalization_*.properties</include>
  +			</includes>
  +		</resources>
   		<jars/>
   	</build>
   </project>
  
  
  
  1.7       +3 -0      jakarta-jetspeed/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/project.properties,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- project.properties	21 Mar 2003 20:50:09 -0000	1.6
  +++ project.properties	7 Apr 2003 19:34:52 -0000	1.7
  @@ -19,3 +19,6 @@
   announcement = 1.4-b4-dev
   
   maven.war.src = ${basedir}/webapp
  +
  +# This is a "hack" because POM in maven-1.8 doesn't allow to configure this via includes
  +maven.jarResources.basedir = ${basedir}/src/java
  
  
  
  1.2       +22 -1     jakarta-jetspeed/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/maven.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- maven.xml	21 Mar 2003 20:50:09 -0000	1.1
  +++ maven.xml	7 Apr 2003 19:34:52 -0000	1.2
  @@ -9,11 +9,32 @@
   		<!--echo>[DEBUG] maven.src.dir = ${maven.src.dir}</echo>
   		<echo>[DEBUG] maven.war.src = ${maven.war.src}</echo>
   		<echo>[DEBUG] maven.build.dir = ${maven.build.dir}</echo>
  -		<echo>[DEBUG] maven.war.build.dir = ${maven.war.build.dir}</echo-->	
  +		<echo>[DEBUG] maven.war.build.dir = ${maven.war.build.dir}</echo-->
   		<copy todir="${maven.dist.bin.assembly.dir}/webapp">
   			<fileset dir="${maven.war.src}">
   				<include name="**"/>
   			</fileset>
   		</copy>
   	</postGoal>
  +	<!-- ================================================================== -->
  +	<!-- I N S T A L L  I N  L O C A L  R E P O S I T O R Y   G O A L                 
        -->
  +	<!-- ================================================================== -->
  +	<goal name="dist:install" prereqs="dist:build" description="Install the distributions
into the local repository">
  +		<property name="distdir__" value="${maven.repo.local}/${pom.id}dist/distributions"/>
  +		<mkdir dir="${distdir__}"/>
  +		<copy todir="${distdir__}">
  +			<fileset dir="${maven.dist.dir}">
  +				<include name="**"/>
  +			</fileset>
  +		</copy>
  +	</goal>
  +	<goal name="jar:install" prereqs="java:jar" description="Install the jar into the local
repository">
  +		<property name="jardir__" value="${maven.repo.local}/${pom.id}/jars"/>
  +		<mkdir dir="${jardir__}"/>
  +		<copy todir="${jardir__}">
  +			<fileset dir="${maven.build.dir}">
  +				<include name="*.jar"/>
  +			</fileset>
  +		</copy>
  +	</goal>	
   </project>
  
  
  

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


Mime
View raw message