Hi Maciej,

well, your POM should contain XML tags ;-)

...

Resend the message in a format please, that does not filter out the XML tags - 
otherwise noone can say something useful.

- Jörg

Wodzuu wrote on Thursday, April 19, 2007 8:42 AM:

> Hi!
> 
> I am a newbie in maven an i have one maybe silly question. I
> have created
> one project with its pom.xml:
> 
> <?xml version="1.0"?>
> 
>     ejb
>     com.sius.beans
>     1.0-SNAPSHOT
> 
>   4.0.0
>   com.sius.beans
>   ejb3
>   ejb
>   ejb :: ${artifactId}
>   1.0-SNAPSHOT
>   http://maven.apache.org
> 
> 
>       junit
>       junit
>       3.8.1
>       test
> 
> 
>             org.jboss
>             ejb3-persistence
>             1.0-SNAPSHOT
>             provided
> 
> 
>             org.jboss
>             jboss-ejb3x
>             1.0-SNAPSHOT
>             provided
> 
> 
> 
> 
> I have executed commands:
> 
> mvn package
> mvn install
> 
> Everything went right.
> 
> Now I have another project that depends on previous one. (pom.xml):
> 
> <?xml version="1.0"?>
> 
>     ejb
>     com.sius.beans
>     1.0-SNAPSHOT
> 
>   4.0.0
>   com.sius.beans
>   webapp
>   war
>   ejb :: ${artifactId}
>   1.0-SNAPSHOT
> 
>     webapp
> 
> 
> 
>       junit
>       junit
>       3.8.1
>       test
> 
> 
>             org.jboss
>             jboss-ejb3x
>             1.0-SNAPSHOT
>             provided
> 
> 
>             com.sius.beans
>             ejb3
>             1.0-SNAPSHOT
> 
> 
> 
> 
> i execute
> 
> mvn package and i get the following error:
> 
> [INFO] Failed to resolve artifact.
> 
> GroupId: com.sius.beans
> ArtifactId: ejb
> Version: 1.0-SNAPSHOT
> 
> Reason: Unable to download the artifact from any repository
> 
>   com.sius.beans:ejb:pom:1.0-SNAPSHOT
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
> 
> Could someone help me in solving this problem ?
> first project can be found in my local repo at
> .m2\repository\com\sius\beans\ejb3\1.0-SNAPSHOT\ so I don't
> know what to do.
> 
> Thanks in advance.
> 
> Maciej

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

Reply via email to