2009/5/8 David Leangen <op...@leangen.net>

>
> Hello!
>
> I'm using maven-pax-plugin v 1.4.
>
> This is what I have in my pom file:
>
>  <build>
>    <plugins>
>      <plugin>
>        <groupId>org.ops4j</groupId>
>        <artifactId>maven-pax-plugin</artifactId>
>        <executions>
>          <execution>
>            <id>ide-support</id>
>            <goals>
>              <goal>eclipse</goal>
>            </goals>
>          </execution>
>        </executions>
>      </plugin>
>    </plugins>
>  </build>
>
> When I run mvn clean install, the pax:eclipse goal gets executed. However,
> files are not copied to my target/pax-eclipse folder.
>

this behaviour was specifically requested by another user:

   http://issues.ops4j.org/browse/PAXCONSTRUCT-61

the only files in "target/pax-eclipse" will be embedded/inlined files _not_
found in "target/classes"


> If I later run mvn pax:clean pax:eclipse, then the files get embedded.
>

yes, because clean removes files from "target/classes" and because you don't
do a compile
or install then they aren't replaced - therefore "target/pax-eclipse" will
contain the difference,
ie. the entire contents of the bundle


> How can I ensure that the files get embedded during a regular build (i.e.
> so I don't have to build twice).
>

one thing you forgot to mention: _why_ do you need these files in
"target/pax-eclipse" ?

this folder is only needed to keep PDE happy, you shouldn't need every
single file in it

Thanks!
> =David
> _______________________________________________
> general mailing list
> general@lists.ops4j.org
> http://lists.ops4j.org/mailman/listinfo/general
>

-- 
Cheers, Stuart
_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to