maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Lundberg <denn...@apache.org>
Subject Re: Error in changes:annoucement-mail goal
Date Sat, 02 Feb 2008 17:07:13 GMT
Two more things to check:

1. The debug output shows that you are using 2.0-beta-2:
 > [DEBUG] Configuring mojo 
'org.apache.maven.plugins:maven-changes-plugin:2.0-beta-2:announcement-generate' 
-->
Please make sure that you have configured the version 2.0-beta-3 correctly.

2. Is the URL really valid? Running 'nslookup dev1.wa' returns 
'Non-existent domain'.

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 = org.apache.maven.project.MavenProject@ff753366
> [DEBUG]   (f) resolutionId = Fixed
> [DEBUG]   (f) setting = org.apache.maven.settings.Settings@17200b4
> [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: ben.lidgey@inuknetworks.com
> 
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message