portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlest...@apache.org
Subject cvs commit: jakarta-jetspeed-2/services/security maven.xml project.properties project.xml
Date Thu, 12 Feb 2004 14:58:40 GMT
dlestrat    2004/02/12 06:58:40

  Added:       services/security maven.xml project.properties project.xml
  Log:
  Maven files supporting the security service build.
  
  Revision  Changes    Path
  1.1                  jakarta-jetspeed-2/services/security/maven.xml
  
  Index: maven.xml
  ===================================================================
  <project default="java:jar"
           xmlns:j="jelly:core"
           xmlns:define="jelly:define"
           xmlns:reactor="reactor">
  
    <!-- Target of maven test:single test -->
    <!--<property name='testcase' value='org.apache.jetspeed.security.TestPermissionManagerService'/>-->
    <!--<property name='testcase' value='org.apache.jetspeed.security.TestUserManagerService'/>-->
    <property name='testcase' value='org.apache.jetspeed.security.TestRoleManagerService'/>
    <!--<property name='testcase' value='org.apache.jetspeed.security.TestGroupManagerService'/>-->
    <!--<property name='testcase' value='org.apache.jetspeed.security.TestLoginModule'/>-->
    <!--<property name='testcase' value='org.apache.jetspeed.security.TestRdbmsPolicy'/>-->
  
    <!-- ================================================================ -->
    <!-- Set System properties for junit                                  -->
    <!-- ================================================================ -->
    <preGoal name="test:single">
       <j:set var="java.security.auth.login.config" value="src/webapp/WEB-INF/conf/jaas/login.conf"/>
       <j:set var="applicationRoot" value="./../../portal/src/webapp"/>
       <j:set var="maven.junit.sysproperties">java.security.auth.login.config applicationRoot</j:set>
    </preGoal>
   
    <preGoal name="test:test">
      <j:set var="java.security.auth.login.config" value="src/webapp/WEB-INF/conf/jaas/login.conf"/>
      <j:set var="applicationRoot" value="./../../portal/src/webapp"/>
      <j:set var="maven.junit.sysproperties">java.security.auth.login.config applicationRoot</j:set>
    </preGoal>
  
    <!-- ================================================================ -->
    <!-- Merge OJB desriptor with Jetspeed main OJB descriptor            -->
    <!-- ================================================================ -->
    <goal name="ojb.registry">
      <copy  file="./src/webapp/WEB-INF/conf/ojb/repository_security.xml" tofile="./../../portal/src/webapp/WEB-INF/conf/ojb/repository_security.xml"/>
    </goal>
  
  
    <!-- ================================================================ -->
    <!-- EXECUTE a DB SCRIPT                                              -->
    <!-- TODO: I'd like to implement this as a plugin or use commons SQL  -->
    <!-- ================================================================ -->
    <goal name="db.execute">
      <sql driver="${database.default.driver}"
           classpathref="maven.dependency.classpath"
           url="${database.default.url}"
           userid="${database.default.username}"
           password="${database.default.password}"
           src="${database.arg.script}">
      </sql>
    </goal>
  
    <!-- ================================================================ -->
    <!-- EXECUTE CREATE DB SQL SCRIPTS                                    -->
    <!-- TODO: I'd like to implement this as a plugin or use commons SQL  -->
    <!-- ================================================================ -->
    <goal name="db.create">
      <j:set var="database.arg.script" value="./src/sql/${database.default.name}/create-db.sql"
/>
      <attainGoal name="db.execute" />
    </goal>
  
    <!-- ================================================================ -->
    <!-- EXECUTE DROP DB SQL SCRIPTS                                      -->
    <!-- TODO: I'd like to implement this as a plugin or use commons SQL  -->
    <!-- ================================================================ -->
    <goal name="db.drop">
      <j:set var="database.arg.script" value="./src/sql/${database.default.name}/drop-db.sql"
/>
      <attainGoal name="db.execute" />
    </goal>
  
    <!-- ================================================================ -->
    <!-- EXECUTE RECREATE DB SQL SCRIPTS                                  -->
    <!-- TODO: I'd like to implement this as a plugin or use commons SQL  -->
    <!-- ================================================================ -->
    <goal name="db.recreate">
      <attainGoal name="db.drop" />
      <attainGoal name="db.create" />
    </goal>
  
    <!-- ================================================================ -->
    <!-- TEST DB SQL SCRIPTS                                              -->
    <!-- ================================================================ -->
    <goal name="db.test.create">
      <j:set var="database.default.url" value="jdbc:hsqldb:${basedir}/../../portal/test/db/hsql/Registry"
/>
      <attainGoal name="db.create" />
    </goal>
  
    <goal name="db.test.drop">
      <j:set var="database.default.url" value="jdbc:hsqldb:${basedir}/../../portal/test/db/hsql/Registry"
/>
      <attainGoal name="db.drop" />
    </goal>
  
    <goal name="db.test.recreate">
      <attainGoal name="db.test.drop" />
      <attainGoal name="db.test.create" />
    </goal>
  </project>
  
  
  
  1.1                  jakarta-jetspeed-2/services/security/project.properties
  
  Index: project.properties
  ===================================================================
  # Remote repos
  maven.repo.remote = http://www.bluesunrise.com/maven/, http://www.ibiblio.org/maven/
  
  # Display the date on the Maven web site
  maven.xdoc.date = left
  
  # Display the maven version the web site is documenting
  maven.xdoc.version = ${pom.currentVersion}
  
  maven.checkstyle.properties=${basedir}/../checkstyle.properties
  
  maven.compile.deprecation=on
  maven.compile.fork=yes
  maven.junit.fork=yes
  
  # AOP properties.
  maven.aspectj.autoweave=true
  
  # Include private method and field in Javadoc.
  maven.javadoc.private=true
  
  # Removed the rule ${plugin.resources}/rulesets/naming.xml from the default
  # maven.pmd.rulesetfiles.  This is because the LongVariableName rule is to
  # restrictive.  We need to increase the limit from 12 to 20
  maven.pmd.rulesetfiles=${plugin.resources}/rulesets/strings.xml,${plugin.resources}/rulesets/junit.xml,${plugin.resources}/rulesets/braces.xml,${plugin.resources}/rulesets/basic.xml,${plugin.resources}/rulesets/unusedcode.xml,${plugin.resources}/rulesets/design.xml,${plugin.resources}/rulesets/imports.xml,${plugin.resources}/rulesets/codesize.xml
  
  database.default.name=hsql
  database.default.driver=org.hsqldb.jdbcDriver
  database.default.url=jdbc:hsqldb:${basedir}/../../portal/src/webapp/WEB-INF/db/hsql/Registry
  database.default.username=sa
  database.default.password=
  
  
  
  1.1                  jakarta-jetspeed-2/services/security/project.xml
  
  Index: project.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  
  <project>
    <extend>${basedir}/../../project.xml</extend>
    <pomVersion>3</pomVersion>
    <id>jetspeed-security-services</id>
    <name>Jetspeed-2 Security Services</name>
    <currentVersion>2.0-a1-dev</currentVersion>
    <package>org.apache.jetspeed</package>
    <description>
      Decoupled service system for Jetspeed.
    </description>
    <dependencies>
      <dependency>
        <id>aspectj:aspectjrt</id>
        <version>1.0.6</version>
        <properties>
          <classloader>root</classloader>
        </properties>
      </dependency>
      <dependency>
        <id>aspectj:aspectj-ant</id>
        <version>1.0.6</version>
        <properties>
          <classloader>root</classloader>
        </properties>
      </dependency>
      <dependency>
        <id>aspectj:aspectj-tools</id>
        <version>1.0.6</version>
        <properties>
          <classloader>root</classloader>
        </properties>
      </dependency>
      <dependency>
        <id>jetspeed-cps</id>
        <groupId>jetspeed2</groupId>
        <version>2.0-a1-dev</version>
        <properties>
          <war.bundle.jar>true</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>commons-beanutils</id>
        <version>1.6.1</version>
        <properties>
          <war.bundle.jar>true</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>commons-betwixt</id>
        <version>1.0-beta-1</version>
        <properties>
          <war.bundle.jar>true</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>commons-digester</id>
        <version>1.5</version>
        <properties>
          <war.bundle.jar>true</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>commons-logging</id>
        <version>1.0.2</version>
        <properties>
          <war.bundle.jar>false</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>jetspeed-commons</id>
        <groupId>jetspeed2</groupId>
        <version>2.0-a1-dev</version>
        <properties>
          <war.bundle.jar>false</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>commons-collections</id>
        <version>3.0</version>
        <properties>
          <war.bundle.jar>true</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>pluto</id>
        <groupId>pluto</groupId>
        <version>1.0</version>
        <properties>
          <war.bundle.jar>false</war.bundle.jar>
        </properties>
      </dependency>
  
      <dependency>
        <id>commons-configuration</id>
        <version>1.0-dev</version>
        <properties>
          <war.bundle.jar>false</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <!-- Why is this needed? -->
        <id>log4j</id>
        <version>1.2.6</version>
        <properties>
          <war.bundle.jar>false</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>commons-lang</id>
        <version>2.0</version>
        <properties>
          <war.bundle.jar>true</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>commons-dbcp</id>
        <version>1.1</version>
        <properties>
          <war.bundle.jar>true</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>commons-pool</id>
        <version>1.1</version>
        <properties>
          <war.bundle.jar>true</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>fulcrum</id>
        <version>3.0-b2-dev</version>
        <properties>
          <war.bundle.jar>true</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>hsqldb</id>
        <version>1.7.1</version>
        <properties>
          <war.bundle.jar>true</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>ojb:db-ojb</id>
        <version>1.0.rc5</version>
        <properties>
          <war.bundle.jar>true</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>jdbc-se</id>
        <jar>jdbc-se2.0.jar</jar>
        <properties>
          <war.bundle.jar>false</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>junit</id>
        <version>3.8.1</version>
        <properties>
          <war.bundle.jar>false</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>jta</id>
        <jar>jta1.0.1.jar</jar>
        <properties>
          <war.bundle.jar>true</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>mysql</id>
        <jar>mysql-connector-java-2.0.14-bin.jar</jar>
        <properties>
          <war.bundle.jar>true</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>tyrex</id>
        <version>1.0.1</version>
        <properties>
          <war.bundle.jar>true</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>xalan</id>
        <version>2.4.1</version>
        <properties>
          <war.bundle.jar>true</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>xerces</id>
        <version>2.3.0</version>
        <properties>
          <war.bundle.jar>true</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>xml-apis</id>
        <version>2.0.2</version>
        <properties>
          <war.bundle.jar>true</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>mx4j-jmx</id>
        <groupId>mx4j</groupId>
        <version>1.1.1</version>
        <properties>
          <war.bundle.jar>true</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>mx4j-tools</id>
        <groupId>mx4j</groupId>
        <version>1.1.1</version>
        <properties>
          <war.bundle.jar>true</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>jdom</id>
        <version>b8</version>
        <properties>
          <war.bundle.jar>true</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>commons-modeler</id>
        <version>1.1M1</version>
        <properties>
          <war.bundle.jar>true</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>jetspeed-plugins</id>
        <groupId>jetspeed2</groupId>
        <version>2.0-a1-dev</version>
        <properties>
          <war.bundle.jar>true</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>jetspeed-registry-services</id>
        <groupId>jetspeed2</groupId>
        <version>2.0-a1-dev</version>
        <properties>
          <war.bundle.jar>true</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <!-- portlet-api.jar must be in %MAVEN_HOME%respository/portlet-api/jars -->
        <id>portlet-api</id>
        <version>1.0</version>
        <properties>
          <war.bundle.jar>false</war.bundle.jar>
        </properties>
      </dependency>
      <dependency>
        <id>servletapi</id>
        <version>2.3</version>
        <properties>
          <war.bundle.jar>false</war.bundle.jar>
        </properties>
      </dependency>
    </dependencies>
    <build>
      <sourceDirectory>src/java</sourceDirectory>
      <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
      <aspectSourceDirectory>src/aop</aspectSourceDirectory>
      <unitTest>
        <!--<excludes>
        	<exclude>**/Test*.java</exclude>
        </excludes>-->
        <includes>
          <include>**/Test*.java</include>
        </includes>
      </unitTest>
  
    </build>
    <reports>
      <report>maven-jdepend-plugin</report>
      <report>maven-checkstyle-plugin</report>
      <report>maven-pmd-plugin</report>
      <report>maven-changelog-plugin</report>
      <report>maven-file-activity-plugin</report>
      <report>maven-developer-activity-plugin</report>
      <report>maven-license-plugin</report>
      <report>maven-javadoc-plugin</report>
      <report>maven-jxr-plugin</report>
      <report>maven-junit-report-plugin</report>
      <report>maven-linkcheck-plugin</report>
      <report>maven-tasklist-plugin</report>
    </reports>
  </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