On 29 May 2011 14:24, Niclas Hedhman <[email protected]> wrote:

> Maven 3.0.2
>
> I moved source files from one module to another. Then did the normal
> "mvn clean install". The moved classes are compiled but not packaged.
>
> Why is Maven always giving *me* the problems??
>
> #FAIL
>
> Anyone knows how to "reset" Maven, or can understand what the hell is
> happening??
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 6.360s
> [INFO] Finished at: Sun May 29 14:18:42 BST 2011
> [INFO] Final Memory: 12M/81M
> [INFO]
> ------------------------------------------------------------------------
> 187-12-17-86:pax-logging-api niclas$ find . -name PaxAppender* | grep -v
> \.svn
> ./src/main/java/org/ops4j/pax/logging/spi/PaxAppender.java
> ./target/classes/org/ops4j/pax/logging/spi/PaxAppender.class
>

Note that the BND instructions for the pax-logging-api project don't include
"org.ops4j.pax.logging.spi" as either a private or exported package, which
is why it's not in the bundle. If you're using a recent version of the
bundleplugin then it's probably easier to just remove the Private-Package
instruction, since the default value is now set to the local set of packages
compiled by the current project.

187-12-17-86:pax-logging-api niclas$ jar tf
> target/pax-logging-api-1.5.4-SNAPSHOT.jar | grep PaxAppender
> 187-12-17-86:pax-logging-api niclas$
>
>
> --
> Niclas Hedhman, Software Developer
> http://www.qi4j.org - New Energy for Java
>
> I live here; http://tinyurl.com/3xugrbk
> I work here; http://tinyurl.com/24svnvk
> I relax here; http://tinyurl.com/2cgsug
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>



-- 
Cheers, Stuart
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to