[
https://issues.apache.org/jira/browse/SCM-303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17964467#comment-17964467
]
Olivier Lamy commented on SCM-303:
----------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-scm#521|https://github.com/apache/maven-scm/issues/521].
> Unable to change maven.scm.provider.cvs.implementation from Maven POM/Settings
> ------------------------------------------------------------------------------
>
> Key: SCM-303
> URL: https://issues.apache.org/jira/browse/SCM-303
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: Improvement
> Components: maven-plugin
> Affects Versions: 1.0-rc1
> Environment: Windows, CVSNT, maven 1.0.6
> Reporter: Alain Coetmeur
> Assignee: Emmanuel Venisse
> Priority: Minor
> Fix For: 1.0
>
>
> I did not find any way to set the system variable used by SCM internally like
> maven.scm.provider.cvs.implementation
> the only way is to add this to the command line
> -Dmaven.scm.provider.cvs.implementation=cvs_native which is error prone and
> awkward
> it should be possible to configure it in the POM and even through activated
> profiles...
> many other system properties may be usefull too.
> note that by the way setting maven.scm.provider.cvs.implementation to empty
> content
> should be accepted as "default behavior". it is needed if the property is
> always configured in a systemProperties element in configuration in plugin
> element, but with a value which is either empty or not depending on the OS.
> Ive tested, without success, simply adding POM or profile properties, or
> using "systemProperties" element in "configuration" for plugin
> like that :
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-scm-plugin</artifactId>
> <configuration>
> <goals>install</goals>
> <!-- semble pas marcher -->
> <systemProperties>
> <property>
>
> <name>maven.scm.provider.cvs.implementation</name>
>
> <value>${maven.scm.provider.cvs.implementation}</value>
> </property>
> </systemProperties>
> </configuration>
> </plugin>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-release-plugin</artifactId>
> <!-- la version 2.0-beta-4 a un bug grave qui
> empêche de fonctionner si tous les paramètres ne sont pas saisis dans le tag
> SCM -->
> <version>2.0-beta-5-SNAPSHOT</version>
> <configuration>
>
> <generateReleasePoms>true</generateReleasePoms>
> <!-- semble pas marcher -->
> <systemProperties>
> <property>
>
> <name>maven.scm.provider.cvs.implementation</name>
> <value>
>
> ${maven.scm.provider.cvs.implementation}
> </value>
> </property>
> </systemProperties>
> </configuration>
> </plugin>
> <profiles>
> <profile>
> <activation>
> <os>
> <family>Windows</family>
> </os>
> </activation>
> <properties>
> <!-- sous windows il faut utiliser cvsnt
> natif... l'implémentation java marche pas -->
> <maven.scm.provider.cvs.implementation>
> cvs_native
> </maven.scm.provider.cvs.implementation>
> </properties>
> </profile>
> </profiles>
> thanks in advance
--
This message was sent by Atlassian Jira
(v8.20.10#820010)