You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Raymond Feng (JIRA)" <tu...@ws.apache.org> on 2008/06/05 22:37:44 UTC

[jira] Resolved: (TUSCANY-2339) Java 2 Security - Provide Tuscany Maven profile to run vtest and itest with Java 2 security enabled

     [ https://issues.apache.org/jira/browse/TUSCANY-2339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Feng resolved TUSCANY-2339.
-----------------------------------

    Resolution: Fixed

Patch applied under 663726.

> 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
>            Assignee: Raymond Feng
>         Attachments: TUSCANY-2339.2.patch
>
>
> 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.