Previously I successfully build ejb3 example with jboss version 4.2.2 by
specifying jboss library in the 'systempath'. Now I want to make use of the
maven (jboss) repository. So I change to use the dependency section of
pom.xml, modifying repository and dependency section; it is as follow:

        <repositories>
                <repository>
                        <id>jboss-maven2</id>
                        <url>http://repository.jboss.com</url>
                </repository>
        </repositories>

...
                <dependency>
                        <groupId>jboss</groupId>
                        <artifactId>jboss-persistence-api</artifactId>
                        <version>3.0.0-SNAPSHOT</version>
                </dependency>
                <dependency>
                        <groupId>jboss</groupId>
                        <artifactId>jboss-ejb-api</artifactId>
                        <version>4.2.0.GA</version>
                </dependency>


But maven returns message like

Missing:
----------
1) jboss:jboss-persistence-api:jar:3.0.0-SNAPSHOT

  Try downloading the file manually from the project website.


I am able to to see the jar file located in the
http://repository.jboss.com/jboss/jboss-persistence-api/ (The dependency for
jboss-ejb-api works fine.) How to solve this error without downing/
installing the jar manually?

Thanks for help,
-- 
View this message in context: 
http://www.nabble.com/ejb3-jboss-persistence-problem-tp16653034s177p16653034.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to