The error comes from the announcement-generate goal. Can you try running that goal separately so that we can determine which mojo is having problems.

Ben Lidgey wrote:
I am getting an error when trying to do a "mvn changes:announcement-mail" that 
says:

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] One or more required plugin parameters are invalid/missing for 
'changes:announcement-generate'

[0] inside the definition for plugin: 'maven-changes-plugin'specify the 
following:

<configuration>
  ...
  <url>VALUE</url>
</configuration>

-OR-

on the command line, specify: '-Dproject.url=VALUE'

[INFO] ------------------------------------------------------------------------

BUT, the changes plugin in the pom.xml is configured as

<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changes-plugin</artifactId>
        <version>2.0-beta-3</version>
        <inherited>false</inherited>
        <executions>
                <execution>
                        <goals>
                                <goal>announcement-generate</goal>
                        </goals>
                        <id>announcement-generate</id>
                </execution>
                <execution>
                        <goals>
                                <goal>announcement-mail</goal>
                        </goals>
                        <id>announcement-mail</id>
                </execution>
        </executions>
        <configuration>
                
<url>http://dev1.wa:8280/maven-proxy/repository/inuknetworks/InukPlatform2ParentServiceProject/</url>
                <smtpHost>
                        smtpserver
                </smtpHost>
                <smtpPort implementation="java.lang.Integer">
                        25
                </smtpPort>
                <toAddresses>
                        <toAddress implementation="java.lang.String">
                                javateamemail
                        </toAddress>
                </toAddresses>
                <introduction>
                        Common Web Service parent project.
                </introduction>
                <urlDownload>
                        
http://dev1.wa:8280/internal/inuknetworks/InukPlatform2ParentServiceProject/
                </urlDownload>
        </configuration>
</plugin>

When I run it with -X it shows

[DEBUG] Configuring mojo 
'org.apache.maven.plugins:maven-changes-plugin:2.0-beta-2:announcement-generate' 
-->
[DEBUG]   (s) artifactId = InukPlatform2ParentServiceProject
[DEBUG]   (s) developmentTeam = InukPlatform2ParentServiceProject-team
[DEBUG]   (s) finalName = InukPlatform2ParentServiceProject-1.0.4-SNAPSHOT.pom
[DEBUG]   (f) generateJiraAnnouncement = false
[DEBUG]   (s) groupId = inuknetworks
[DEBUG]   (s) introduction = Common Web Service parent project.
[DEBUG]   (f) jiraXML = 
c:\Development\Projects\utils\InukPlatform2ParentServiceProject\target/jira-announcement.xml
[DEBUG]   (f) nbEntries = 25
[DEBUG]   (s) outputDirectory = 
c:\Development\Projects\utils\InukPlatform2ParentServiceProject\target/announcement
[DEBUG]   (s) packaging = pom
[DEBUG]   (f) project = [EMAIL PROTECTED]
[DEBUG]   (f) resolutionId = Fixed
[DEBUG]   (f) setting = [EMAIL PROTECTED]
[DEBUG]   (f) statusId = Closed
[DEBUG]   (f) template = announcement.vm
[DEBUG]   (f) templateDirectory = org/apache/maven/plugin/announcement
[DEBUG]   (s) url = 
http://dev1.wa:8280/maven-proxy/repository/inuknetworks/InukPlatform2ParentServiceProject/
[DEBUG]   (s) urlDownload = 
http://dev1.wa:8280/internal/inuknetworks/InukPlatform2ParentServiceProject/
[DEBUG]   (s) version = 1.0.4-SNAPSHOT
[DEBUG]   (s) xmlPath = 
c:\Development\Projects\utils\InukPlatform2ParentServiceProject/src/changes/changes.xml
[DEBUG] -- end configuration --
[INFO] [changes:announcement-generate]

Which clearly shows the url defined.

Any idea what is going on here? I am using mvn 2.0.7.


Ben Lidgey
Senior Software Engineer
e: [EMAIL PROTECTED]

Inuk Networks Limited
Enterprise House
Navigation Park
Abercynon
CF45 4SN
t: +44 (0)844 546 0100
f: +44 (0)844 546 0200
w: www.inuknetworks.com


This e-mail is confidential and intended solely for the use of the 
individual(s) to whom it is addressed. Any views or opinions expressed are 
those of the author. If you are not the intended recipient, please be advised 
that any use, dissemination, printing or copying of this email is strictly 
prohibited.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to