You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Martin Marinschek <ma...@gmail.com> on 2006/09/11 20:31:55 UTC
Re: Source for anything in 1.1.4?
It would be easy to fix this - look into my recent addition to the pom.xml:
<plugin>
<artifactId>maven-idea-plugin</artifactId>
<version>2.0-beta-2-SNAPSHOT</version>
<configuration>
<jdkLevel>1.3</jdkLevel>
<useClassifiers>true</useClassifiers>
<linkModules>true</linkModules>
<neverLinkModules>myfaces-shared-core,myfaces-shared-impl,myfaces-shared-tomahawk,myfaces-shared-project</neverLinkModules>
<downloadSources>true</downloadSources>
</configuration>
</plugin>
with downloadSource=true, you will see the sources for the shared classes!
neverLinkModules is a small patch to the idea-plugin which is
currently situated on my pc only - I'm attaching the patch here if
anyone is interested; it will include all modules except the shared
module normally; only the shared module will be linked as a library.
This means you can work like normal, except with the shared code
(currently, everything is linked as a library). You need to checkout
the head version of the maven-idea-plugin from:
http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-idea-plugin
and build it locally for this to work.
regards,
Martin
On 9/11/06, Wendy Smoak <ws...@gmail.com> wrote:
> On 9/11/06, Thorbjørn Ravn Andersen <th...@gmail.com> wrote:
> > Wendy Smoak skrev den 11-09-2006 18:09:
> > >
> > > The shared code gets re-packaged at compile time, so the package name
> > > won't match exactly.
> > >
> > Would it be a big effort to release the sources corresponding to the
> > binaries when creating a new version?
>
> The MyFaces Core 1.1.4 release is currently being voted on, and it
> includes both binary and source distributions as well as -javadocs and
> -sources jars for the Maven repository.
>
> The situation with 'shared' is somewhat complicated. For example, I
> don't think 'mvn idea:idea' is going to pick up the -sources jar for
> shared without some intervention, but at least we'll make them
> available, and go from there.
>
> --
> Wendy
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces