Slawomir Jaranowski created MNG-7894:
----------------------------------------

             Summary: Consumer pom should not expose local workspace directory
                 Key: MNG-7894
                 URL: https://issues.apache.org/jira/browse/MNG-7894
             Project: Maven
          Issue Type: Bug
            Reporter: Slawomir Jaranowski


After install project in local repository we have a pom which contains local 
workspace directory in comments.

eg, in {{maven-apache-parent}} we can execute {{mvn instal}}
then 
{{.m2/repository-prv/org/apache/apache/31-SNAPSHOT/apache-31-SNAPSHOT.pom}} 
contains lines like:
{code:java}
       <plugin>
          <artifactId>maven-gpg-plugin</artifactId>
          <version>${version.maven-gpg-plugin}</version>
          <configuration>
            <gpgArguments>
              <arg>--digest-algo=SHA512</arg><!-- org.apache:apache:31-SNAPSHOT 
/Users/slawomir.jaranowski/...../maven-apache-parent/pom.xml:220 -->
            </gpgArguments>
          </configuration>
        </plugin>{code}
 

Tested with:

{{Apache Maven 4.0.0-alpha-8-SNAPSHOT 
(1eae6684e3760d2a2e311c3eeaa166adbe99b69f)}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to