You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Daniel Bloomfield Ramagem <da...@gmail.com> on 2006/12/13 18:39:06 UTC
Javadocs for Geronimo 1.1.1?
I downloaded the Geronimo 1.1.1 source code ZIP from the downloads page and
I noticed that the Javadocs available on the main Apache Geronimo website
don't match up to version 1.1.1 (http://geronimo.apache.org/api/index.html),
is this correct?
I am now trying to generate the Javadocs directly from the source code. I
added the following section to my c:\geronimo-1.1.1_src\pom.xml file:
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<aggregate>true</aggregate>
</configuration>
</plugin>
</plugins>
</reporting>
And then executed "mvn javadoc:javadoc" and also "mvn site" with no success
in producing the Javadocs (output follows below). What am I missing?
Daniel.
------ OUTPUT ------
C:\geronimo-1.1.1_src>mvn javadoc:javadoc
mvn javadoc:javadoc
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'javadoc'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building Geronimo
[INFO] task-segment: [javadoc:javadoc]
[INFO]
----------------------------------------------------------------------------
[INFO] Preparing javadoc:javadoc
[INFO] No goals needed for project - skipping
[INFO] Setting property: classpath.resource.loader.class => '
org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] **************************************************************
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File:
org\apache\velocity\runtime\defaults\velocity.properties
[INFO] Default ResourceManager initializing. (class
org.apache.velocity.runtime.resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated:
org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template :
VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in
any resource loader.
[INFO] Velocimacro : error using VM library template VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'VM_global_library.vm'
[INFO] Velocimacro : VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in
templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may
NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be
global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [javadoc:javadoc]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Wed Dec 13 12:37:56 EST 2006
[INFO] Final Memory: 6M/11M
[INFO]
------------------------------------------------------------------------
Javadocs for Geronimo 1.1.1?
Posted by Daniel Bloomfield Ramagem <da...@gmail.com>.
I downloaded the Geronimo 1.1.1 source code ZIP from the downloads page and
I noticed that the Javadocs available on the main Apache Geronimo website
don't match up to version 1.1.1 ( http://geronimo.apache.org/api/index.html),
is this correct?
I am now trying to generate the Javadocs directly from the source code. I
added the following section to my c:\geronimo-1.1.1_src\pom.xml file:
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<aggregate>true</aggregate>
</configuration>
</plugin>
</plugins>
</reporting>
And then executed "mvn javadoc:javadoc" and also "mvn site" with no success
in producing the Javadocs (output follows below). What am I missing?
Daniel.
------ OUTPUT ------
C:\geronimo-1.1.1_src>mvn javadoc:javadoc
mvn javadoc:javadoc
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'javadoc'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building Geronimo
[INFO] task-segment: [javadoc:javadoc]
[INFO]
----------------------------------------------------------------------------
[INFO] Preparing javadoc:javadoc
[INFO] No goals needed for project - skipping
[INFO] Setting property: classpath.resource.loader.class => '
org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] **************************************************************
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File:
org\apache\velocity\runtime\defaults\velocity.properties
[INFO] Default ResourceManager initializing. (class
org.apache.velocity.runtime.resource.ResourceManagerImpl )
[INFO] Resource Loader Instantiated:
org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template :
VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in
any resource loader.
[INFO] Velocimacro : error using VM library template VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException : Unable to find
resource 'VM_global_library.vm'
[INFO] Velocimacro : VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in
templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may
NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be
global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [javadoc:javadoc]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Wed Dec 13 12:37:56 EST 2006
[INFO] Final Memory: 6M/11M
[INFO]
------------------------------------------------------------------------
Re: Javadocs for Geronimo 1.1.1?
Posted by Daniel Bloomfield Ramagem <da...@gmail.com>.
A ha!!! The "BUILDING.txt" file in the source distribution stated "To build
me please install Maven from here - version 1.0.2 or later." Maybe someone
could update that document. I'm gonna give M1 a try. Thanks!
Daniel.
On 12/14/06, David Jencks <da...@yahoo.com> wrote:
>
>
> On Dec 13, 2006, at 9:39 AM, Daniel Bloomfield Ramagem wrote:
>
> I downloaded the Geronimo 1.1.1 source code ZIP from the downloads page
> and I noticed that the Javadocs available on the main Apache Geronimo
> website don't match up to version 1.1.1 (http://geronimo.apache.org/api/index.html),
> is this correct?
>
> I am now trying to generate the Javadocs directly from the source code. I
> added the following section to my c:\geronimo-1.1.1_src\pom.xml file:
>
> <reporting>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-javadoc-plugin</artifactId>
> <configuration>
> <aggregate>true</aggregate>
> </configuration>
> </plugin>
> </plugins>
> </reporting>
>
> And then executed "mvn javadoc:javadoc" and also "mvn site" with no
> success in producing the Javadocs (output follows below). What am I
> missing?
>
>
> 1.1.1 builds with maven1, not maven2. You'll have to try modifying the
> project.xml and maven.xml files
>
> thanks
> david jencks
>
>
> Daniel.
>
>
>
Re: Javadocs for Geronimo 1.1.1?
Posted by David Jencks <da...@yahoo.com>.
On Dec 13, 2006, at 9:39 AM, Daniel Bloomfield Ramagem wrote:
> I downloaded the Geronimo 1.1.1 source code ZIP from the downloads
> page and I noticed that the Javadocs available on the main Apache
> Geronimo website don't match up to version 1.1.1 ( http://
> geronimo.apache.org/api/index.html), is this correct?
>
> I am now trying to generate the Javadocs directly from the source
> code. I added the following section to my c:\geronimo-1.1.1_src
> \pom.xml file:
>
> <reporting>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-javadoc-plugin</artifactId>
> <configuration>
> <aggregate>true</aggregate>
> </configuration>
> </plugin>
> </plugins>
> </reporting>
>
> And then executed "mvn javadoc:javadoc" and also "mvn site" with no
> success in producing the Javadocs (output follows below). What am
> I missing?
1.1.1 builds with maven1, not maven2. You'll have to try modifying
the project.xml and maven.xml files
thanks
david jencks
>
> Daniel.
>