Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2
This is the forum to discuss the Wrox book Beginning Spring Framework 2 by Thomas Van de Velde, Bruce Snyder, Christian Dupuis, Sing Li, Anne Horton, Naveen Balani; ISBN: 9780470101612
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 25th, 2007, 09:38 PM
Registered User
Points: 42, Level: 1
Points: 42, Level: 1 Points: 42, Level: 1 Points: 42, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2007
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Build Error

INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.codehaus.mojo:xfire-maven-plugin' does not exist or no valid version could be found
[INFO] ------------------------------------------------------------------------

Can anybody please help me solve above

 
Old December 28th, 2007, 11:27 AM
Registered User
 
Join Date: Dec 2007
Location: , MA, USA.
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to racoco
Default

I am having exactly the same problem.

Interestingly, the site

http://mojo.codehaus.org/xfire-maven-plugin/

exists. Not sure why the needed downloads are missing. maybe we need to send a help request to codehaus?


The Following User Says Thank You to racoco For This Useful Post:
anwarraja (March 25th, 2009)
 
Old December 28th, 2007, 02:51 PM
Registered User
 
Join Date: Dec 2007
Location: , MA, USA.
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to racoco
Default

here is some useful info from:
http://mail-archives.apache.org/mod_....nabble.com%3E

------------

Good day, Rod,

Sorry about that... I have just taken a look at the repository itself and
its seems that the jar of xfire-maven-plugin is not there. Then I guess the
only thing left to do is to checkout the source, and build it yourself.

Cheers,
Franz


Rod Mclaughlin-2 wrote:
>
> *I put this both in <repositories> and <pluginRepositories> and it makes
> no difference*
> <id>Codehaus Snapshots</id>
> <url>http://snapshots.repository.codehaus.org/</url>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> <releases>
> <enabled>false</enabled>
> </releases>
> it still says
> *The plugin 'org.codehaus.mojo:xfire-maven-plugin' does not exist or no
> valid version could be found*
>
>
>
>
> franz see wrote:
>> Good day to you, Rod,
>>
>> The xfire-maven-plugin is in codehaus mojo-sandbox. So you either
>> checkout
>> the source and build it, or use the snapshot version deployed
>>
>> <pluginRepository>
>> <id>Codehaus Snapshots</id>
>> <url>http://snapshots.repository.codehaus.org/</url>
>> <snapshots>
>> <enabled>true</enabled>
>> </snapshots>
>> <releases>
>> <enabled>false</enabled>
>> </releases>
>> </pluginRepository>
>>
>> See [1].
>>
>> Cheers,
>> Franz
>>
>> [1] http://mojo.codehaus.org/using-sandbox-plugins.html
>>
>>
>> Rod Mclaughlin-2 wrote:
>>
>>> Wayne Fay wrote:
>>>
>>>> *Without knowing anything more about your project or seeing your
>>>> pom.xml files, I assume you've declared <repositories> but not
>>>> <pluginRepositories> to match. *
>>>>
>>>> Wayne
>>>>
>>> Thanks. Even if I do
>>> <pluginRepositories>
>>> <pluginRepository>
>>> <id>central</id>
>>> <name>Maven Plugin Repository</name>
>>> <url>http://repo1.maven.org/maven2</url>
>>> <layout>default</layout>
>>> <snapshots>
>>> <enabled>false</enabled>
>>> </snapshots>
>>> </pluginRepository>
>>> </pluginRepositories>
>>> it still says *The plugin 'org.apache.maven.plugins:maven-xfire-plugin'
>>> does not exist or no valid version could be found*
>>>
>>> *Craig S. Cottingham: Here it says it's looking for maven-xfire-plugin,
>>> but...
>>> ...here you declare xfire-maven-plugin. Was that a typo (transcribe-o?),
>>> or could this be part of the problem you're seeing? *
>>> It makes no difference whether it says
>>> <artifactId>PLUGINNAME-maven-plugin or maven-PLUGINNAME-plugin in the
>>> plugin section of the POM, it always says
>>> org.apache.maven.plugins:maven-PLUGINNAME-plugin not found for any
>>> plugin.
>>>
>>> ---------------------------------------------------------------------
>>
>>
>
>
> --
> Rod McLaughlin
> Omnimedix Institute
> Rod.McLaughlin@omnimedix.org
>
>
>

--
View this message in context: http://www.nabble.com/Access-depende....html#a8977315
Sent from the Maven - Users mailing list archive at Nabble.com.



 
Old December 29th, 2007, 12:29 AM
Registered User
 
Join Date: Dec 2007
Location: Brisbane, QLD, Australia.
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hey

My slightly modified version of the pom.xml file seems to work.

