Jsf basic or modular; doesn’t matter.
mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes
-DarchetypeArtifactId=appfuse-basic-jsf
-DremoteRepositories=http://static.appfuse.org/releases
-DarchetypeVersion=2.0.1 -DgroupId=com.mycompany.app -DartifactId=myproject
I think You can do the same thing downloading the wsdl4j-1.6.1.pom again
Or putting the following pom to
.m2\repository\wsdl4j\wsdl4j\1.6.1
<?xml version="1.0" encoding="iso-8859-1"?>
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>wsdl4j</groupId>
<artifactId>wsdl4j</artifactId>
<version>1.6.1</version>
<packaging>jar</packaging>
<name>WSDL4J</name>
<url>http://sf.net/projects/wsdl4j</url>
<description>Java stub generator for WSDL</description>
<dependencies/>
<licenses>
<license>
<name>CPL</name>
<url>http://www.opensource.org/licenses/cpl1.0.txt</url>
<distribution>repo</distribution>
<comments>Common Public License</comments>
</license>
</licenses>
<scm>
<connection>scm:cvs:pserver:[EMAIL
PROTECTED]:/cvsroot/wsdl4j</connection>
<developerConnection>scm:cvs:pserver:wsdl4j.cvs.sourceforge.net:/cvsroot/wsdl4j</developerConnection>
<url>http://wsdl4j.cvs.sourceforge.net/wsdl4j</url>
</scm>
</project>
-----Original Message-----
From: Matt Raible [mailto:[EMAIL PROTECTED]
Sent: 11 Aralık 2007 Salı 19:42
To: Bilgin YAZAR
Cc: [email protected]
Subject: Re: [appfuse-user] wsdl4j-1.6.1.pom - problem
Can you post the archetype:create command you used to create your
project?
Thanks,
Matt
On Dec 11, 2007, at 10:37 AM, Bilgin YAZAR wrote:
> You can find below; Thanks for fast reply.
>
> C:\appfuse\Source\myproject>mvn
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building AppFuse JSF Application
> [INFO] task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> Downloading:
> http://repo1.maven.org/maven2/wsdl4j/wsdl4j/1.6.1/wsdl4j-1.6.1.pom
> 939b downloaded
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: wsdl4j:wsdl4j
>
> Reason: Failed to build model from file 'C:\Documents and Settings
> \byazar\.m2\re
> pository\wsdl4j\wsdl4j\1.6.1\wsdl4j-1.6.1.pom'.
> Error: '▌SO-8859-1' for project wsdl4j:wsdl4j
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Tue Dec 11 19:34:44 EET 2007
> [INFO] Final Memory: 9M/18M
> [INFO]
> ------------------------------------------------------------------------
>
> OR
>
> C:\appfuse\Source\myproject>mvn jetty:run-war
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'jetty'.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building AppFuse JSF Application
> [INFO] task-segment: [jetty:run-war]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Preparing jetty:run-war
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: wsdl4j:wsdl4j
>
> Reason: Failed to build model from file 'C:\Documents and Settings
> \byazar\.m2\re
> pository\wsdl4j\wsdl4j\1.6.1\wsdl4j-1.6.1.pom'.
> Error: '▌SO-8859-1' for project wsdl4j:wsdl4j
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Tue Dec 11 19:36:20 EET 2007
> [INFO] Final Memory: 10M/18M
> [INFO]
> ------------------------------------------------------------------------
>
>
> -----Original Message-----
> From: Matt Raible [mailto:[EMAIL PROTECTED]
> Sent: 11 Aralık 2007 Salı 19:32
> To: [email protected]
> Cc: Bilgin YAZAR
> Subject: Re: [appfuse-user] wsdl4j-1.6.1.pom - problem
>
> Can you post the error you're seeing so we can try to reproduce?
>
> Thanks,
>
> Matt
>
> On Dec 11, 2007, at 5:45 AM, bilgin yazar wrote:
>
>> Hi
>> I'm new to appfuse.
>> So to try, I did the instructions at QuickStart Guide step by step.
>> After creating the archetype, I could not run mvn or
>> mvn jetty:run-war.
>>
>> Mvn gives error with wsdl4j-1.6.1.pom at .m2\repository\wsdl4j
>> \wsdl4j\1.6.1
>> Because the wsdl4j-1.6.1.pom has problem with the <dependencies/>.
>> I cut and copied the <dependencies/>. to just before </project>.
>> Now it works.
>>
>> <?xml version="1.0" encoding="iso-8859-1"?>
>> <project>
>> <modelVersion>4.0.0</modelVersion>
>> <groupId>wsdl4j</groupId>
>> <artifactId>wsdl4j</artifactId>
>> <version>1.6.1</version>
>> <packaging>jar</packaging>
>> <name>WSDL4J</name>
>> <url>http://sf.net/projects/wsdl4j</url>
>> <description>Java stub generator for WSDL</description>
>> <licenses>
>> <license>
>> <name>CPL</name>
>> <url>http://www.opensource.org/licenses/cpl1.0.txt</url>
>> <distribution>repo</distribution>
>> <comments>Common Public License</comments>
>> </license>
>> </licenses>
>> <scm>
>>
>> <connection>scm:cvs:pserver:[EMAIL PROTECTED]:/
>> cvsroot/wsdl4j</connection>
>>
>> <developerConnection>scm:cvs:pserver:wsdl4j.cvs.sourceforge.net:/
>> cvsroot/wsdl4j</developerConnection>
>> <url>http://wsdl4j.cvs.sourceforge.net/wsdl4j</url>
>> </scm>
>> <dependencies>
>> </dependencies>
>> </project>
>>
>> _________________________________________________________________
>> En etkili ve güvenilir PC Korumayi tercih edin, rahat edin!
>> http://www.msn.com.tr/security
>> /
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>