I cannot get this plugin to work.

I have added the following to my POMs build section:


                <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>license-maven-plugin</artifactId>
        <version>1.0-beta-3</version>
        <executions>        
          <execution>
          
                <configuration>
                        <useMissingFile/>
                         <missingFile>TEST.txt</missingFile>
                        <licenseMerges>
                  <licenseMerge>The Apache Software License, Version
2.0|Apache 2</licenseMerge>
                  <licenseMerge>The Apache Software License, Version
2.0|Apache License</licenseMerge>
                  <licenseMerge>The Apache Software License, Version
2.0|Apache License, Version 2.0</licenseMerge>
                </licenseMerges>
                </configuration>
          
            <id>add-third-party</id>
            <goals>
              <goal>add-third-party</goal>
            </goals>
          </execution>
        </executions>
  
      </plugin>

I run the 'mvn license:add-third-party'.

The THIRD-PARTY.txt license file is generated, but it neither creates the
THIRD-PARTY.properties file as expected, nor does it merge the licenses as
specified.

What am I doing wrong?





Farrukh Najmi wrote:
> 
> 
> First, Thanks to Tony for his help on my earlier questions.
> 
> I am now trying to use "license:add-third-party -DuseMissingFile" goal 
> on my project to geenerate the THIRD-PARTY.properties pointed to by the 
> missingFile property. No such file gets created any where in my 
> directory tree.
> 
> After much trial and error I found that I must define this property in 
> the plugin configuration and command line setting as instructed in the 
> following page does not work:
> 
> http://mojo.codehaus.org/license-maven-plugin/examples/example-thirdparty.html
> 
> Is this a known issue? Perhaps the doc should be fixed?
> 
> -- 
> Regards,
> Farrukh Najmi
> 
> Web: http://www.wellfleetsoftware.com
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/license-maven-plugin-%22add-third-party--DuseMissingFile%22-not-generating-THIRD-PARTY.properties-file-tp31801467p32300341.html
Sent from the mojo - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to