I added a version no to the plugin:
 <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <version>1.0-20061017.160413-3</version>
        <artifactId>xfire-maven-plugin</artifactId>
          <executions>
           <execution>
              <goals>
                 <goal>wsgen</goal>
              </goals>
           </execution>
        </executions>
        <configuration>
          <package>com.wrox.webservice.emailvalidation.clien t</package>
          <overwrtite>true</overwrtite>
          <generateServerStubs>false</generateServerStubs>
          <forceBare>false</forceBare>
          <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
          <wsdls>
            <wsdl>http://ws.xwebservices.com/XWebEmailValidation/V2/XWebEmailValidation.wsdl</wsdl>
          </wsdls>
        </configuration>
      </plugin>

and an alternate plugin repository (placed below the </build> tag): <pluginRepositories>
<pluginRepository>
     <id>Codehaus Snapshots</id>
     <url>http://snapshots.repository.codehaus.org/</url>
     <snapshots>
       <enabled>true</enabled>
     </snapshots>
     <releases>
       <enabled>false</enabled>
     </releases>
</pluginRepository>
</pluginRepositories>

I can upload the complete file somewhere if requested.

Thanks

Aneesha
The Following User Says Thank You to aneesha For This Useful Post:
pi4630 (April 3rd, 2009)
 
Old December 30th, 2007, 09:34 PM
Registered User
 
Join Date: Dec 2007
Location: , MA, USA.
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to racoco
Default

just for the record, the above patch to the POM file worked for me as well. thank you aneesha!

 
Old January 17th, 2008, 08:31 PM
Registered User
 
Join Date: Jan 2008
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I followed your suggestions below and was able to run mvn package successfully. Thanks for your help.

Jim


Quote:
quote:Originally posted by aneesha
 Hey

My slightly modified version of the pom.xml file seems to work.

I added a version no to the plugin:
 <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <version>1.0-20061017.160413-3</version>
        <artifactId>xfire-maven-plugin</artifactId>
          <executions>
           <execution>
              <goals>
                 <goal>wsgen</goal>
              </goals>
           </execution>
        </executions>
        <configuration>
          <package>com.wrox.webservice.emailvalidation.clien t</package>
          <overwrtite>true</overwrtite>
          <generateServerStubs>false</generateServerStubs>
          <forceBare>false</forceBare>
          <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
          <wsdls>
            <wsdl>http://ws.xwebservices.com/XWebEmailValidation/V2/XWebEmailValidation.wsdl</wsdl>
          </wsdls>
        </configuration>
      </plugin>

and an alternate plugin repository (placed below the </build> tag): <pluginRepositories>
<pluginRepository>
     <id>Codehaus Snapshots</id>
     <url>http://snapshots.repository.codehaus.org/</url>
     <snapshots>
       <enabled>true</enabled>
     </snapshots>
     <releases>
       <enabled>false</enabled>
     </releases>
</pluginRepository>
</pluginRepositories>

I can upload the complete file somewhere if requested.

Thanks

Aneesha
 
Old January 21st, 2008, 11:21 PM
gxp gxp is offline
Registered User
 
Join Date: Dec 2007
Location: Wilmington, DE, .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks all, for the info on modifying pom.xml. I am a newbie with Spring and Maven, so this helped a great deal.

After trying to rebuild, I was getting the
"Tests in error: testRotateImage" that is described in Appendix C. I tried "-dmaven.test.skip=true", but found that -d was not recognized. After looking at mvn's help, on a hunch, I tried "-D", and then the build ran to completion, finally building the target .war.

-Greg


 
Old February 28th, 2008, 06:27 AM
Registered User
 
Join Date: Feb 2008
Location: , , Belgium.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If you look into the Test class it indicates that it is looking for a file footbal.jpg. This file is missing from the code download.

When you add a JPEG image with this name at this place wrox-pix-web\src\test\resources\football.jpg your tests will also run successfully.

 
Old March 9th, 2008, 03:11 PM
Registered User
 
Join Date: Mar 2008
Location: Aguascalientes, Aguascalientes, Mexico.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to bestia_averno
Default

Tks a lot aneesha, your help was great!..

 
Old March 9th, 2008, 06:21 PM
Registered User
 
Join Date: Mar 2008
Location: Aguascalientes, Aguascalientes, Mexico.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to bestia_averno
Default

and also, tks kvandeweyer for your post.

Greetings from Aguascalientes, Mex.





Similar Threads
Thread Thread Starter Forum Replies Last Post
VB2005 Project Build Error ashg657 Visual Basic 2005 Basics 1 August 6th, 2006 06:57 PM
C# - Chapter 3 Build Error TJ BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 July 29th, 2006 03:43 PM
Build Error, not IIS application VictorVictor ASP.NET 2.0 Basics 0 January 11th, 2006 04:43 PM
Build Error - Plz Help - Thanks ank2go ASP.NET 1.0 and 1.1 Basics 1 February 23rd, 2004 10:09 PM
error on build stewbaby C++ Programming 1 October 30th, 2003 06:07 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.