Hi,
I am new to Maven and trying to build a j2ee application. I get the
following error when I try to create an ejb-jar. I am able to compile the
sources as a jar file though.
[INFO] Scanning for projects...
[INFO]
-------------------------------------------------------------------------
---
[INFO] Building Content Manager EJB Project
[INFO] task-segment: [compile]
[INFO]
-------------------------------------------------------------------------
---
[INFO] artifact org.apache.maven.plugins:maven-ejb-plugin: checking for
updates
from central
[WARNING] repository metadata for: 'artifact
org.apache.maven.plugins:maven-ejb-
plugin' could not be retrieved from repository: central due to an error:
Error t
ransferring file
[INFO] Repository 'central' will be blacklisted
[INFO]
-------------------------------------------------------------------------
---
[ERROR] BUILD ERROR
[INFO]
-------------------------------------------------------------------------
---
[INFO] The plugin 'org.apache.maven.plugins:maven-ejb-plugin' does not exist
or
no valid version could be found
[INFO]
-------------------------------------------------------------------------
---
[INFO] For more information, run Maven with the -e switch
[INFO]
-------------------------------------------------------------------------
---
[INFO] Total time: 4 seconds
[INFO] Finished at: Thu Dec 01 16:43:59 EST 2005
[INFO] Final Memory: 1M/3M
[INFO]
-------------------------------------------------------------------------
---
This is my POM:
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>proj.ngen</groupId>
<artifactId>contentmanager</artifactId>
<packaging>ejb</packaging>
<version>1.0</version>
<name>Content Manager EJB Project</name>
<dependencies>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-ejb-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>
Any pointers to what needs to be done?
Thanks and regards,
Karthik.