[JBoss JIRA] Created: (JBAOP-447) maven plugin org.jboss.maven.plugins uses wrong location of target/classes
by Anders Andersen (JIRA)
maven plugin org.jboss.maven.plugins uses wrong location of target/classes
--------------------------------------------------------------------------
Key: JBAOP-447
URL: http://jira.jboss.com/jira/browse/JBAOP-447
Project: JBoss AOP
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: unix OSX 10.4.10
java 1.5
Reporter: Anders Andersen
the plugin uses target/classes as the location of classes.
This is wrong when you use mvn -f xxxxx/pom.xml clean process-classes
class: maven-jbossaop-plugin/src/main/java/org/jboss/maven/plugins/JBossAOPCMojo.java
code error ****
if(isTest())
cl.addArguments(new String[] { project.getBuild().getTestOutputDirectory()});
else
cl.addArguments(new String[] { "target/classes"});
better code******
if(isTest())
cl.addArguments(new String[] { project.getBuild().getTestOutputDirectory()});
else
cl.addArguments(new String[] { project.getBuild().getOutputDirectory()});
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 11 months
[JBoss JIRA] Created: (JBAOP-448) maven plugin org.jboss.maven.plugins cannot use include of classes
by Anders Andersen (JIRA)
maven plugin org.jboss.maven.plugins cannot use include of classes
------------------------------------------------------------------
Key: JBAOP-448
URL: http://jira.jboss.com/jira/browse/JBAOP-448
Project: JBoss AOP
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Environment: any maven2
Reporter: Anders Andersen
The ant target
<taskdef
name="aopc"
classname="org.jboss.aop.ant.AopC"
classpathref="jbossaop.task.classpath"/>
is cabable of including specific classes
Sample:
<aopc compilerclasspathref="aop.classpath" verbose="true">
<classpath refid="aopc.classpath"/>
<src path="${build.classes}"/>
<aoppath path="${build.resources}/portal-wsrp-sar/wsrp-aop.xml"/>
<include name="org/jboss/portal/wsrp/consumer/ConsumerRegistryService.class"/>
</aopc>
Sample of what it could look like in maven2
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jbossaop-plugin</artifactId>
<executions>
<execution>
<phase>process-classes</phase>
<configuration>
<aoppath>${basedir}/../portal-wsrp-sar/src/main/resources/wsrp-aop.xml</aoppath>
<verbose>true</verbose>
<includes>
<include>org/jboss/portal/wsrp/consumer/ConsumerRegistryService.class</include>
</includes>
</configuration>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 11 months
[JBoss JIRA] Created: (JBRULES-1035) Deploy sources jars on mvn deploy
by Geoffrey De Smet (JIRA)
Deploy sources jars on mvn deploy
---------------------------------
Key: JBRULES-1035
URL: http://jira.jboss.com/jira/browse/JBRULES-1035
Project: JBoss Rules
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.0.0.GA
Reporter: Geoffrey De Smet
Assigned To: Mark Proctor
Priority: Minor
Fix For: 4.0.1
Attachments: sources.patch
Because the maven-source-plugin isn't attached to the default lifecylce, you need to explicitly link it in <plugins>.
Hope this changes for maven 2.1.
I also added test-jar sources :)
In the parent pom I changed this:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.0.2</version>
<executions>
<execution>
<goals>
<goal>jar</goal>
+ <goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
...
</pluginManagement>
<plugins>
+ <plugin>
+ <!-- Entry needed to create, install and deploy sources jars -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ </plugin>
</plugins>
</build>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 11 months
[JBoss JIRA] Created: (JBCACHE-1088) problem with tests in examples/PojoCache
by Prabhat Jha (JIRA)
problem with tests in examples/PojoCache
----------------------------------------
Key: JBCACHE-1088
URL: http://jira.jboss.com/jira/browse/JBCACHE-1088
Project: JBoss Cache
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: PojoCache
Affects Versions: 2.0.0.CR2
Reporter: Prabhat Jha
Assigned To: Manik Surtani
Fix For: 2.0.0.CR3
Running tests in examples/PojoCache has some failures and errors.
JBossCache-all-2.0.0.CR2/examples/PojoCache/loadtime - Error
java.lang.Exception: Don't know how to marshall object of type class examples.Student
JBossCache-all-2.0.0.CR2/examples/PojoCache/non-annotated - Error
javassist.NotFoundException: org.jboss.cache.pojo.observable.SubjectImpl
JBossCache-all-2.0.0.CR2/examples/PojoCache/passivation - Error
./build.sh compile fails with
test.examples.StudentMaintTest.MyCacheListener is not abstract and does not override abstract method nodePassivated(org.jboss.cache.Fqn,boolean,java.util.Map<java.lang.Object,java.lang.Object>) in
org.jboss.cache.CacheListener
[javac] public class MyCacheListener implements CacheListener
[javac] ^
[javac] 1 error
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 11 months
[JBoss JIRA] Created: (JBCACHE-846) PojoCache 2.0 key features
by Ben Wang (JIRA)
PojoCache 2.0 key features
--------------------------
Key: JBCACHE-846
URL: http://jira.jboss.com/jira/browse/JBCACHE-846
Project: JBoss Cache
Issue Type: Task
Security Level: Public (Everyone can see)
Components: PojoCache
Reporter: Ben Wang
Assigned To: Manik Surtani
Priority: Minor
Fix For: 2.0.0.GA
Manik, FYI, followings are the key features for PojoCache 2.0. When do the announcement later, please include them in. Thanks! -Ben
Key PojoCache 2.0 features:
1. Supports replicated POJO field as Enum class (JBCACHE-619)
2. Option to replicate POJO final field (JBCACHE-839)
3. Support JDK5.0 only
4. PojoCache provides MBean interface (JBCACHE-783)
5. Uses a pojocache-aop.xml for configuration (JBCACHE-780)
6. Handle complete rollback of POJO field operation under transaction if needed (JBCACHE-723)
7. PojoCache to throw PojoCacheException only runtime exception (JBCACHE-700)
8. Interceptor based architecture to allow easy customization (JBCACHE-588)
9. PojoCache now uses Cache as a delegate (JBCACHE-673)
10. PojoCache event listener (JBCACHE-85)
11. During passivation, PojoCache now lazily loads the individual POJO.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 11 months