I was expecting it to understand the resources as listed in the pom this
plugin is configured in. 

Considering this is what the source plugin does with the java sources
and that the resources directory is something maven is expecting, this
(to me at least) seemed like a safe assumption.

And looking over the detailed and thorough documentation, I saw nothing
otherwise.

"This will retrieve the apache-jar-resource-bundle-1.0.jar from the
remote repositories specified in your POM, process each resource in the
bundle and deposit them in your projects $basedir/target/classes
directory."



-----Original Message-----
From: Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 22, 2007 2:33 PM
To: Maven Users List
Subject: Re: remote-resources

I'm not the original author of m-r-r-p but it seems likely to me that
you are simply using it wrong or assuming certain things about how it
should be used.

I think you are "supposed" to have a single project that contains only
the items you want to include in your remote-resources jar. So ie
you'd make a jar containing your checkstyle and cpd/pmd config files,
then use m-r-r-p to grab that resouce jar and use those config files
in your other projects.

What exactly were you expecting / assuming? That it would pick out
your resource files only and make yet another jar called
project-1.0.0-resources.jar?

Wayne

On 8/22/07, EJ Ciramella <[EMAIL PROTECTED]> wrote:
> I see things getting into our source and bin jars, but still, here's
my
> plugin config:
>
>           <plugin>
>             <artifactId>maven-remote-resources-plugin</artifactId>
>
>             <executions>
>               <execution>
>                 <goals>
>                   <goal>bundle</goal>
>                 </goals>
>               </execution>
>             </executions>
>             <configuration>
>                 <includes>
>                   <include>**/*</include>
>                 </includes>
>             </configuration>
>           </plugin>
>
> And I'm running "mvn remote-resources:bundle package" - and still I
> don't get a resource ONLY jar.  Am I missing something?
>
> -----Original Message-----
> From: Wayne Fay [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 22, 2007 12:42 PM
> To: Maven Users List
> Subject: Re: remote-resources
>
> I believe you will need to use "mvn remote-resouces:bundle package",
> or attach the bundle goal to a phase to have it invoked automatically.
>
> Bundle only makes the remote-resources.xml file, you still need to jar
> things up.
>
> Wayne
>
> On 8/22/07, EJ Ciramella <[EMAIL PROTECTED]> wrote:
> > I'm really interested in getting this working as currently, we have
> one
> > module that always has to build.
> >
> > What I don't see is how do these actually get jarred up or packaged
up
> > into some kind of distributable?
> >
> > Running "mvn remote-resources:bundle" just creates a manifest file
but
> > no archive for down loading.
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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


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

Reply via email to