Java 2 Security - Provide Tuscany Maven profile to run vtest and itest with 
Java 2 security enabled
---------------------------------------------------------------------------------------------------

                 Key: TUSCANY-2339
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2339
             Project: Tuscany
          Issue Type: Improvement
          Components: Java SCA Core Runtime
         Environment: Maven profile should be operating system independent.
            Reporter: Dan Becker


Provide Tuscany Maven profile to run vtest and itest with Java 2 security 
enabled. This profile should specify a security profile for Tuscany, and should 
run vtest and itests with Java 2 security enabled.

Run the profile with
mvn -P security.

Suggested profile addition to Tuscany java/sca pom.xml
        <profile>
            <id>security</id>
            <modules>
                <!-- <module>demos</module> -->
                <module>itest</module>
                <module>vtest</module>
            </modules>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-surefire-plugin</artifactId>
                        <version>2.3.1</version>
                        <configuration>
                            <includes>
                                <include>**/*TestCase.java</include>
                            </includes>
                            <reportFormat>brief</reportFormat>
                            <useFile>false</useFile>
                            <forkMode>once</forkMode>
                            <!-- Place tuscany.policy in your Java home 
security directory. Alternatively, hardcode the file location here. -->
                            <argLine>-Djava.security.manager 
-Djava.security.policy=file:///${java.home}/lib/security/tuscany.policy 
-Dpolicy.allowSystemProperty=true -Djava.security.debug=policy</argLine>
                        </configuration>
                    </plugin>
                </plugins>         
            </build>
        </profile>



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to